123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- #ifndef CLASS_DWA20011214_HPP
- # define CLASS_DWA20011214_HPP
- # include <boost/python/detail/prefix.hpp>
- # include <boost/python/object_core.hpp>
- # include <boost/python/type_id.hpp>
- # include <cstddef>
- namespace boost { namespace python {
- namespace objects {
- struct BOOST_PYTHON_DECL class_base : python::api::object
- {
-
- class_base(
- char const* name
-
- , std::size_t num_types
- , type_info const*const types
-
-
- , char const* doc = 0
- );
-
-
- void enable_pickling_(bool getstate_manages_dict);
- protected:
- void add_property(
- char const* name, object const& fget, char const* docstr);
- void add_property(char const* name,
- object const& fget, object const& fset, char const* docstr);
- void add_static_property(char const* name, object const& fget);
- void add_static_property(char const* name, object const& fget, object const& fset);
-
-
- void setattr(char const* name, object const&);
-
-
-
- void set_instance_size(std::size_t bytes);
-
-
- void def_no_init();
-
-
- void make_method_static(const char *method_name);
- };
- }}}
- #endif
|