30 #ifndef IMPALGEBRA_CONFIG_H
31 #define IMPALGEBRA_CONFIG_H
33 #include <IMP/base/base_config.h>
39 #ifdef IMPALGEBRA_EXPORTS
40 #define IMPALGEBRAEXPORT __declspec(dllexport)
42 #define IMPALGEBRAEXPORT __declspec(dllimport)
48 #define IMPALGEBRAEXPORT __attribute__ ((visibility("default")))
49 #else // GCC_VISIBILITY
50 #define IMPALGEBRAEXPORT
51 #endif // GCC_VISIBILITY
54 #if defined(_MSC_VER) && !defined(SWIG)
55 #ifdef IMPALGEBRA_EXPORTS
57 #define IMPALGEBRA_EXPORT_TEMPLATE(name) template class __declspec(dllexport) name
61 #define IMPALGEBRA_EXPORT_TEMPLATE(name) template class __declspec(dllimport) name
66 #define IMPALGEBRA_EXPORT_TEMPLATE(name) IMP_REQUIRE_SEMICOLON_NAMESPACE
68 #endif // MSC and SWIG
70 #if !defined(SWIG) && !defined(IMP_DOXYGEN)
72 #define IMPALGEBRA_BEGIN_NAMESPACE \
73 IMP_COMPILER_ENABLE_WARNINGS \
74 namespace IMP { namespace algebra { \
76 #define IMPALGEBRA_END_NAMESPACE \
78 IMP_COMPILER_DISABLE_WARNINGS
80 #define IMPALGEBRA_BEGIN_INTERNAL_NAMESPACE \
81 IMPALGEBRA_BEGIN_NAMESPACE namespace internal {
84 #define IMPALGEBRA_END_INTERNAL_NAMESPACE \
85 } IMPALGEBRA_END_NAMESPACE
88 #define IMPALGEBRA_BEGIN_NAMESPACE \
89 namespace IMP { namespace algebra {
91 #define IMPALGEBRA_END_NAMESPACE \
94 #define IMPALGEBRA_BEGIN_INTERNAL_NAMESPACE \
95 IMPALGEBRA_BEGIN_NAMESPACE namespace internal {
98 #define IMPALGEBRA_END_INTERNAL_NAMESPACE \
99 } IMPALGEBRA_END_NAMESPACE
103 #define IMP_ALGEBRA_USE_IMP_CGAL
104 #define IMP_ALGEBRA_HAS_IMP_CGAL 1
105 #define IMP_ALGEBRA_USE_BOOST_FILESYSTEM
106 #define IMP_ALGEBRA_HAS_BOOST_FILESYSTEM 1
107 #define IMP_ALGEBRA_USE_BOOST_PROGRAMOPTIONS
108 #define IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS 1
109 #define IMP_ALGEBRA_USE_BOOST_RANDOM
110 #define IMP_ALGEBRA_HAS_BOOST_RANDOM 1
111 #define IMP_ALGEBRA_USE_BOOST_SYSTEM
112 #define IMP_ALGEBRA_HAS_BOOST_SYSTEM 1
113 #define IMP_ALGEBRA_USE_CGAL
114 #define IMP_ALGEBRA_HAS_CGAL 1
115 #define IMP_ALGEBRA_NO_ANN
116 #define IMP_ALGEBRA_HAS_ANN 0
120 namespace IMP {
namespace algebra {
127 IMPALGEBRAEXPORT std::string get_module_version();
132 inline std::string get_module_name() {
133 return "IMP::algebra";
139 #if !defined(IMP_DOXYGEN) && !defined(SWIG)
144 namespace IMP {
namespace algebra {
145 using ::IMP::base::Showable;
146 using ::IMP::base::operator<<;
147 using ::IMP::base::hash_value;
149 namespace IMP {
namespace algebra {
namespace internal {
150 using ::IMP::base::Showable;
151 using ::IMP::base::operator<<;
152 using ::IMP::base::hash_value;
155 #endif // !defined(SWIG) && !defined(IMP_DOXYGEN)
160 namespace IMP {
namespace algebra {
173 IMPALGEBRAEXPORT std::string
get_data_path(std::string file_name);