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 > >(); } }
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 > >(); } }
void register_ArgumentParser_class(){ { //::osg::ArgumentParser typedef bp::class_< osg::ArgumentParser > ArgumentParser_exposer_t; ArgumentParser_exposer_t ArgumentParser_exposer = ArgumentParser_exposer_t( "ArgumentParser", bp::no_init ); bp::scope ArgumentParser_scope( ArgumentParser_exposer ); bp::enum_< osg::ArgumentParser::ErrorSeverity>("ErrorSeverity") .value("BENIGN", osg::ArgumentParser::BENIGN) .value("CRITICAL", osg::ArgumentParser::CRITICAL) .export_values() ; { //::osg::ArgumentParser::Parameter typedef bp::class_< osg::ArgumentParser::Parameter > Parameter_exposer_t; Parameter_exposer_t Parameter_exposer = Parameter_exposer_t( "Parameter", bp::init< bool & >(( bp::arg("value") )) ); bp::scope Parameter_scope( Parameter_exposer ); bp::enum_< osg::ArgumentParser::Parameter::ParameterType>("ParameterType") .value("BOOL_PARAMETER", osg::ArgumentParser::Parameter::BOOL_PARAMETER) .value("FLOAT_PARAMETER", osg::ArgumentParser::Parameter::FLOAT_PARAMETER) .value("DOUBLE_PARAMETER", osg::ArgumentParser::Parameter::DOUBLE_PARAMETER) .value("INT_PARAMETER", osg::ArgumentParser::Parameter::INT_PARAMETER) .value("UNSIGNED_INT_PARAMETER", osg::ArgumentParser::Parameter::UNSIGNED_INT_PARAMETER) .value("STRING_PARAMETER", osg::ArgumentParser::Parameter::STRING_PARAMETER) .export_values() ; bp::implicitly_convertible< bool &, osg::ArgumentParser::Parameter >(); Parameter_exposer.def( bp::init< float & >(( bp::arg("value") )) ); bp::implicitly_convertible< float &, osg::ArgumentParser::Parameter >(); Parameter_exposer.def( bp::init< double & >(( bp::arg("value") )) ); bp::implicitly_convertible< double &, osg::ArgumentParser::Parameter >(); Parameter_exposer.def( bp::init< int & >(( bp::arg("value") )) ); bp::implicitly_convertible< int &, osg::ArgumentParser::Parameter >(); Parameter_exposer.def( bp::init< unsigned int & >(( bp::arg("value") )) ); bp::implicitly_convertible< unsigned int &, osg::ArgumentParser::Parameter >(); Parameter_exposer.def( bp::init< std::string & >(( bp::arg("value") )) ); bp::implicitly_convertible< std::string &, osg::ArgumentParser::Parameter >(); Parameter_exposer.def( bp::init< osg::ArgumentParser::Parameter const & >(( bp::arg("param") )) ); { //::osg::ArgumentParser::Parameter::assign typedef bool ( ::osg::ArgumentParser::Parameter::*assign_function_type)( char const * ) ; Parameter_exposer.def( "assign" , assign_function_type( &::osg::ArgumentParser::Parameter::assign ) , ( bp::arg("str") ) ); } { //::osg::ArgumentParser::Parameter::operator= typedef ::osg::ArgumentParser::Parameter & ( ::osg::ArgumentParser::Parameter::*assign_function_type)( ::osg::ArgumentParser::Parameter const & ) ; Parameter_exposer.def( "assign" , assign_function_type( &::osg::ArgumentParser::Parameter::operator= ) , ( bp::arg("param") ) , bp::return_self< >() ); } { //::osg::ArgumentParser::Parameter::valid typedef bool ( ::osg::ArgumentParser::Parameter::*valid_function_type)( char const * ) const; Parameter_exposer.def( "valid" , valid_function_type( &::osg::ArgumentParser::Parameter::valid ) , ( bp::arg("str") ) ); } } ArgumentParser_exposer.def( bp::init< int *, char * * >(( bp::arg("argc"), bp::arg("argv") )) ); { //::osg::ArgumentParser::argc typedef int & ( ::osg::ArgumentParser::*argc_function_type)( ) ; ArgumentParser_exposer.def( "argc" , argc_function_type( &::osg::ArgumentParser::argc ) , bp::return_value_policy< bp::copy_non_const_reference >() , "\n Return the argument count.\n" ); } { //::osg::ArgumentParser::containsOptions typedef bool ( ::osg::ArgumentParser::*containsOptions_function_type)( ) const; ArgumentParser_exposer.def( "containsOptions" , containsOptions_function_type( &::osg::ArgumentParser::containsOptions ) ); } { //::osg::ArgumentParser::errors typedef bool ( ::osg::ArgumentParser::*errors_function_type)( ::osg::ArgumentParser::ErrorSeverity ) const; ArgumentParser_exposer.def( "errors" , errors_function_type( &::osg::ArgumentParser::errors ) , ( bp::arg("severity")=::osg::ArgumentParser::BENIGN ) , "\n Return the error flag, true if an error has occurred when reading arguments.\n" ); } { //::osg::ArgumentParser::find typedef int ( ::osg::ArgumentParser::*find_function_type)( ::std::string const & ) const; ArgumentParser_exposer.def( "find" , find_function_type( &::osg::ArgumentParser::find ) , ( bp::arg("str") ) , "\n Return the position of an occurrence of a string in the argument list.\n Return -1 if no string is found.\n" ); } { //::osg::ArgumentParser::getApplicationName typedef ::std::string ( ::osg::ArgumentParser::*getApplicationName_function_type)( ) const; ArgumentParser_exposer.def( "getApplicationName" , getApplicationName_function_type( &::osg::ArgumentParser::getApplicationName ) , "\n Return the application name, as specified by argv[0]\n" ); } { //::osg::ArgumentParser::getApplicationUsage typedef ::osg::ApplicationUsage * ( ::osg::ArgumentParser::*getApplicationUsage_function_type)( ) ; ArgumentParser_exposer.def( "getApplicationUsage" , getApplicationUsage_function_type( &::osg::ArgumentParser::getApplicationUsage ) , bp::return_internal_reference< >() ); } { //::osg::ArgumentParser::getApplicationUsage typedef ::osg::ApplicationUsage const * ( ::osg::ArgumentParser::*getApplicationUsage_function_type)( ) const; ArgumentParser_exposer.def( "getApplicationUsage" , getApplicationUsage_function_type( &::osg::ArgumentParser::getApplicationUsage ) , bp::return_internal_reference< >() ); } { //::osg::ArgumentParser::getErrorMessageMap typedef ::std::map< std::string, osg::ArgumentParser::ErrorSeverity > & ( ::osg::ArgumentParser::*getErrorMessageMap_function_type)( ) ; ArgumentParser_exposer.def( "getErrorMessageMap" , getErrorMessageMap_function_type( &::osg::ArgumentParser::getErrorMessageMap ) , bp::return_internal_reference< >() , "\n Return the error message, if any has occurred.\n" ); } { //::osg::ArgumentParser::getErrorMessageMap typedef ::std::map< std::string, osg::ArgumentParser::ErrorSeverity > const & ( ::osg::ArgumentParser::*getErrorMessageMap_function_type)( ) const; ArgumentParser_exposer.def( "getErrorMessageMap" , getErrorMessageMap_function_type( &::osg::ArgumentParser::getErrorMessageMap ) , bp::return_internal_reference< >() , "\n Return the error message, if any has occurred.\n" ); } { //::osg::ArgumentParser::isBool typedef bool ( *isBool_function_type )( char const * ); ArgumentParser_exposer.def( "isBool" , isBool_function_type( &::osg::ArgumentParser::isBool ) , ( bp::arg("str") ) , "\n Return true if specified parameter is a bool.\n" ); } { //::osg::ArgumentParser::isNumber typedef bool ( *isNumber_function_type )( char const * ); ArgumentParser_exposer.def( "isNumber" , isNumber_function_type( &::osg::ArgumentParser::isNumber ) , ( bp::arg("str") ) , "\n Return true if specified parameter is a number.\n" ); } { //::osg::ArgumentParser::isNumber typedef bool ( ::osg::ArgumentParser::*isNumber_function_type)( int ) const; ArgumentParser_exposer.def( "isNumber" , isNumber_function_type( &::osg::ArgumentParser::isNumber ) , ( bp::arg("pos") ) , "\n Return true if the specified parameter is a number.\n" ); } { //::osg::ArgumentParser::isOption typedef bool ( *isOptionStr_function_type )( char const * ); ArgumentParser_exposer.def( "isOptionStr" , isOptionStr_function_type( &::osg::ArgumentParser::isOption ) , ( bp::arg("str") ) , "\n Return true if the specified string is an option in the form\n -option or --option.\n" ); } { //::osg::ArgumentParser::isOption typedef bool ( ::osg::ArgumentParser::*isOption_function_type)( int ) const; ArgumentParser_exposer.def( "isOption" , isOption_function_type( &::osg::ArgumentParser::isOption ) , ( bp::arg("pos") ) , "\n Return true if the specified parameter is an option in the form of\n -option or --option.\n" ); } { //::osg::ArgumentParser::isString typedef bool ( *isString_function_type )( char const * ); ArgumentParser_exposer.def( "isString" , isString_function_type( &::osg::ArgumentParser::isString ) , ( bp::arg("str") ) , "\n Return true if string is non-NULL and not an option in the form\n -option or --option.\n" ); } { //::osg::ArgumentParser::isString typedef bool ( ::osg::ArgumentParser::*isString_function_type)( int ) const; ArgumentParser_exposer.def( "isString" , isString_function_type( &::osg::ArgumentParser::isString ) , ( bp::arg("pos") ) , "\n Return true if the specified parameter is a string not in\n the form of an option.\n" ); } { //::osg::ArgumentParser::match typedef bool ( ::osg::ArgumentParser::*match_function_type)( int,::std::string const & ) const; ArgumentParser_exposer.def( "match" , match_function_type( &::osg::ArgumentParser::match ) , ( bp::arg("pos"), bp::arg("str") ) , "\n Return true if the specified argument matches the given string.\n" ); } { //::osg::ArgumentParser::read typedef bool ( ::osg::ArgumentParser::*read_function_type)( ::std::string const & ) ; ArgumentParser_exposer.def( "read" , read_function_type( &::osg::ArgumentParser::read ) , ( bp::arg("str") ) , "\n Search for an occurrence of a string in the argument list. If found,\n remove that occurrence and return true. Otherwise, return false.\n" ); } { //::osg::ArgumentParser::read typedef bool ( ::osg::ArgumentParser::*read_function_type)( ::std::string const &,::osg::ArgumentParser::Parameter ) ; ArgumentParser_exposer.def( "read" , read_function_type( &::osg::ArgumentParser::read ) , ( bp::arg("str"), bp::arg("value1") ) ); } { //::osg::ArgumentParser::read typedef bool ( ::osg::ArgumentParser::*read_function_type)( ::std::string const &,::osg::ArgumentParser::Parameter,::osg::ArgumentParser::Parameter ) ; ArgumentParser_exposer.def( "read" , read_function_type( &::osg::ArgumentParser::read ) , ( bp::arg("str"), bp::arg("value1"), bp::arg("value2") ) ); } { //::osg::ArgumentParser::read typedef bool ( ::osg::ArgumentParser::*read_function_type)( ::std::string const &,::osg::ArgumentParser::Parameter,::osg::ArgumentParser::Parameter,::osg::ArgumentParser::Parameter ) ; ArgumentParser_exposer.def( "read" , read_function_type( &::osg::ArgumentParser::read ) , ( bp::arg("str"), bp::arg("value1"), bp::arg("value2"), bp::arg("value3") ) ); } { //::osg::ArgumentParser::read typedef bool ( ::osg::ArgumentParser::*read_function_type)( ::std::string const &,::osg::ArgumentParser::Parameter,::osg::ArgumentParser::Parameter,::osg::ArgumentParser::Parameter,::osg::ArgumentParser::Parameter ) ; ArgumentParser_exposer.def( "read" , read_function_type( &::osg::ArgumentParser::read ) , ( bp::arg("str"), bp::arg("value1"), bp::arg("value2"), bp::arg("value3"), bp::arg("value4") ) ); } { //::osg::ArgumentParser::read typedef bool ( ::osg::ArgumentParser::*read_function_type)( ::std::string const &,::osg::ArgumentParser::Parameter,::osg::ArgumentParser::Parameter,::osg::ArgumentParser::Parameter,::osg::ArgumentParser::Parameter,::osg::ArgumentParser::Parameter ) ; ArgumentParser_exposer.def( "read" , read_function_type( &::osg::ArgumentParser::read ) , ( bp::arg("str"), bp::arg("value1"), bp::arg("value2"), bp::arg("value3"), bp::arg("value4"), bp::arg("value5") ) ); } { //::osg::ArgumentParser::read typedef bool ( ::osg::ArgumentParser::*read_function_type)( ::std::string const &,::osg::ArgumentParser::Parameter,::osg::ArgumentParser::Parameter,::osg::ArgumentParser::Parameter,::osg::ArgumentParser::Parameter,::osg::ArgumentParser::Parameter,::osg::ArgumentParser::Parameter ) ; ArgumentParser_exposer.def( "read" , read_function_type( &::osg::ArgumentParser::read ) , ( bp::arg("str"), bp::arg("value1"), bp::arg("value2"), bp::arg("value3"), bp::arg("value4"), bp::arg("value5"), bp::arg("value6") ) ); } { //::osg::ArgumentParser::read typedef bool ( ::osg::ArgumentParser::*read_function_type)( ::std::string const &,::osg::ArgumentParser::Parameter,::osg::ArgumentParser::Parameter,::osg::ArgumentParser::Parameter,::osg::ArgumentParser::Parameter,::osg::ArgumentParser::Parameter,::osg::ArgumentParser::Parameter,::osg::ArgumentParser::Parameter ) ; ArgumentParser_exposer.def( "read" , read_function_type( &::osg::ArgumentParser::read ) , ( bp::arg("str"), bp::arg("value1"), bp::arg("value2"), bp::arg("value3"), bp::arg("value4"), bp::arg("value5"), bp::arg("value6"), bp::arg("value7") ) ); } { //::osg::ArgumentParser::read typedef bool ( ::osg::ArgumentParser::*read_function_type)( ::std::string const &,::osg::ArgumentParser::Parameter,::osg::ArgumentParser::Parameter,::osg::ArgumentParser::Parameter,::osg::ArgumentParser::Parameter,::osg::ArgumentParser::Parameter,::osg::ArgumentParser::Parameter,::osg::ArgumentParser::Parameter,::osg::ArgumentParser::Parameter ) ; ArgumentParser_exposer.def( "read" , read_function_type( &::osg::ArgumentParser::read ) , ( bp::arg("str"), bp::arg("value1"), bp::arg("value2"), bp::arg("value3"), bp::arg("value4"), bp::arg("value5"), bp::arg("value6"), bp::arg("value7"), bp::arg("value8") ) ); } { //::osg::ArgumentParser::read typedef bool ( ::osg::ArgumentParser::*read_function_type)( int,::std::string const & ) ; ArgumentParser_exposer.def( "read" , read_function_type( &::osg::ArgumentParser::read ) , ( bp::arg("pos"), bp::arg("str") ) , "\n If the argument value at the specified position matches the given string,\n and subsequent parameters are also matched, then set the parameter values,\n remove the arguments from the list, and return true. Otherwise, return false.\n" ); } { //::osg::ArgumentParser::read typedef bool ( ::osg::ArgumentParser::*read_function_type)( int,::std::string const &,::osg::ArgumentParser::Parameter ) ; ArgumentParser_exposer.def( "read" , read_function_type( &::osg::ArgumentParser::read ) , ( bp::arg("pos"), bp::arg("str"), bp::arg("value1") ) ); } { //::osg::ArgumentParser::read typedef bool ( ::osg::ArgumentParser::*read_function_type)( int,::std::string const &,::osg::ArgumentParser::Parameter,::osg::ArgumentParser::Parameter ) ; ArgumentParser_exposer.def( "read" , read_function_type( &::osg::ArgumentParser::read ) , ( bp::arg("pos"), bp::arg("str"), bp::arg("value1"), bp::arg("value2") ) ); } { //::osg::ArgumentParser::read typedef bool ( ::osg::ArgumentParser::*read_function_type)( int,::std::string const &,::osg::ArgumentParser::Parameter,::osg::ArgumentParser::Parameter,::osg::ArgumentParser::Parameter ) ; ArgumentParser_exposer.def( "read" , read_function_type( &::osg::ArgumentParser::read ) , ( bp::arg("pos"), bp::arg("str"), bp::arg("value1"), bp::arg("value2"), bp::arg("value3") ) ); } { //::osg::ArgumentParser::read typedef bool ( ::osg::ArgumentParser::*read_function_type)( int,::std::string const &,::osg::ArgumentParser::Parameter,::osg::ArgumentParser::Parameter,::osg::ArgumentParser::Parameter,::osg::ArgumentParser::Parameter ) ; ArgumentParser_exposer.def( "read" , read_function_type( &::osg::ArgumentParser::read ) , ( bp::arg("pos"), bp::arg("str"), bp::arg("value1"), bp::arg("value2"), bp::arg("value3"), bp::arg("value4") ) ); } { //::osg::ArgumentParser::read typedef bool ( ::osg::ArgumentParser::*read_function_type)( int,::std::string const &,::osg::ArgumentParser::Parameter,::osg::ArgumentParser::Parameter,::osg::ArgumentParser::Parameter,::osg::ArgumentParser::Parameter,::osg::ArgumentParser::Parameter ) ; ArgumentParser_exposer.def( "read" , read_function_type( &::osg::ArgumentParser::read ) , ( bp::arg("pos"), bp::arg("str"), bp::arg("value1"), bp::arg("value2"), bp::arg("value3"), bp::arg("value4"), bp::arg("value5") ) ); } { //::osg::ArgumentParser::read typedef bool ( ::osg::ArgumentParser::*read_function_type)( int,::std::string const &,::osg::ArgumentParser::Parameter,::osg::ArgumentParser::Parameter,::osg::ArgumentParser::Parameter,::osg::ArgumentParser::Parameter,::osg::ArgumentParser::Parameter,::osg::ArgumentParser::Parameter ) ; ArgumentParser_exposer.def( "read" , read_function_type( &::osg::ArgumentParser::read ) , ( bp::arg("pos"), bp::arg("str"), bp::arg("value1"), bp::arg("value2"), bp::arg("value3"), bp::arg("value4"), bp::arg("value5"), bp::arg("value6") ) ); } { //::osg::ArgumentParser::read typedef bool ( ::osg::ArgumentParser::*read_function_type)( int,::std::string const &,::osg::ArgumentParser::Parameter,::osg::ArgumentParser::Parameter,::osg::ArgumentParser::Parameter,::osg::ArgumentParser::Parameter,::osg::ArgumentParser::Parameter,::osg::ArgumentParser::Parameter,::osg::ArgumentParser::Parameter ) ; ArgumentParser_exposer.def( "read" , read_function_type( &::osg::ArgumentParser::read ) , ( bp::arg("pos"), bp::arg("str"), bp::arg("value1"), bp::arg("value2"), bp::arg("value3"), bp::arg("value4"), bp::arg("value5"), bp::arg("value6"), bp::arg("value7") ) ); } { //::osg::ArgumentParser::read typedef bool ( ::osg::ArgumentParser::*read_function_type)( int,::std::string const &,::osg::ArgumentParser::Parameter,::osg::ArgumentParser::Parameter,::osg::ArgumentParser::Parameter,::osg::ArgumentParser::Parameter,::osg::ArgumentParser::Parameter,::osg::ArgumentParser::Parameter,::osg::ArgumentParser::Parameter,::osg::ArgumentParser::Parameter ) ; ArgumentParser_exposer.def( "read" , read_function_type( &::osg::ArgumentParser::read ) , ( bp::arg("pos"), bp::arg("str"), bp::arg("value1"), bp::arg("value2"), bp::arg("value3"), bp::arg("value4"), bp::arg("value5"), bp::arg("value6"), bp::arg("value7"), bp::arg("value8") ) ); } { //::osg::ArgumentParser::readHelpType typedef ::osg::ApplicationUsage::Type ( ::osg::ArgumentParser::*readHelpType_function_type)( ) ; ArgumentParser_exposer.def( "readHelpType" , readHelpType_function_type( &::osg::ArgumentParser::readHelpType ) , "\n This convenience method handles help requests on the command line.\n Return the type(s) of help requested. The return value of this\n function is suitable for passing into getApplicationUsage()->write().\n If ApplicationUsage::NO_HELP is returned then no help commandline option\n was found on the command line.\n" ); } { //::osg::ArgumentParser::remove typedef void ( ::osg::ArgumentParser::*remove_function_type)( int,int ) ; ArgumentParser_exposer.def( "remove" , remove_function_type( &::osg::ArgumentParser::remove ) , ( bp::arg("pos"), bp::arg("num")=(int)(1) ) , "\n Remove one or more arguments from the argv argument list,\n and decrement the argc respectively.\n" ); } { //::osg::ArgumentParser::reportError typedef void ( ::osg::ArgumentParser::*reportError_function_type)( ::std::string const &,::osg::ArgumentParser::ErrorSeverity ) ; ArgumentParser_exposer.def( "reportError" , reportError_function_type( &::osg::ArgumentParser::reportError ) , ( bp::arg("message"), bp::arg("severity")=::osg::ArgumentParser::CRITICAL ) , "\n Report an error message by adding to the ErrorMessageMap.\n" ); } { //::osg::ArgumentParser::reportRemainingOptionsAsUnrecognized typedef void ( ::osg::ArgumentParser::*reportRemainingOptionsAsUnrecognized_function_type)( ::osg::ArgumentParser::ErrorSeverity ) ; ArgumentParser_exposer.def( "reportRemainingOptionsAsUnrecognized" , reportRemainingOptionsAsUnrecognized_function_type( &::osg::ArgumentParser::reportRemainingOptionsAsUnrecognized ) , ( bp::arg("severity")=::osg::ArgumentParser::BENIGN ) , "\n For each remaining option, report it as unrecognized.\n" ); } { //::osg::ArgumentParser::setApplicationUsage typedef void ( ::osg::ArgumentParser::*setApplicationUsage_function_type)( ::osg::ApplicationUsage * ) ; ArgumentParser_exposer.def( "setApplicationUsage" , setApplicationUsage_function_type( &::osg::ArgumentParser::setApplicationUsage ) , ( bp::arg("usage") ) ); } { //::osg::ArgumentParser::writeErrorMessages typedef void ( ::osg::ArgumentParser::*writeErrorMessages_function_type)( ::std::ostream &,::osg::ArgumentParser::ErrorSeverity ) ; ArgumentParser_exposer.def( "writeErrorMessages" , writeErrorMessages_function_type( &::osg::ArgumentParser::writeErrorMessages ) , ( bp::arg("output"), bp::arg("sevrity")=::osg::ArgumentParser::BENIGN ) , "\n Write error messages to the given ostream, if at or above the given severity.\n" ); } ArgumentParser_exposer.staticmethod( "isBool" ); ArgumentParser_exposer.staticmethod( "isNumber" ); ArgumentParser_exposer.staticmethod( "isOptionStr" ); ArgumentParser_exposer.staticmethod( "isString" ); ArgumentParser_exposer.def( "__init__", bp::make_constructor( &initArgumentParser ) ); ArgumentParser_exposer.def( "__init__", bp::make_constructor( &initArgumentParser2 ) ); ArgumentParser_exposer.def( "__getitem__", &getArgumentParserItem ); } }