30 #ifndef IMPSCOREFUNCTOR_CONFIG_H
31 #define IMPSCOREFUNCTOR_CONFIG_H
33 #include <IMP/base/base_config.h>
39 #ifdef IMPSCOREFUNCTOR_EXPORTS
40 #define IMPSCOREFUNCTOREXPORT __declspec(dllexport)
42 #define IMPSCOREFUNCTOREXPORT __declspec(dllimport)
48 #define IMPSCOREFUNCTOREXPORT __attribute__ ((visibility("default")))
49 #else // GCC_VISIBILITY
50 #define IMPSCOREFUNCTOREXPORT
51 #endif // GCC_VISIBILITY
54 #if defined(_MSC_VER) && !defined(SWIG)
55 #ifdef IMPSCOREFUNCTOR_EXPORTS
57 #define IMPSCOREFUNCTOR_EXPORT_TEMPLATE(name) template class __declspec(dllexport) name
61 #define IMPSCOREFUNCTOR_EXPORT_TEMPLATE(name) template class __declspec(dllimport) name
66 #define IMPSCOREFUNCTOR_EXPORT_TEMPLATE(name) IMP_REQUIRE_SEMICOLON_NAMESPACE
68 #endif // MSC and SWIG
70 #if !defined(SWIG) && !defined(IMP_DOXYGEN)
72 #define IMPSCOREFUNCTOR_BEGIN_NAMESPACE \
73 IMP_COMPILER_ENABLE_WARNINGS \
74 namespace IMP { namespace score_functor { \
76 #define IMPSCOREFUNCTOR_END_NAMESPACE \
78 IMP_COMPILER_DISABLE_WARNINGS
80 #define IMPSCOREFUNCTOR_BEGIN_INTERNAL_NAMESPACE \
81 IMPSCOREFUNCTOR_BEGIN_NAMESPACE namespace internal {
84 #define IMPSCOREFUNCTOR_END_INTERNAL_NAMESPACE \
85 } IMPSCOREFUNCTOR_END_NAMESPACE
88 #define IMPSCOREFUNCTOR_BEGIN_NAMESPACE \
89 namespace IMP { namespace score_functor {
91 #define IMPSCOREFUNCTOR_END_NAMESPACE \
94 #define IMPSCOREFUNCTOR_BEGIN_INTERNAL_NAMESPACE \
95 IMPSCOREFUNCTOR_BEGIN_NAMESPACE namespace internal {
98 #define IMPSCOREFUNCTOR_END_INTERNAL_NAMESPACE \
99 } IMPSCOREFUNCTOR_END_NAMESPACE
103 #define IMP_SCORE_FUNCTOR_USE_IMP_CGAL
104 #define IMP_SCORE_FUNCTOR_HAS_IMP_CGAL 1
105 #define IMP_SCORE_FUNCTOR_USE_BOOST_FILESYSTEM
106 #define IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM 1
107 #define IMP_SCORE_FUNCTOR_USE_BOOST_PROGRAMOPTIONS
108 #define IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS 1
109 #define IMP_SCORE_FUNCTOR_USE_BOOST_RANDOM
110 #define IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM 1
111 #define IMP_SCORE_FUNCTOR_USE_BOOST_SYSTEM
112 #define IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM 1
113 #define IMP_SCORE_FUNCTOR_USE_CGAL
114 #define IMP_SCORE_FUNCTOR_HAS_CGAL 1
118 namespace IMP {
namespace score_functor {
125 IMPSCOREFUNCTOREXPORT std::string get_module_version();
130 inline std::string get_module_name() {
131 return "IMP::score_functor";
137 #if !defined(IMP_DOXYGEN) && !defined(SWIG)
142 namespace IMP {
namespace score_functor {
143 using ::IMP::base::Showable;
144 using ::IMP::base::operator<<;
145 using ::IMP::base::hash_value;
147 namespace IMP {
namespace score_functor {
namespace internal {
148 using ::IMP::base::Showable;
149 using ::IMP::base::operator<<;
150 using ::IMP::base::hash_value;
153 #endif // !defined(SWIG) && !defined(IMP_DOXYGEN)
158 namespace IMP {
namespace score_functor {
171 IMPSCOREFUNCTOREXPORT std::string
get_data_path(std::string file_name);