Ejemplo n.º 1
0
void register_XMLNodes_class(){

    { //::osiris::XMLNodes
        typedef ::boost::python::class_< ::osiris::XMLNodes > XMLNodes_exposer_t;
        XMLNodes_exposer_t XMLNodes_exposer = XMLNodes_exposer_t( "XMLNodes", ::boost::python::init< ::osiris::XMLNode & >(( ::boost::python::arg("node") )) );
        ::boost::python::scope XMLNodes_scope( XMLNodes_exposer );
        ::boost::python::implicitly_convertible< ::osiris::XMLNode &, ::osiris::XMLNodes >();
        { //::osiris::XMLNodes::getNode
        
            typedef boost::python::object ( *getNode_function_type )( ::osiris::XMLNodes & );
            
            XMLNodes_exposer.def( 
                "getNode"
                , getNode_function_type( &getNode_3c633a1bb16d579f7abf6110df71d721 ) );
        
        }
        { //::osiris::XMLNodes::getNode
        
            typedef boost::python::object ( *getNode_function_type )( ::osiris::XMLNodes const & );
            
            XMLNodes_exposer.def( 
                "getNode"
                , getNode_function_type( &getNode_daf4419d80b8c9cfb243f96979a92cdb ) );
        
        }
        { //::osiris::XMLNodes::empty
        
            typedef boost::python::object ( *empty_function_type )( ::osiris::XMLNodes const & );
            
            XMLNodes_exposer.def( 
                "empty"
                , empty_function_type( &empty_d6f364c3672fcc6f04fe4087a7cff73e ) );
        
        }
        { //::osiris::XMLNodes::size
        
            typedef boost::python::object ( *size_function_type )( ::osiris::XMLNodes const & );
            
            XMLNodes_exposer.def( 
                "size"
                , size_function_type( &size_6cf4aca395fedde0d05627dc43eb66e8 ) );
        
        }
        { //::osiris::XMLNodes::clear
        
            typedef void ( *clear_function_type )( ::osiris::XMLNodes & );
            
            XMLNodes_exposer.def( 
                "clear"
                , clear_function_type( &clear_37afb558d4f0e2634c0bd84d7accca3b ) );
        
        }
        { //::osiris::XMLNodes::add
        
            typedef boost::python::object ( *add_function_type )( ::osiris::XMLNodes &,::boost::shared_ptr<osiris::XMLNode> );
            
            XMLNodes_exposer.def( 
                "add"
                , add_function_type( &add_cc461580a7929bbf7b77bb62a19d9b46 )
                , ( ::boost::python::arg("inst"), ::boost::python::arg("node") ) );
        
        }
        { //::osiris::XMLNodes::add
        
            typedef boost::python::object ( *add_function_type )( ::osiris::XMLNodes &,::osiris::String const & );
            
            XMLNodes_exposer.def( 
                "add"
                , add_function_type( &add_4288f2b3474a2847113027f42b9138cd )
                , ( ::boost::python::arg("inst"), ::boost::python::arg("name") ) );
        
        }
        { //::osiris::XMLNodes::find
        
            typedef boost::python::object ( *find_function_type )( ::osiris::XMLNodes const &,::osiris::String const & );
            
            XMLNodes_exposer.def( 
                "find"
                , find_function_type( &find_13d9ed344d6873adbf9fbf0a24e90f81 )
                , ( ::boost::python::arg("inst"), ::boost::python::arg("name") ) );
        
        }
        { //::osiris::XMLNodes::find
        
            typedef boost::python::object ( *find_function_type )( ::osiris::XMLNodes const &,::size_t );
            
            XMLNodes_exposer.def( 
                "find"
                , find_function_type( &find_e3efa947e75c0e8a612bda6c31ff76b7 )
                , ( ::boost::python::arg("inst"), ::boost::python::arg("index") ) );
        
        }
        { //::osiris::XMLNodes::push_back
        
            typedef void ( *push_back_function_type )( ::osiris::XMLNodes &,::boost::shared_ptr<osiris::XMLNode> );
            
            XMLNodes_exposer.def( 
                "push_back"
                , push_back_function_type( &push_back_5f0c30a5290d41cf8b4f172e76b30811 )
                , ( ::boost::python::arg("inst"), ::boost::python::arg("node") ) );
        
        }
        { //::osiris::XMLNodes::push_front
        
            typedef void ( *push_front_function_type )( ::osiris::XMLNodes &,::boost::shared_ptr<osiris::XMLNode> );
            
            XMLNodes_exposer.def( 
                "push_front"
                , push_front_function_type( &push_front_362aeeb061ba2e1ed764a5e5da8f94d8 )
                , ( ::boost::python::arg("inst"), ::boost::python::arg("node") ) );
        
        }
        { //::osiris::XMLNodes::remove
        
            typedef void ( *remove_function_type )( ::osiris::XMLNodes &,::osiris::String const & );
            
            XMLNodes_exposer.def( 
                "remove"
                , remove_function_type( &remove_4108151c8681839513623ecbbb533189 )
                , ( ::boost::python::arg("inst"), ::boost::python::arg("name") ) );
        
        }
        ::boost::python::register_ptr_to_python< boost::shared_ptr< ::osiris::XMLNodes > >();
        ::boost::python::implicitly_convertible< boost::shared_ptr< ::osiris::XMLNodes >, boost::shared_ptr< ::osiris::Object > >();
    }

}
Ejemplo n.º 2
0
void register_XMLAttributes_class(){

    { //::osiris::XMLAttributes
        typedef ::boost::python::class_< ::osiris::XMLAttributes > XMLAttributes_exposer_t;
        XMLAttributes_exposer_t XMLAttributes_exposer = XMLAttributes_exposer_t( "XMLAttributes", ::boost::python::init< ::osiris::XMLNode & >(( ::boost::python::arg("node") )) );
        ::boost::python::scope XMLAttributes_scope( XMLAttributes_exposer );
        ::boost::python::implicitly_convertible< ::osiris::XMLNode &, ::osiris::XMLAttributes >();
        { //::osiris::XMLAttributes::getNode
        
            typedef boost::python::object ( *getNode_function_type )( ::osiris::XMLAttributes & );
            
            XMLAttributes_exposer.def( 
                "getNode"
                , getNode_function_type( &getNode_4e57c0c8f9b0f179513dbc4a9f5d4c90 ) );
        
        }
        { //::osiris::XMLAttributes::getNode
        
            typedef boost::python::object ( *getNode_function_type )( ::osiris::XMLAttributes const & );
            
            XMLAttributes_exposer.def( 
                "getNode"
                , getNode_function_type( &getNode_c7ca0ab9de3bad23f457972b89ccd4bc ) );
        
        }
        { //::osiris::XMLAttributes::empty
        
            typedef boost::python::object ( *empty_function_type )( ::osiris::XMLAttributes const & );
            
            XMLAttributes_exposer.def( 
                "empty"
                , empty_function_type( &empty_b69603b713f1a8a59c2ffc4b6c71ff93 ) );
        
        }
        { //::osiris::XMLAttributes::size
        
            typedef boost::python::object ( *size_function_type )( ::osiris::XMLAttributes const & );
            
            XMLAttributes_exposer.def( 
                "size"
                , size_function_type( &size_97d3881c48560de9a0f1e73dafa6a53e ) );
        
        }
        { //::osiris::XMLAttributes::set
        
            typedef void ( *set_function_type )( ::osiris::XMLAttributes &,::osiris::String const &,::osiris::String const & );
            
            XMLAttributes_exposer.def( 
                "set"
                , set_function_type( &set_1e63dd0dc5475b37dd70f5a51470babd )
                , ( ::boost::python::arg("inst"), ::boost::python::arg("name"), ::boost::python::arg("value") ) );
        
        }
        { //::osiris::XMLAttributes::clear
        
            typedef void ( *clear_function_type )( ::osiris::XMLAttributes & );
            
            XMLAttributes_exposer.def( 
                "clear"
                , clear_function_type( &clear_bbd254cd8250d6049df9feeec423473d ) );
        
        }
        { //::osiris::XMLAttributes::exists
        
            typedef boost::python::object ( *exists_function_type )( ::osiris::XMLAttributes const &,::osiris::String const & );
            
            XMLAttributes_exposer.def( 
                "exists"
                , exists_function_type( &exists_9b7ddaa903c86a33882aca33647d86d9 )
                , ( ::boost::python::arg("inst"), ::boost::python::arg("name") ) );
        
        }
        { //::osiris::XMLAttributes::find
        
            typedef boost::python::object ( *find_function_type )( ::osiris::XMLAttributes const &,::osiris::String const & );
            
            XMLAttributes_exposer.def( 
                "find"
                , find_function_type( &find_981dbb4e0c25761bece5c543ec955f9e )
                , ( ::boost::python::arg("inst"), ::boost::python::arg("name") ) );
        
        }
        { //::osiris::XMLAttributes::find
        
            typedef boost::python::object ( *find_function_type )( ::osiris::XMLAttributes const &,::size_t );
            
            XMLAttributes_exposer.def( 
                "find"
                , find_function_type( &find_f566384adab53722dbbf56f49e0e8597 )
                , ( ::boost::python::arg("inst"), ::boost::python::arg("index") ) );
        
        }
        { //::osiris::XMLAttributes::get
        
            typedef boost::python::object ( *get_function_type )( ::osiris::XMLAttributes const &,::osiris::String const & );
            
            XMLAttributes_exposer.def( 
                "get"
                , get_function_type( &get_8341dbbadae2779456a992562f1485db )
                , ( ::boost::python::arg("inst"), ::boost::python::arg("name") ) );
        
        }
        { //::osiris::XMLAttributes::remove
        
            typedef void ( *remove_function_type )( ::osiris::XMLAttributes &,::osiris::String const & );
            
            XMLAttributes_exposer.def( 
                "remove"
                , remove_function_type( &remove_13651ce1619d4c347a785c48f2131d08 )
                , ( ::boost::python::arg("inst"), ::boost::python::arg("name") ) );
        
        }
        ::boost::python::register_ptr_to_python< boost::shared_ptr< ::osiris::XMLAttributes > >();
        ::boost::python::implicitly_convertible< boost::shared_ptr< ::osiris::XMLAttributes >, boost::shared_ptr< ::osiris::Object > >();
    }

}
Ejemplo n.º 3
0
void register_XMLAttribute_class(){

    { //::osiris::XMLAttribute
        typedef ::boost::python::class_< ::osiris::XMLAttribute, ::boost::noncopyable > XMLAttribute_exposer_t;
        XMLAttribute_exposer_t XMLAttribute_exposer = XMLAttribute_exposer_t( "XMLAttribute", ::boost::python::init< ::osiris::XMLNode &, ::osiris::String const &, ::osiris::String const & >(( ::boost::python::arg("node"), ::boost::python::arg("name"), ::boost::python::arg("value") )) );
        ::boost::python::scope XMLAttribute_scope( XMLAttribute_exposer );
        { //::osiris::XMLAttribute::getNode
        
            typedef boost::python::object ( *getNode_function_type )( ::osiris::XMLAttribute & );
            
            XMLAttribute_exposer.def( 
                "getNode"
                , getNode_function_type( &getNode_8ad4208f5cf271289dbc24b579febfe2 ) );
        
        }
        { //::osiris::XMLAttribute::getNode
        
            typedef boost::python::object ( *getNode_function_type )( ::osiris::XMLAttribute const & );
            
            XMLAttribute_exposer.def( 
                "getNode"
                , getNode_function_type( &getNode_8f4db62d18a7a733b4fcfa494e187972 ) );
        
        }
        { //::osiris::XMLAttribute::getName
        
            typedef boost::python::object ( *getName_function_type )( ::osiris::XMLAttribute const & );
            
            XMLAttribute_exposer.def( 
                "getName"
                , getName_function_type( &getName_acfc0eea1e952eb43ca254ea514881e3 ) );
        
        }
        { //::osiris::XMLAttribute::getValue
        
            typedef boost::python::object ( *getValue_function_type )( ::osiris::XMLAttribute const & );
            
            XMLAttribute_exposer.def( 
                "getValue"
                , getValue_function_type( &getValue_8d07e6f4788c147b71884a3b95968270 ) );
        
        }
        { //::osiris::XMLAttribute::setName
        
            typedef void ( *setName_function_type )( ::osiris::XMLAttribute &,::osiris::String const & );
            
            XMLAttribute_exposer.def( 
                "setName"
                , setName_function_type( &setName_d67b3a373b0013675b94eedc00db89d1 )
                , ( ::boost::python::arg("inst"), ::boost::python::arg("name") ) );
        
        }
        { //::osiris::XMLAttribute::setValue
        
            typedef void ( *setValue_function_type )( ::osiris::XMLAttribute &,::osiris::String const & );
            
            XMLAttribute_exposer.def( 
                "setValue"
                , setValue_function_type( &setValue_5b5d4093a4a0ebca7bb2bf34bca1e191 )
                , ( ::boost::python::arg("inst"), ::boost::python::arg("value") ) );
        
        }
        { //property "name"[fget=::osiris::XMLAttribute::getName, fset=::osiris::XMLAttribute::setName]
        
            typedef ::osiris::String const & ( ::osiris::XMLAttribute::*fget )(  ) const;
            typedef void ( ::osiris::XMLAttribute::*fset )( ::osiris::String const & ) ;
            
            XMLAttribute_exposer.add_property( 
                "name"
                , ::boost::python::make_function( 
                      fget( &::osiris::XMLAttribute::getName )
                    , bp::return_value_policy< bp::copy_const_reference >() ) 
                , fset( &::osiris::XMLAttribute::setName )
                , "get\\set property, built on top of \"osiris::String const & osiris::XMLAttribute::getName() const [member function]\" and \"void osiris::XMLAttribute::setName(osiris::String const & name) [member function]\"" );
        
        }
        { //property "value"[fget=::osiris::XMLAttribute::getValue, fset=::osiris::XMLAttribute::setValue]
        
            typedef ::osiris::String const & ( ::osiris::XMLAttribute::*fget )(  ) const;
            typedef void ( ::osiris::XMLAttribute::*fset )( ::osiris::String const & ) ;
            
            XMLAttribute_exposer.add_property( 
                "value"
                , ::boost::python::make_function( 
                      fget( &::osiris::XMLAttribute::getValue )
                    , bp::return_value_policy< bp::copy_const_reference >() ) 
                , fset( &::osiris::XMLAttribute::setValue )
                , "get\\set property, built on top of \"osiris::String const & osiris::XMLAttribute::getValue() const [member function]\" and \"void osiris::XMLAttribute::setValue(osiris::String const & value) [member function]\"" );
        
        }
        ::boost::python::register_ptr_to_python< boost::shared_ptr< ::osiris::XMLAttribute > >();
        ::boost::python::implicitly_convertible< boost::shared_ptr< ::osiris::XMLAttribute >, boost::shared_ptr< ::osiris::Object > >();
    }

}