Go to the documentation of this file.
5 #ifndef COAL_PYTHON_FWD_HH
6 #define COAL_PYTHON_FWD_HH
9 #ifdef COAL_HAS_DOXYGEN_AUTODOC
11 using coal::shared_ptr;
18 #define BOOST_BIND_GLOBAL_PLACEHOLDERS
19 #include <boost/python.hpp>
20 #include <boost/python/suite/indexing/vector_indexing_suite.hpp>
21 #undef BOOST_BIND_GLOBAL_PLACEHOLDERS
23 #include "../doc/python/doxygen.hh"
24 #include "../doc/python/doxygen-boost.hh"
29 #define DEF_RW_CLASS_ATTRIB(CLASS, ATTRIB) \
30 def_readwrite(#ATTRIB, &CLASS::ATTRIB, \
31 doxygen::class_attrib_doc<CLASS>(#ATTRIB))
32 #define DEF_RO_CLASS_ATTRIB(CLASS, ATTRIB) \
33 def_readonly(#ATTRIB, &CLASS::ATTRIB, \
34 doxygen::class_attrib_doc<CLASS>(#ATTRIB))
35 #define DEF_CLASS_FUNC(CLASS, ATTRIB) \
36 def(dv::member_func(#ATTRIB, &CLASS::ATTRIB))
37 #define DEF_CLASS_FUNC2(CLASS, ATTRIB, policy) \
38 def(#ATTRIB, &CLASS::ATTRIB, doxygen::member_func_doc(&CLASS::ATTRIB), policy)
40 #endif // ifndef COAL_PYTHON_FWD_HH
hpp-fcl
Author(s):
autogenerated on Sat Nov 23 2024 03:44:58