29 #ifndef IMPINTEGRATIVEDOCKING_CONFIG_H
30 #define IMPINTEGRATIVEDOCKING_CONFIG_H
32 #include <IMP/base/base_config.h>
37 #ifdef IMPINTEGRATIVEDOCKING_EXPORTS
38 #define IMPINTEGRATIVEDOCKINGEXPORT __declspec(dllexport)
40 #define IMPINTEGRATIVEDOCKINGEXPORT __declspec(dllimport)
46 #define IMPINTEGRATIVEDOCKINGEXPORT __attribute__((visibility("default")))
47 #else // GCC_VISIBILITY
48 #define IMPINTEGRATIVEDOCKINGEXPORT
49 #endif // GCC_VISIBILITY
53 #if defined(_MSC_VER) && !defined(SWIG)
54 #ifdef IMPINTEGRATIVEDOCKING_EXPORTS
56 #define IMPINTEGRATIVEDOCKING_EXPORT_TEMPLATE(name) \
57 template class __declspec(dllexport) name
61 #define IMPINTEGRATIVEDOCKING_EXPORT_TEMPLATE(name) \
62 template class __declspec(dllimport) name
67 #define IMPINTEGRATIVEDOCKING_EXPORT_TEMPLATE(name) IMP_REQUIRE_SEMICOLON_NAMESPACE
69 #endif // MSC and SWIG
71 #if !defined(SWIG) && !defined(IMP_DOXYGEN)
73 #define IMPINTEGRATIVEDOCKING_BEGIN_NAMESPACE \
74 IMP_COMPILER_ENABLE_WARNINGS namespace IMP{namespace integrative_docking {
76 #define IMPINTEGRATIVEDOCKING_END_NAMESPACE } } \
77 IMP_COMPILER_DISABLE_WARNINGS
79 #define IMPINTEGRATIVEDOCKING_BEGIN_INTERNAL_NAMESPACE IMPINTEGRATIVEDOCKING_BEGIN_NAMESPACE \
82 #define IMPINTEGRATIVEDOCKING_END_INTERNAL_NAMESPACE } IMPINTEGRATIVEDOCKING_END_NAMESPACE
84 #else // SWIG and DOXYGEN
85 #define IMPINTEGRATIVEDOCKING_BEGIN_NAMESPACE namespace IMP{namespace integrative_docking {
87 #define IMPINTEGRATIVEDOCKING_END_NAMESPACE } }
89 #define IMPINTEGRATIVEDOCKING_BEGIN_INTERNAL_NAMESPACE IMPINTEGRATIVEDOCKING_BEGIN_NAMESPACE\
92 #define IMPINTEGRATIVEDOCKING_END_INTERNAL_NAMESPACE } IMPINTEGRATIVEDOCKING_END_NAMESPACE
94 #endif // SWIG AND DOXYGEN
96 #define IMP_INTEGRATIVE_DOCKING_USE_IMP_ALGEBRA
97 #define IMP_INTEGRATIVE_DOCKING_HAS_IMP_ALGEBRA 1
98 #define IMP_INTEGRATIVE_DOCKING_USE_IMP_ATOM
99 #define IMP_INTEGRATIVE_DOCKING_HAS_IMP_ATOM 1
100 #define IMP_INTEGRATIVE_DOCKING_USE_IMP_BASE
101 #define IMP_INTEGRATIVE_DOCKING_HAS_IMP_BASE 1
102 #define IMP_INTEGRATIVE_DOCKING_USE_IMP_CGAL
103 #define IMP_INTEGRATIVE_DOCKING_HAS_IMP_CGAL 1
104 #define IMP_INTEGRATIVE_DOCKING_USE_IMP_CONTAINER
105 #define IMP_INTEGRATIVE_DOCKING_HAS_IMP_CONTAINER 1
106 #define IMP_INTEGRATIVE_DOCKING_USE_IMP_CORE
107 #define IMP_INTEGRATIVE_DOCKING_HAS_IMP_CORE 1
108 #define IMP_INTEGRATIVE_DOCKING_USE_IMP_DISPLAY
109 #define IMP_INTEGRATIVE_DOCKING_HAS_IMP_DISPLAY 1
110 #define IMP_INTEGRATIVE_DOCKING_USE_IMP_DOMINO
111 #define IMP_INTEGRATIVE_DOCKING_HAS_IMP_DOMINO 1
112 #define IMP_INTEGRATIVE_DOCKING_USE_IMP_GSL
113 #define IMP_INTEGRATIVE_DOCKING_HAS_IMP_GSL 1
114 #define IMP_INTEGRATIVE_DOCKING_USE_IMP_KERNEL
115 #define IMP_INTEGRATIVE_DOCKING_HAS_IMP_KERNEL 1
116 #define IMP_INTEGRATIVE_DOCKING_USE_IMP_RMF
117 #define IMP_INTEGRATIVE_DOCKING_HAS_IMP_RMF 1
118 #define IMP_INTEGRATIVE_DOCKING_USE_IMP_SCORE_FUNCTOR
119 #define IMP_INTEGRATIVE_DOCKING_HAS_IMP_SCORE_FUNCTOR 1
120 #define IMP_INTEGRATIVE_DOCKING_USE_IMP_STATISTICS
121 #define IMP_INTEGRATIVE_DOCKING_HAS_IMP_STATISTICS 1
122 #define IMP_INTEGRATIVE_DOCKING_USE_BOOST_FILESYSTEM
123 #define IMP_INTEGRATIVE_DOCKING_HAS_BOOST_FILESYSTEM 1
124 #define IMP_INTEGRATIVE_DOCKING_USE_BOOST_GRAPH
125 #define IMP_INTEGRATIVE_DOCKING_HAS_BOOST_GRAPH 1
126 #define IMP_INTEGRATIVE_DOCKING_USE_BOOST_RANDOM
127 #define IMP_INTEGRATIVE_DOCKING_HAS_BOOST_RANDOM 1
128 #define IMP_INTEGRATIVE_DOCKING_USE_BOOST_REGEX
129 #define IMP_INTEGRATIVE_DOCKING_HAS_BOOST_REGEX 1
130 #define IMP_INTEGRATIVE_DOCKING_USE_BOOST_SYSTEM
131 #define IMP_INTEGRATIVE_DOCKING_HAS_BOOST_SYSTEM 1
132 #define IMP_INTEGRATIVE_DOCKING_USE_CGAL
133 #define IMP_INTEGRATIVE_DOCKING_HAS_CGAL 1
134 #define IMP_INTEGRATIVE_DOCKING_USE_FFTW3
135 #define IMP_INTEGRATIVE_DOCKING_HAS_FFTW3 1
136 #define IMP_INTEGRATIVE_DOCKING_USE_GSL
137 #define IMP_INTEGRATIVE_DOCKING_HAS_GSL 1
138 #define IMP_INTEGRATIVE_DOCKING_USE_HDF5
139 #define IMP_INTEGRATIVE_DOCKING_HAS_HDF5 1
140 #define IMP_INTEGRATIVE_DOCKING_USE_OPENCV22
141 #define IMP_INTEGRATIVE_DOCKING_HAS_OPENCV22 1
142 #define IMP_INTEGRATIVE_DOCKING_USE_RMF
143 #define IMP_INTEGRATIVE_DOCKING_HAS_RMF 1
147 namespace integrative_docking {
154 IMPINTEGRATIVEDOCKINGEXPORT std::string get_module_version();
159 inline std::string get_module_name() {
return "IMP::integrative_docking"; }
174 IMPINTEGRATIVEDOCKINGEXPORT std::string
get_data_path(std::string file_name);
190 IMPINTEGRATIVEDOCKINGEXPORT std::string
get_example_path(std::string file_name);
198 #if !defined(IMP_DOXYGEN) && !defined(SWIG)
203 namespace IMP {
namespace integrative_docking {
204 using ::IMP::base::Showable;
205 using ::IMP::base::operator<<;
206 using ::IMP::base::hash_value;
208 namespace IMP {
namespace integrative_docking {
namespace internal {
209 using ::IMP::base::Showable;
210 using ::IMP::base::operator<<;
211 using ::IMP::base::hash_value;
214 #endif // !defined(SWIG) && !defined(IMP_DOXYGEN)
223 #ifdef IMPINTEGRATIVEDOCKING_DEPRECATED_HEADER
224 #undef IMPINTEGRATIVEDOCKING_DEPRECATED_HEADER
225 #undef IMPINTEGRATIVEDOCKING_DEPRECATED_VALUE_DEF
226 #undef IMPINTEGRATIVEDOCKING_DEPRECATED_VALUE_DECL
227 #undef IMPINTEGRATIVEDOCKING_DEPRECATED_OBJECT_DEF
228 #undef IMPINTEGRATIVEDOCKING_DEPRECATED_OBJECT_DECL
229 #undef IMPINTEGRATIVEDOCKING_DEPRECATED_FUNCTION_DEF
230 #undef IMPINTEGRATIVEDOCKING_DEPRECATED_FUNCTION_DECL
231 #undef IMPINTEGRATIVEDOCKING_DEPRECATED_METHOD_DEF
232 #undef IMPINTEGRATIVEDOCKING_DEPRECATED_METHOD_DECL
233 #undef IMPINTEGRATIVEDOCKING_DEPRECATED_MACRO
234 #undef IMPINTEGRATIVEDOCKING_SHOW_WARNINGS
238 #if defined( IMPINTEGRATIVEDOCKING_COMPILATION) \
239 || defined(SWIG) || defined(IMP_SWIG_WRAPPER) \
240 || defined( IMPINTEGRATIVEDOCKING_ALL) || defined(IMP_DOXYGEN) \
241 || defined(IMPBASE_COMPILATION) || defined(IMPKERNEL_COMPILATION) \
242 || defined(IMPCORE_COMPILATION) || defined(IMPATOM_COMPILATION) \
243 || defined(IMPSTATISTICS_COMPILATION) || defined(IMPDOMINO_COMPILATION) \
244 || defined(IMPCONTAINER_COMPILATION) || defined(IMPDISPLAY_COMPILATION) \
245 || defined(IMPSCOREFUNCTOR_COMPILATION) || defined(IMPRMF_COMPILATION) \
246 || defined(IMPGSL_COMPILATION)
247 #define IMPINTEGRATIVEDOCKING_SHOW_WARNINGS 0
249 #define IMPINTEGRATIVEDOCKING_SHOW_WARNINGS 1
253 #if IMPINTEGRATIVEDOCKING_SHOW_WARNINGS
254 #define IMPINTEGRATIVEDOCKING_DEPRECATED_HEADER(version, help_message) \
255 IMP_PRAGMA(message(__FILE__ " is deprecated: " help_message))
256 #define IMPINTEGRATIVEDOCKING_DEPRECATED_VALUE_DECL(version) \
257 IMP_DEPRECATED_ATTRIBUTE
258 #define IMPINTEGRATIVEDOCKING_DEPRECATED_OBJECT_DECL(version) \
259 IMP_DEPRECATED_ATTRIBUTE
260 #define IMPINTEGRATIVEDOCKING_DEPRECATED_FUNCTION_DECL(version) \
261 IMP_DEPRECATED_ATTRIBUTE
262 #define IMPINTEGRATIVEDOCKING_DEPRECATED_METHOD_DECL(version) \
263 IMP_DEPRECATED_ATTRIBUTE
265 #else //IMPINTEGRATIVEDOCKING_SHOW_WARNINGS
267 #define IMPINTEGRATIVEDOCKING_DEPRECATED_HEADER(version, help_message) \
269 #define IMPINTEGRATIVEDOCKING_DEPRECATED_VALUE_DECL(version)
271 #define IMPINTEGRATIVEDOCKING_DEPRECATED_OBJECT_DECL(version)
273 #define IMPINTEGRATIVEDOCKING_DEPRECATED_FUNCTION_DECL(version)
275 #define IMPINTEGRATIVEDOCKING_DEPRECATED_METHOD_DECL(version)
277 #endif // IMPINTEGRATIVEDOCKING_SHOW_WARNINGS
280 #if !defined(IMP_ALL) || defined(SWIG) || defined(IMP_DOXYGEN) \
281 || defined(IMPBASE_COMPILATION) || defined(IMPKERNEL_COMPILATION) \
282 || defined(IMPCORE_COMPILATION) || defined(IMPATOM_COMPILATION) \
283 || defined(IMPSTATISTICS_COMPILATION) || defined(IMPDOMINO_COMPILATION) \
284 || defined(IMPCONTAINER_COMPILATION) || defined(IMPDISPLAY_COMPILATION) \
285 || defined(IMPSCOREFUNCTOR_COMPILATION)
287 #define IMPINTEGRATIVEDOCKING_DEPRECATED_MACRO(version, message)
290 #define IMPINTEGRATIVEDOCKING_DEPRECATED_MACRO(version, message) \
291 IMP_DEPRECATED_MACRO(version, message)
295 #define IMPINTEGRATIVEDOCKING_DEPRECATED_VALUE_DEF(version, message) \
296 IMP_DEPRECATED_VALUE_RUNTIME_WARNING(version, message)
299 #define IMPINTEGRATIVEDOCKING_DEPRECATED_OBJECT_DEF(version, message) \
300 IMP_DEPRECATED_OBJECT_RUNTIME_WARNING(version, message)
303 #define IMPINTEGRATIVEDOCKING_DEPRECATED_FUNCTION_DEF(version, message) \
304 IMP_DEPRECATED_FUNCTION_RUNTIME_WARNING(version, message)
307 #define IMPINTEGRATIVEDOCKING_DEPRECATED_METHOD_DEF(version, message) \
308 IMP_DEPRECATED_METHOD_RUNTIME_WARNING(version, message)
313 #if defined(IMP_EXECUTABLE) && !defined(IMP_EXECUTABLE_WARNINGS)
314 IMP_COMPILER_ENABLE_WARNINGS
315 #define IMP_EXECUTABLE_WARNINGS
std::string get_data_path(std::string file_name)
Return the full path to installed data.
Various compiler workarounds.
std::string get_example_path(std::string file_name)
Return the path to installed example data for this module.