/usr/include/boost/python/object
NameSizeModeActions
add_to_namespace.hpp7800644editdlrm
class.hpp21120644editdlrm
class_detail.hpp6340644editdlrm
class_metadata.hpp90960644editdlrm
class_wrapper.hpp16160644editdlrm
enum_base.hpp10950644editdlrm
find_instance.hpp8440644editdlrm
forward.hpp22970644editdlrm
function.hpp22590644editdlrm
function_doc_signature.hpp15140644editdlrm
function_handle.hpp14390644editdlrm
function_object.hpp14180644editdlrm
inheritance.hpp35420644editdlrm
inheritance_query.hpp6170644editdlrm
instance.hpp12820644editdlrm
iterator.hpp71390644editdlrm
iterator_core.hpp5450644editdlrm
life_support.hpp5300644editdlrm
make_holder.hpp35260644editdlrm
make_instance.hpp25010644editdlrm
make_ptr_instance.hpp22920644editdlrm
pickle_support.hpp31850644editdlrm
pointer_holder.hpp65230644editdlrm
py_function.hpp45090644editdlrm
stl_iterator_core.hpp8510644editdlrm
value_holder.hpp50080644editdlrm
value_holder_fwd.hpp5220644editdlrm
Edit: /usr/include/boost/python/object/class.hpp (2112B)
// Copyright David Abrahams 2001. // Distributed under the Boost Software License, Version 1.0. (See // accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef CLASS_DWA20011214_HPP # define CLASS_DWA20011214_HPP # include # include # include # include namespace boost { namespace python { namespace objects { struct BOOST_PYTHON_DECL class_base : python::api::object { // constructor class_base( char const* name // The name of the class , std::size_t num_types // A list of class_ids. The first is the type , type_info const*const types // this is wrapping. The rest are the types of // any bases. , char const* doc = 0 // Docstring, if any. ); // Implementation detail. Hiding this in the private section would // require use of template friend declarations. 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); // Retrieve the underlying object void setattr(char const* name, object const&); // Set a special attribute in the class which tells Boost.Python // to allocate extra bytes for embedded C++ objects in Python // instances. void set_instance_size(std::size_t bytes); // Set an __init__ function which throws an appropriate exception // for abstract classes. void def_no_init(); // Effects: // setattr(self, staticmethod(getattr(self, method_name))) void make_method_static(const char *method_name); }; }}} // namespace boost::python::objects #endif // CLASS_DWA20011214_HPP