30 #ifndef IMPSAXS_CONFIG_H
31 #define IMPSAXS_CONFIG_H
33 #include <IMP/base/base_config.h>
39 #ifdef IMPSAXS_EXPORTS
40 #define IMPSAXSEXPORT __declspec(dllexport)
42 #define IMPSAXSEXPORT __declspec(dllimport)
48 #define IMPSAXSEXPORT __attribute__ ((visibility("default")))
49 #else // GCC_VISIBILITY
51 #endif // GCC_VISIBILITY
54 #if defined(_MSC_VER) && !defined(SWIG)
55 #ifdef IMPSAXS_EXPORTS
57 #define IMPSAXS_EXPORT_TEMPLATE(name) template class __declspec(dllexport) name
61 #define IMPSAXS_EXPORT_TEMPLATE(name) template class __declspec(dllimport) name
66 #define IMPSAXS_EXPORT_TEMPLATE(name) IMP_REQUIRE_SEMICOLON_NAMESPACE
68 #endif // MSC and SWIG
70 #if !defined(SWIG) && !defined(IMP_DOXYGEN)
72 #define IMPSAXS_BEGIN_NAMESPACE \
73 IMP_COMPILER_ENABLE_WARNINGS \
74 namespace IMP { namespace saxs { \
76 #define IMPSAXS_END_NAMESPACE \
78 IMP_COMPILER_DISABLE_WARNINGS
80 #define IMPSAXS_BEGIN_INTERNAL_NAMESPACE \
81 IMPSAXS_BEGIN_NAMESPACE namespace internal {
84 #define IMPSAXS_END_INTERNAL_NAMESPACE \
85 } IMPSAXS_END_NAMESPACE
88 #define IMPSAXS_BEGIN_NAMESPACE \
89 namespace IMP { namespace saxs {
91 #define IMPSAXS_END_NAMESPACE \
94 #define IMPSAXS_BEGIN_INTERNAL_NAMESPACE \
95 IMPSAXS_BEGIN_NAMESPACE namespace internal {
98 #define IMPSAXS_END_INTERNAL_NAMESPACE \
99 } IMPSAXS_END_NAMESPACE
103 #define IMP_SAXS_USE_IMP_BASE
104 #define IMP_SAXS_HAS_IMP_BASE 1
105 #define IMP_SAXS_USE_IMP_CGAL
106 #define IMP_SAXS_HAS_IMP_CGAL 1
107 #define IMP_SAXS_USE_IMP_CONTAINER
108 #define IMP_SAXS_HAS_IMP_CONTAINER 1
109 #define IMP_SAXS_USE_IMP_DISPLAY
110 #define IMP_SAXS_HAS_IMP_DISPLAY 1
111 #define IMP_SAXS_USE_IMP_KERNEL
112 #define IMP_SAXS_HAS_IMP_KERNEL 1
113 #define IMP_SAXS_USE_IMP_SCORE_FUNCTOR
114 #define IMP_SAXS_HAS_IMP_SCORE_FUNCTOR 1
115 #define IMP_SAXS_USE_BOOST_FILESYSTEM
116 #define IMP_SAXS_HAS_BOOST_FILESYSTEM 1
117 #define IMP_SAXS_USE_BOOST_PROGRAMOPTIONS
118 #define IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS 1
119 #define IMP_SAXS_USE_BOOST_RANDOM
120 #define IMP_SAXS_HAS_BOOST_RANDOM 1
121 #define IMP_SAXS_USE_BOOST_REGEX
122 #define IMP_SAXS_HAS_BOOST_REGEX 1
123 #define IMP_SAXS_USE_BOOST_SYSTEM
124 #define IMP_SAXS_HAS_BOOST_SYSTEM 1
125 #define IMP_SAXS_USE_CGAL
126 #define IMP_SAXS_HAS_CGAL 1
130 namespace IMP {
namespace saxs {
137 IMPSAXSEXPORT std::string get_module_version();
142 inline std::string get_module_name() {
149 #if !defined(IMP_DOXYGEN) && !defined(SWIG)
154 namespace IMP {
namespace saxs {
155 using ::IMP::base::Showable;
156 using ::IMP::base::operator<<;
157 using ::IMP::base::hash_value;
159 namespace IMP {
namespace saxs {
namespace internal {
160 using ::IMP::base::Showable;
161 using ::IMP::base::operator<<;
162 using ::IMP::base::hash_value;
165 #endif // !defined(SWIG) && !defined(IMP_DOXYGEN)
170 namespace IMP {
namespace saxs {
183 IMPSAXSEXPORT std::string
get_data_path(std::string file_name);