30 #ifndef IMPEXAMPLE_CONFIG_H
31 #define IMPEXAMPLE_CONFIG_H
33 #include <IMP/base/base_config.h>
39 #ifdef IMPEXAMPLE_EXPORTS
40 #define IMPEXAMPLEEXPORT __declspec(dllexport)
42 #define IMPEXAMPLEEXPORT __declspec(dllimport)
48 #define IMPEXAMPLEEXPORT __attribute__ ((visibility("default")))
49 #else // GCC_VISIBILITY
50 #define IMPEXAMPLEEXPORT
51 #endif // GCC_VISIBILITY
54 #if defined(_MSC_VER) && !defined(SWIG)
55 #ifdef IMPEXAMPLE_EXPORTS
57 #define IMPEXAMPLE_EXPORT_TEMPLATE(name) template class __declspec(dllexport) name
61 #define IMPEXAMPLE_EXPORT_TEMPLATE(name) template class __declspec(dllimport) name
66 #define IMPEXAMPLE_EXPORT_TEMPLATE(name) IMP_REQUIRE_SEMICOLON_NAMESPACE
68 #endif // MSC and SWIG
70 #if !defined(SWIG) && !defined(IMP_DOXYGEN)
72 #define IMPEXAMPLE_BEGIN_NAMESPACE \
73 IMP_COMPILER_ENABLE_WARNINGS \
74 namespace IMP { namespace example { \
76 #define IMPEXAMPLE_END_NAMESPACE \
78 IMP_COMPILER_DISABLE_WARNINGS
80 #define IMPEXAMPLE_BEGIN_INTERNAL_NAMESPACE \
81 IMPEXAMPLE_BEGIN_NAMESPACE namespace internal {
84 #define IMPEXAMPLE_END_INTERNAL_NAMESPACE \
85 } IMPEXAMPLE_END_NAMESPACE
88 #define IMPEXAMPLE_BEGIN_NAMESPACE \
89 namespace IMP { namespace example {
91 #define IMPEXAMPLE_END_NAMESPACE \
94 #define IMPEXAMPLE_BEGIN_INTERNAL_NAMESPACE \
95 IMPEXAMPLE_BEGIN_NAMESPACE namespace internal {
98 #define IMPEXAMPLE_END_INTERNAL_NAMESPACE \
99 } IMPEXAMPLE_END_NAMESPACE
103 #define IMP_EXAMPLE_USE_IMP_ALGEBRA
104 #define IMP_EXAMPLE_HAS_IMP_ALGEBRA 1
105 #define IMP_EXAMPLE_USE_IMP_BASE
106 #define IMP_EXAMPLE_HAS_IMP_BASE 1
107 #define IMP_EXAMPLE_USE_IMP_CGAL
108 #define IMP_EXAMPLE_HAS_IMP_CGAL 1
109 #define IMP_EXAMPLE_USE_IMP_DISPLAY
110 #define IMP_EXAMPLE_HAS_IMP_DISPLAY 1
111 #define IMP_EXAMPLE_USE_IMP_KERNEL
112 #define IMP_EXAMPLE_HAS_IMP_KERNEL 1
113 #define IMP_EXAMPLE_USE_IMP_RMF
114 #define IMP_EXAMPLE_HAS_IMP_RMF 1
115 #define IMP_EXAMPLE_USE_IMP_SCORE_FUNCTOR
116 #define IMP_EXAMPLE_HAS_IMP_SCORE_FUNCTOR 1
117 #define IMP_EXAMPLE_USE_IMP_STATISTICS
118 #define IMP_EXAMPLE_HAS_IMP_STATISTICS 1
119 #define IMP_EXAMPLE_USE_BOOST_FILESYSTEM
120 #define IMP_EXAMPLE_HAS_BOOST_FILESYSTEM 1
121 #define IMP_EXAMPLE_USE_BOOST_GRAPH
122 #define IMP_EXAMPLE_HAS_BOOST_GRAPH 1
123 #define IMP_EXAMPLE_USE_BOOST_PROGRAMOPTIONS
124 #define IMP_EXAMPLE_HAS_BOOST_PROGRAMOPTIONS 1
125 #define IMP_EXAMPLE_USE_BOOST_RANDOM
126 #define IMP_EXAMPLE_HAS_BOOST_RANDOM 1
127 #define IMP_EXAMPLE_USE_BOOST_REGEX
128 #define IMP_EXAMPLE_HAS_BOOST_REGEX 1
129 #define IMP_EXAMPLE_USE_BOOST_SYSTEM
130 #define IMP_EXAMPLE_HAS_BOOST_SYSTEM 1
131 #define IMP_EXAMPLE_USE_CGAL
132 #define IMP_EXAMPLE_HAS_CGAL 1
133 #define IMP_EXAMPLE_USE_HDF5
134 #define IMP_EXAMPLE_HAS_HDF5 1
135 #define IMP_EXAMPLE_USE_RMF
136 #define IMP_EXAMPLE_HAS_RMF 1
137 #define IMP_EXAMPLE_NO_EXAMPLEDEPENDENCY
138 #define IMP_EXAMPLE_HAS_EXAMPLEDEPENDENCY 0
142 namespace IMP {
namespace example {
149 IMPEXAMPLEEXPORT std::string get_module_version();
154 inline std::string get_module_name() {
155 return "IMP::example";
161 #if !defined(IMP_DOXYGEN) && !defined(SWIG)
166 namespace IMP {
namespace example {
167 using ::IMP::base::Showable;
168 using ::IMP::base::operator<<;
169 using ::IMP::base::hash_value;
171 namespace IMP {
namespace example {
namespace internal {
172 using ::IMP::base::Showable;
173 using ::IMP::base::operator<<;
174 using ::IMP::base::hash_value;
177 #endif // !defined(SWIG) && !defined(IMP_DOXYGEN)
182 namespace IMP {
namespace example {
195 IMPEXAMPLEEXPORT std::string
get_data_path(std::string file_name);