30 #ifndef IMPATOM_CONFIG_H
31 #define IMPATOM_CONFIG_H
33 #include <IMP/base/base_config.h>
39 #ifdef IMPATOM_EXPORTS
40 #define IMPATOMEXPORT __declspec(dllexport)
42 #define IMPATOMEXPORT __declspec(dllimport)
48 #define IMPATOMEXPORT __attribute__ ((visibility("default")))
49 #else // GCC_VISIBILITY
51 #endif // GCC_VISIBILITY
54 #if defined(_MSC_VER) && !defined(SWIG)
55 #ifdef IMPATOM_EXPORTS
57 #define IMPATOM_EXPORT_TEMPLATE(name) template class __declspec(dllexport) name
61 #define IMPATOM_EXPORT_TEMPLATE(name) template class __declspec(dllimport) name
66 #define IMPATOM_EXPORT_TEMPLATE(name) IMP_REQUIRE_SEMICOLON_NAMESPACE
68 #endif // MSC and SWIG
70 #if !defined(SWIG) && !defined(IMP_DOXYGEN)
72 #define IMPATOM_BEGIN_NAMESPACE \
73 IMP_COMPILER_ENABLE_WARNINGS \
74 namespace IMP { namespace atom { \
76 #define IMPATOM_END_NAMESPACE \
78 IMP_COMPILER_DISABLE_WARNINGS
80 #define IMPATOM_BEGIN_INTERNAL_NAMESPACE \
81 IMPATOM_BEGIN_NAMESPACE namespace internal {
84 #define IMPATOM_END_INTERNAL_NAMESPACE \
85 } IMPATOM_END_NAMESPACE
88 #define IMPATOM_BEGIN_NAMESPACE \
89 namespace IMP { namespace atom {
91 #define IMPATOM_END_NAMESPACE \
94 #define IMPATOM_BEGIN_INTERNAL_NAMESPACE \
95 IMPATOM_BEGIN_NAMESPACE namespace internal {
98 #define IMPATOM_END_INTERNAL_NAMESPACE \
99 } IMPATOM_END_NAMESPACE
103 #define IMP_ATOM_USE_IMP_BASE
104 #define IMP_ATOM_HAS_IMP_BASE 1
105 #define IMP_ATOM_USE_IMP_CGAL
106 #define IMP_ATOM_HAS_IMP_CGAL 1
107 #define IMP_ATOM_USE_IMP_KERNEL
108 #define IMP_ATOM_HAS_IMP_KERNEL 1
109 #define IMP_ATOM_USE_IMP_SCORE_FUNCTOR
110 #define IMP_ATOM_HAS_IMP_SCORE_FUNCTOR 1
111 #define IMP_ATOM_USE_BOOST_PROGRAMOPTIONS
112 #define IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS 1
113 #define IMP_ATOM_USE_BOOST_RANDOM
114 #define IMP_ATOM_HAS_BOOST_RANDOM 1
115 #define IMP_ATOM_USE_BOOST_REGEX
116 #define IMP_ATOM_HAS_BOOST_REGEX 1
117 #define IMP_ATOM_USE_BOOST_SYSTEM
118 #define IMP_ATOM_HAS_BOOST_SYSTEM 1
119 #define IMP_ATOM_USE_CGAL
120 #define IMP_ATOM_HAS_CGAL 1
124 namespace IMP {
namespace atom {
131 IMPATOMEXPORT std::string get_module_version();
136 inline std::string get_module_name() {
143 #if !defined(IMP_DOXYGEN) && !defined(SWIG)
148 namespace IMP {
namespace atom {
149 using ::IMP::base::Showable;
150 using ::IMP::base::operator<<;
151 using ::IMP::base::hash_value;
153 namespace IMP {
namespace atom {
namespace internal {
154 using ::IMP::base::Showable;
155 using ::IMP::base::operator<<;
156 using ::IMP::base::hash_value;
159 #endif // !defined(SWIG) && !defined(IMP_DOXYGEN)
164 namespace IMP {
namespace atom {
177 IMPATOMEXPORT std::string
get_data_path(std::string file_name);