Cambridge SMT System
global_incls.hpp
Go to the documentation of this file.
1 // Licensed under the Apache License, Version 2.0 (the "License");
2 // you may not use these files except in compliance with the License.
3 // You may obtain a copy of the License at
4 //
5 // http://www.apache.org/licenses/LICENSE-2.0
6 //
7 // Unless required by applicable law or agreed to in writing, software
8 // distributed under the License is distributed on an "AS IS" BASIS,
9 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 // See the License for the specific language governing permissions and
11 // limitations under the License.
12 
13 // Copyright 2012 - Gonzalo Iglesias, AdriĆ  de Gispert, William Byrne
14 
21 #ifndef GLOBAL_INCLUDE_HPP
22 #define GLOBAL_INCLUDE_HPP
23 
24 #include <typeinfo>
25 #include <cmath>
26 #include <cstdlib>
27 #include <iostream>
28 #include <fstream>
29 #include <string>
30 #include <vector>
31 #include <list>
32 #include <deque>
33 #include <sstream>
34 #include <ostream>
35 #include <set>
36 #include <map>
37 #include <queue>
38 #include <limits>
39 #include <iomanip>
40 #include <algorithm>
41 #include <memory>
42 
43 #include <unordered_map>
44 #include <unordered_set>
45 
46 #ifndef OSR
47 //#define USE_GOOGLE_SPARSE_HASH
48 #endif
49 
50 #ifdef USE_GOOGLE_SPARSE_HASH
51 #include <google/sparse_hash_set>
52 #include <google/sparse_hash_map>
53 #include <google/dense_hash_set>
54 #include <google/dense_hash_map>
55 #endif
56 
57 #include <sys/types.h>
58 #include <unistd.h>
59 #include <stdlib.h>
60 #include <sys/time.h>
61 #include <signal.h>
62 #include <time.h>
63 #include <sys/timeb.h>
64 
65 #include <math.h>
66 #include <time.h>
67 #include <stdlib.h>
68 #include <stdio.h>
69 #include <string.h>
70 
71 #include <sys/types.h>
72 #include <sys/socket.h>
73 #include <netinet/in.h>
74 #include <netdb.h>
75 
76 #include <boost/shared_ptr.hpp>
77 #include <boost/make_shared.hpp>
78 
79 #include <boost/algorithm/string.hpp>
80 #include <boost/algorithm/string/split.hpp>
81 #include <boost/algorithm/string/trim.hpp>
82 #include <boost/algorithm/string/join.hpp>
83 #include <boost/regex.hpp>
84 #include <boost/any.hpp>
85 #include <boost/program_options.hpp>
86 #include <boost/filesystem/operations.hpp>
87 
88 #include <boost/iostreams/filtering_streambuf.hpp>
89 #include <boost/iostreams/copy.hpp>
90 #include <boost/iostreams/filter/gzip.hpp>
91 
92 #ifdef USE_BOOSTLOG
93 
94 #include <boost/log/core.hpp>
95 #include <boost/log/trivial.hpp>
96 
97 #include <boost/log/common.hpp>
98 
99 #include <boost/log/attributes/timer.hpp>
100 
101 #include <boost/log/expressions.hpp>
102 #include <boost/log/sinks/text_file_backend.hpp>
103 #include <boost/log/utility/setup/file.hpp>
104 #include <boost/log/utility/setup/common_attributes.hpp>
105 #include <boost/log/sources/severity_logger.hpp>
106 #include <boost/log/sources/record_ostream.hpp>
107 
108 #endif
109 
110 #include <cstdlib>
111 #include <iostream>
112 #include <boost/bind.hpp>
113 #include <boost/smart_ptr.hpp>
114 
115 #include <boost/thread.hpp>
116 #include <boost/asio.hpp>
117 
118 #endif