コード例 #1
0
void register_Alignatum_class(){

    { //::alignlib::Alignatum
        typedef bp::class_< alignlib::Alignatum, bp::bases< alignlib::AlignlibBase >, boost::noncopyable > Alignatum_exposer_t;
        Alignatum_exposer_t Alignatum_exposer = Alignatum_exposer_t( "Alignatum", bp::no_init );
        bp::scope Alignatum_scope( Alignatum_exposer );
        { //::alignlib::Alignatum::addGaps
        
            typedef void ( ::alignlib::Alignatum::*addGaps_function_type )( int,int ) ;
            
            Alignatum_exposer.def( 
                "addGaps"
                , addGaps_function_type( &::alignlib::Alignatum::addGaps )
                , ( bp::arg("front"), bp::arg("back") ) );
        
        }
        { //::alignlib::Alignatum::fillAlignment
        
            typedef void ( ::alignlib::Alignatum::*fillAlignment_function_type )( ::alignlib::HAlignment &,bool const ) const;
            
            Alignatum_exposer.def( 
                "fillAlignment"
                , fillAlignment_function_type( &::alignlib::Alignatum::fillAlignment )
                , ( bp::arg("dest"), bp::arg("invert")=(bool const)(false) ) );
        
        }
        { //::alignlib::Alignatum::getAlignedLength
        
            typedef ::alignlib::Position ( ::alignlib::Alignatum::*getAlignedLength_function_type )(  ) const;
            
            Alignatum_exposer.def( 
                "getAlignedLength"
                , getAlignedLength_function_type( &::alignlib::Alignatum::getAlignedLength ) );
        
        }
        { //::alignlib::Alignatum::getClone
        
            typedef ::alignlib::HAlignatum ( ::alignlib::Alignatum::*getClone_function_type )(  ) const;
            
            Alignatum_exposer.def( 
                "getClone"
                , getClone_function_type( &::alignlib::Alignatum::getClone ) );
        
        }
        { //::alignlib::Alignatum::getFrom
        
            typedef ::alignlib::Position ( ::alignlib::Alignatum::*getFrom_function_type )(  ) const;
            
            Alignatum_exposer.def( 
                "getFrom"
                , getFrom_function_type( &::alignlib::Alignatum::getFrom ) );
        
        }
        { //::alignlib::Alignatum::getFullLength
        
            typedef ::alignlib::Position ( ::alignlib::Alignatum::*getFullLength_function_type )(  ) const;
            
            Alignatum_exposer.def( 
                "getFullLength"
                , getFullLength_function_type( &::alignlib::Alignatum::getFullLength ) );
        
        }
        { //::alignlib::Alignatum::getNew
        
            typedef ::alignlib::HAlignatum ( ::alignlib::Alignatum::*getNew_function_type )(  ) const;
            
            Alignatum_exposer.def( 
                "getNew"
                , getNew_function_type( &::alignlib::Alignatum::getNew ) );
        
        }
        { //::alignlib::Alignatum::getResidueNumber
        
            typedef ::alignlib::Position ( ::alignlib::Alignatum::*getResidueNumber_function_type )( ::alignlib::Position const,::alignlib::SearchType const ) const;
            
            Alignatum_exposer.def( 
                "getResidueNumber"
                , getResidueNumber_function_type( &::alignlib::Alignatum::getResidueNumber )
                , ( bp::arg("pos"), bp::arg("search")=::alignlib::NO_SEARCH ) );
        
        }
        { //::alignlib::Alignatum::getString
        
            typedef ::std::string const & ( ::alignlib::Alignatum::*getString_function_type )(  ) const;
            
            Alignatum_exposer.def( 
                "getString"
                , getString_function_type( &::alignlib::Alignatum::getString )
                , bp::return_value_policy< bp::copy_const_reference >() );
        
        }
        { //::alignlib::Alignatum::getTo
        
            typedef ::alignlib::Position ( ::alignlib::Alignatum::*getTo_function_type )(  ) const;
            
            Alignatum_exposer.def( 
                "getTo"
                , getTo_function_type( &::alignlib::Alignatum::getTo ) );
        
        }
        { //::alignlib::Alignatum::insertGaps
        
            typedef void ( ::alignlib::Alignatum::*insertGaps_function_type )( int,::alignlib::Position ) ;
            
            Alignatum_exposer.def( 
                "insertGaps"
                , insertGaps_function_type( &::alignlib::Alignatum::insertGaps )
                , ( bp::arg("position"), bp::arg("count")=(int)(1) ) );
        
        }
        { //::alignlib::Alignatum::isConsistent
        
            typedef bool ( ::alignlib::Alignatum::*isConsistent_function_type )(  ) const;
            
            Alignatum_exposer.def( 
                "isConsistent"
                , isConsistent_function_type( &::alignlib::Alignatum::isConsistent ) );
        
        }
        { //::alignlib::Alignatum::mapOnAlignment
        
            typedef void ( ::alignlib::Alignatum::*mapOnAlignment_function_type )( ::alignlib::HAlignment const &,::alignlib::Position const,bool const ) ;
            
            Alignatum_exposer.def( 
                "mapOnAlignment"
                , mapOnAlignment_function_type( &::alignlib::Alignatum::mapOnAlignment )
                , ( bp::arg("map_old2new"), bp::arg("new_length")=(int const)(0), bp::arg("unaligned_chars")=(bool const)(false) ) );
        
        }
        { //::alignlib::Alignatum::read
        
            typedef void ( ::alignlib::Alignatum::*read_function_type )( ::std::istream & ) ;
            
            Alignatum_exposer.def( 
                "read"
                , read_function_type( &::alignlib::Alignatum::read )
                , ( bp::arg("input") ) );
        
        }
        { //::alignlib::Alignatum::removeColumns
        
            typedef void ( ::alignlib::Alignatum::*removeColumns_function_type )( int,::alignlib::Position ) ;
            
            Alignatum_exposer.def( 
                "removeColumns"
                , removeColumns_function_type( &::alignlib::Alignatum::removeColumns )
                , ( bp::arg("position"), bp::arg("count")=(int)(1) ) );
        
        }
        { //::alignlib::Alignatum::removeEndGaps
        
            typedef void ( ::alignlib::Alignatum::*removeEndGaps_function_type )(  ) ;
            
            Alignatum_exposer.def( 
                "removeEndGaps"
                , removeEndGaps_function_type( &::alignlib::Alignatum::removeEndGaps ) );
        
        }
        { //::alignlib::Alignatum::write
        
            typedef void ( ::alignlib::Alignatum::*write_function_type )( ::std::ostream & ) const;
            
            Alignatum_exposer.def( 
                "write"
                , write_function_type( &::alignlib::Alignatum::write )
                , ( bp::arg("output") ) );
        
        }
        Alignatum_exposer.def( bp::self_ns::str( bp::self ) );
        bp::register_ptr_to_python< boost::shared_ptr< alignlib::Alignatum > >();
        bp::implicitly_convertible< boost::shared_ptr< alignlib::Alignatum >, boost::shared_ptr< alignlib::AlignlibBase > >();
    }

}
コード例 #2
0
void register_File_class(){

    { //::osiris::File
        typedef ::boost::python::class_< File_wrapper, ::boost::python::bases< ::osiris::IStream >, ::boost::noncopyable > File_exposer_t;
        File_exposer_t File_exposer = File_exposer_t( "File", ::boost::python::init< >() );
        ::boost::python::scope File_scope( File_exposer );
        ::boost::python::enum_< ::osiris::File::OpenFlags>("OpenFlags")
            .value("ofRead", ::osiris::File::ofRead)
            .value("ofWrite", ::osiris::File::ofWrite)
            .value("ofReadWrite", ::osiris::File::ofReadWrite)
            .value("ofNoTruncate", ::osiris::File::ofNoTruncate)
            .value("ofBinary", ::osiris::File::ofBinary)
            .value("ofText", ::osiris::File::ofText)
            .export_values()
            ;
        File_exposer.def( ::boost::python::init< ::osiris::String const &, ::osiris::uint32 >(( ::boost::python::arg("filename"), ::boost::python::arg("flags") )) );
        { //::osiris::File::getHandle
        
            typedef boost::python::object ( *getHandle_function_type )( ::osiris::File const & );
            
            File_exposer.def( 
                "getHandle"
                , getHandle_function_type( &File_wrapper::getHandle ) );
        
        }
        { //::osiris::File::open
        
            typedef bool ( ::osiris::File::*open_function_type )( ::osiris::String const &,::osiris::uint32 ) ;
            typedef bool ( File_wrapper::*default_open_function_type )( ::osiris::String const &,::osiris::uint32 ) ;
            
            File_exposer.def( 
                "open"
                , open_function_type(&::osiris::File::open)
                , default_open_function_type(&File_wrapper::default_open)
                , ( ::boost::python::arg("filename"), ::boost::python::arg("flags") ) );
        
        }
        { //::osiris::File::is_open
        
            typedef bool ( ::osiris::File::*is_open_function_type )(  ) const;
            typedef bool ( File_wrapper::*default_is_open_function_type )(  ) const;
            
            File_exposer.def( 
                "is_open"
                , is_open_function_type(&::osiris::File::is_open)
                , default_is_open_function_type(&File_wrapper::default_is_open) );
        
        }
        { //::osiris::File::close
        
            typedef bool ( ::osiris::File::*close_function_type )(  ) ;
            typedef bool ( File_wrapper::*default_close_function_type )(  ) ;
            
            File_exposer.def( 
                "close"
                , close_function_type(&::osiris::File::close)
                , default_close_function_type(&File_wrapper::default_close) );
        
        }
        { //::osiris::File::read
        
            typedef ::osiris::uint32 ( ::osiris::File::*read_function_type )( void *,::osiris::uint32 ) const;
            typedef ::osiris::uint32 ( File_wrapper::*default_read_function_type )( void *,::osiris::uint32 ) const;
            
            File_exposer.def( 
                "read"
                , read_function_type(&::osiris::File::read)
                , default_read_function_type(&File_wrapper::default_read)
                , ( ::boost::python::arg("v"), ::boost::python::arg("size") ) );
        
        }
        { //::osiris::File::write
        
            typedef ::osiris::uint32 ( ::osiris::File::*write_function_type )( void const *,::osiris::uint32 ) ;
            typedef ::osiris::uint32 ( File_wrapper::*default_write_function_type )( void const *,::osiris::uint32 ) ;
            
            File_exposer.def( 
                "write"
                , write_function_type(&::osiris::File::write)
                , default_write_function_type(&File_wrapper::default_write)
                , ( ::boost::python::arg("v"), ::boost::python::arg("size") ) );
        
        }
        { //::osiris::File::seek
        
            typedef bool ( ::osiris::File::*seek_function_type )( ::osiris::uint64,::osiris::SeekPosition ) const;
            typedef bool ( File_wrapper::*default_seek_function_type )( ::osiris::uint64,::osiris::SeekPosition ) const;
            
            File_exposer.def( 
                "seek"
                , seek_function_type(&::osiris::File::seek)
                , default_seek_function_type(&File_wrapper::default_seek)
                , ( ::boost::python::arg("offset"), ::boost::python::arg("from") ) );
        
        }
        { //::osiris::File::position
        
            typedef ::osiris::uint64 ( ::osiris::File::*position_function_type )(  ) const;
            typedef ::osiris::uint64 ( File_wrapper::*default_position_function_type )(  ) const;
            
            File_exposer.def( 
                "position"
                , position_function_type(&::osiris::File::position)
                , default_position_function_type(&File_wrapper::default_position) );
        
        }
        { //::osiris::File::size
        
            typedef ::osiris::uint64 ( ::osiris::File::*size_function_type )(  ) const;
            typedef ::osiris::uint64 ( File_wrapper::*default_size_function_type )(  ) const;
            
            File_exposer.def( 
                "size"
                , size_function_type(&::osiris::File::size)
                , default_size_function_type(&File_wrapper::default_size) );
        
        }
        { //::osiris::File::flush
        
            typedef bool ( ::osiris::File::*flush_function_type )(  ) ;
            typedef bool ( File_wrapper::*default_flush_function_type )(  ) ;
            
            File_exposer.def( 
                "flush"
                , flush_function_type(&::osiris::File::flush)
                , default_flush_function_type(&File_wrapper::default_flush) );
        
        }
        { //::osiris::File::eof
        
            typedef bool ( ::osiris::File::*eof_function_type )(  ) const;
            typedef bool ( File_wrapper::*default_eof_function_type )(  ) const;
            
            File_exposer.def( 
                "eof"
                , eof_function_type(&::osiris::File::eof)
                , default_eof_function_type(&File_wrapper::default_eof) );
        
        }
        { //::osiris::File::getStats
        
            typedef boost::python::object ( *getStats_function_type )( ::osiris::File const &,::boost::posix_time::ptime *,::boost::posix_time::ptime *,::boost::posix_time::ptime * );
            
            File_exposer.def( 
                "getStats"
                , getStats_function_type( &File_wrapper::getStats )
                , ( ::boost::python::arg("inst"), ::boost::python::arg("timeCreation"), ::boost::python::arg("timeLastModify")=(nullptr), ::boost::python::arg("timeLastAccess")=(nullptr) ) );
        
        }
        { //::osiris::IStream::peek
        
            typedef ::osiris::uint32 ( ::osiris::IStream::*peek_function_type )( void *,::osiris::uint32 ) const;
            typedef ::osiris::uint32 ( File_wrapper::*default_peek_function_type )( void *,::osiris::uint32 ) const;
            
            File_exposer.def( 
                "peek"
                , peek_function_type(&::osiris::IStream::peek)
                , default_peek_function_type(&File_wrapper::default_peek)
                , ( ::boost::python::arg("v"), ::boost::python::arg("size") ) );
        
        }
        { //property "handle"[fget=::osiris::File::getHandle]
        
            typedef ::FILE * ( ::osiris::File::*fget )(  ) const;
            
            File_exposer.add_property( 
                "handle"
                , ::boost::python::make_function( 
                      fget( &::osiris::File::getHandle )
                    , bp::return_value_policy< bp::reference_existing_object >() ) 
                , "get property, built on top of \"FILE * osiris::File::getHandle() const [member function]\"" );
        
        }
        ::boost::python::register_ptr_to_python< boost::shared_ptr< ::osiris::File > >();
        ::boost::python::implicitly_convertible< boost::shared_ptr< ::osiris::File >, boost::shared_ptr< ::boost::noncopyable_::noncopyable > >();
        ::boost::python::implicitly_convertible< boost::shared_ptr< ::osiris::File >, boost::shared_ptr< ::osiris::Object > >();
        ::boost::python::implicitly_convertible< boost::shared_ptr< ::osiris::TextFile >, boost::shared_ptr< ::osiris::File > >();
    }

}
コード例 #3
0
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 );
    }

}