Esempio n. 1
0
void register_HtmlLinkTag_class(){

    { //::osiris::HtmlLinkTag
        typedef ::boost::python::class_< HtmlLinkTag_wrapper, ::boost::noncopyable > HtmlLinkTag_exposer_t;
        HtmlLinkTag_exposer_t HtmlLinkTag_exposer = HtmlLinkTag_exposer_t( "HtmlLinkTag", ::boost::python::no_init );
        ::boost::python::scope HtmlLinkTag_scope( HtmlLinkTag_exposer );
        HtmlLinkTag_exposer.def( ::boost::python::init< >() );
        { //::osiris::HtmlLinkTag::getRel
        
            typedef boost::python::object ( *getRel_function_type )( ::osiris::HtmlLinkTag const & );
            
            HtmlLinkTag_exposer.def( 
                "getRel"
                , getRel_function_type( &HtmlLinkTag_wrapper::getRel ) );
        
        }
        { //::osiris::HtmlLinkTag::getHref
        
            typedef boost::python::object ( *getHref_function_type )( ::osiris::HtmlLinkTag const & );
            
            HtmlLinkTag_exposer.def( 
                "getHref"
                , getHref_function_type( &HtmlLinkTag_wrapper::getHref ) );
        
        }
        { //::osiris::HtmlLinkTag::getType
        
            typedef boost::python::object ( *getType_function_type )( ::osiris::HtmlLinkTag const & );
            
            HtmlLinkTag_exposer.def( 
                "getType"
                , getType_function_type( &HtmlLinkTag_wrapper::getType ) );
        
        }
        { //::osiris::HtmlLinkTag::getTitle
        
            typedef boost::python::object ( *getTitle_function_type )( ::osiris::HtmlLinkTag const & );
            
            HtmlLinkTag_exposer.def( 
                "getTitle"
                , getTitle_function_type( &HtmlLinkTag_wrapper::getTitle ) );
        
        }
        { //::osiris::HtmlLinkTag::getHreflang
        
            typedef boost::python::object ( *getHreflang_function_type )( ::osiris::HtmlLinkTag const & );
            
            HtmlLinkTag_exposer.def( 
                "getHreflang"
                , getHreflang_function_type( &HtmlLinkTag_wrapper::getHreflang ) );
        
        }
        { //::osiris::HtmlLinkTag::create
        
            typedef boost::python::object ( *create_function_type )( ::osiris::String const &,::osiris::String const & );
            
            HtmlLinkTag_exposer.def( 
                "create"
                , create_function_type( &HtmlLinkTag_wrapper::create )
                , ( ::boost::python::arg("rel"), ::boost::python::arg("href") ) );
        
        }
        { //::osiris::HtmlLinkTag::render
        
            typedef void ( ::osiris::HtmlLinkTag::*render_function_type )( ::osiris::HtmlWriter & ) ;
            typedef void ( HtmlLinkTag_wrapper::*default_render_function_type )( ::osiris::HtmlWriter & ) ;
            
            HtmlLinkTag_exposer.def( 
                "render"
                , render_function_type(&::osiris::HtmlLinkTag::render)
                , default_render_function_type(&HtmlLinkTag_wrapper::default_render)
                , ( ::boost::python::arg("writer") ) );
        
        }
        { //::osiris::HtmlLinkTag::setHref
        
            typedef void ( *setHref_function_type )( ::osiris::HtmlLinkTag &,::osiris::String const & );
            
            HtmlLinkTag_exposer.def( 
                "setHref"
                , setHref_function_type( &HtmlLinkTag_wrapper::setHref )
                , ( ::boost::python::arg("inst"), ::boost::python::arg("href") ) );
        
        }
        { //::osiris::HtmlLinkTag::setHreflang
        
            typedef void ( *setHreflang_function_type )( ::osiris::HtmlLinkTag &,::osiris::String const & );
            
            HtmlLinkTag_exposer.def( 
                "setHreflang"
                , setHreflang_function_type( &HtmlLinkTag_wrapper::setHreflang )
                , ( ::boost::python::arg("inst"), ::boost::python::arg("hreflang") ) );
        
        }
        { //::osiris::HtmlLinkTag::setRel
        
            typedef void ( *setRel_function_type )( ::osiris::HtmlLinkTag &,::osiris::String const & );
            
            HtmlLinkTag_exposer.def( 
                "setRel"
                , setRel_function_type( &HtmlLinkTag_wrapper::setRel )
                , ( ::boost::python::arg("inst"), ::boost::python::arg("rel") ) );
        
        }
        { //::osiris::HtmlLinkTag::setTitle
        
            typedef void ( *setTitle_function_type )( ::osiris::HtmlLinkTag &,::osiris::String const & );
            
            HtmlLinkTag_exposer.def( 
                "setTitle"
                , setTitle_function_type( &HtmlLinkTag_wrapper::setTitle )
                , ( ::boost::python::arg("inst"), ::boost::python::arg("title") ) );
        
        }
        { //::osiris::HtmlLinkTag::setType
        
            typedef void ( *setType_function_type )( ::osiris::HtmlLinkTag &,::osiris::String const & );
            
            HtmlLinkTag_exposer.def( 
                "setType"
                , setType_function_type( &HtmlLinkTag_wrapper::setType )
                , ( ::boost::python::arg("inst"), ::boost::python::arg("type") ) );
        
        }
        HtmlLinkTag_exposer.staticmethod( "create" );
        { //property "rel"[fget=::osiris::HtmlLinkTag::getRel, fset=::osiris::HtmlLinkTag::setRel]
        
            typedef ::osiris::String const & ( ::osiris::HtmlLinkTag::*fget )(  ) const;
            typedef void ( ::osiris::HtmlLinkTag::*fset )( ::osiris::String const & ) ;
            
            HtmlLinkTag_exposer.add_property( 
                "rel"
                , ::boost::python::make_function( 
                      fget( &::osiris::HtmlLinkTag::getRel )
                    , bp::return_value_policy< bp::copy_const_reference >() ) 
                , fset( &::osiris::HtmlLinkTag::setRel )
                , "get\\set property, built on top of \"osiris::String const & osiris::HtmlLinkTag::getRel() const [member function]\" and \"void osiris::HtmlLinkTag::setRel(osiris::String const & rel) [member function]\"" );
        
        }
        { //property "href"[fget=::osiris::HtmlLinkTag::getHref, fset=::osiris::HtmlLinkTag::setHref]
        
            typedef ::osiris::String const & ( ::osiris::HtmlLinkTag::*fget )(  ) const;
            typedef void ( ::osiris::HtmlLinkTag::*fset )( ::osiris::String const & ) ;
            
            HtmlLinkTag_exposer.add_property( 
                "href"
                , ::boost::python::make_function( 
                      fget( &::osiris::HtmlLinkTag::getHref )
                    , bp::return_value_policy< bp::copy_const_reference >() ) 
                , fset( &::osiris::HtmlLinkTag::setHref )
                , "get\\set property, built on top of \"osiris::String const & osiris::HtmlLinkTag::getHref() const [member function]\" and \"void osiris::HtmlLinkTag::setHref(osiris::String const & href) [member function]\"" );
        
        }
        { //property "type"[fget=::osiris::HtmlLinkTag::getType, fset=::osiris::HtmlLinkTag::setType]
        
            typedef ::osiris::String const & ( ::osiris::HtmlLinkTag::*fget )(  ) const;
            typedef void ( ::osiris::HtmlLinkTag::*fset )( ::osiris::String const & ) ;
            
            HtmlLinkTag_exposer.add_property( 
                "type"
                , ::boost::python::make_function( 
                      fget( &::osiris::HtmlLinkTag::getType )
                    , bp::return_value_policy< bp::copy_const_reference >() ) 
                , fset( &::osiris::HtmlLinkTag::setType )
                , "get\\set property, built on top of \"osiris::String const & osiris::HtmlLinkTag::getType() const [member function]\" and \"void osiris::HtmlLinkTag::setType(osiris::String const & type) [member function]\"" );
        
        }
        { //property "title"[fget=::osiris::HtmlLinkTag::getTitle, fset=::osiris::HtmlLinkTag::setTitle]
        
            typedef ::osiris::String const & ( ::osiris::HtmlLinkTag::*fget )(  ) const;
            typedef void ( ::osiris::HtmlLinkTag::*fset )( ::osiris::String const & ) ;
            
            HtmlLinkTag_exposer.add_property( 
                "title"
                , ::boost::python::make_function( 
                      fget( &::osiris::HtmlLinkTag::getTitle )
                    , bp::return_value_policy< bp::copy_const_reference >() ) 
                , fset( &::osiris::HtmlLinkTag::setTitle )
                , "get\\set property, built on top of \"osiris::String const & osiris::HtmlLinkTag::getTitle() const [member function]\" and \"void osiris::HtmlLinkTag::setTitle(osiris::String const & title) [member function]\"" );
        
        }
        { //property "hreflang"[fget=::osiris::HtmlLinkTag::getHreflang, fset=::osiris::HtmlLinkTag::setHreflang]
        
            typedef ::osiris::String const & ( ::osiris::HtmlLinkTag::*fget )(  ) const;
            typedef void ( ::osiris::HtmlLinkTag::*fset )( ::osiris::String const & ) ;
            
            HtmlLinkTag_exposer.add_property( 
                "hreflang"
                , ::boost::python::make_function( 
                      fget( &::osiris::HtmlLinkTag::getHreflang )
                    , bp::return_value_policy< bp::copy_const_reference >() ) 
                , fset( &::osiris::HtmlLinkTag::setHreflang )
                , "get\\set property, built on top of \"osiris::String const & osiris::HtmlLinkTag::getHreflang() const [member function]\" and \"void osiris::HtmlLinkTag::setHreflang(osiris::String const & hreflang) [member function]\"" );
        
        }
        ::boost::python::register_ptr_to_python< boost::shared_ptr< ::osiris::HtmlLinkTag > >();
        ::boost::python::implicitly_convertible< boost::shared_ptr< ::osiris::HtmlLinkTag >, boost::shared_ptr< ::osiris::Object > >();
    }

}
Esempio n. 2
0
void register_DepthStencil_class(){

    { //::xfx::DepthStencil
        typedef bp::class_< xfx::DepthStencil, boost::noncopyable > DepthStencil_exposer_t;
        DepthStencil_exposer_t DepthStencil_exposer = DepthStencil_exposer_t( "DepthStencil", bp::init< >() );
        bp::scope DepthStencil_scope( DepthStencil_exposer );
        { //::xfx::DepthStencil::Create
        
            typedef ::HRESULT ( ::xfx::DepthStencil::*create_function_type )( unsigned int,unsigned int,::D3DFORMAT const & ) ;
            
            DepthStencil_exposer.def( 
                "create"
                , create_function_type( &::xfx::DepthStencil::Create )
                , ( bp::arg("width"), bp::arg("height"), bp::arg("fmt")=::D3DFMT_D24S8 ) );
        
        }
        { //::xfx::DepthStencil::Free
        
            typedef void ( ::xfx::DepthStencil::*free_function_type )(  ) ;
            
            DepthStencil_exposer.def( 
                "free"
                , free_function_type( &::xfx::DepthStencil::Free ) );
        
        }
        { //property "width"[fget=::xfx::DepthStencil::GetWidth]
        
            typedef unsigned int ( ::xfx::DepthStencil::*fget )(  ) const;
            
            DepthStencil_exposer.add_property( 
                "width"
                , fget( &::xfx::DepthStencil::GetWidth )
                , "get property, built on top of \"unsigned int xfx::DepthStencil::GetWidth() const [member function]\"" );
        
        }
        { //property "height"[fget=::xfx::DepthStencil::GetHeight]
        
            typedef unsigned int ( ::xfx::DepthStencil::*fget )(  ) const;
            
            DepthStencil_exposer.add_property( 
                "height"
                , fget( &::xfx::DepthStencil::GetHeight )
                , "get property, built on top of \"unsigned int xfx::DepthStencil::GetHeight() const [member function]\"" );
        
        }
        { //property "empty"[fget=::xfx::DepthStencil::IsEmpty]
        
            typedef bool ( ::xfx::DepthStencil::*fget )(  ) const;
            
            DepthStencil_exposer.add_property( 
                "empty"
                , fget( &::xfx::DepthStencil::IsEmpty )
                , "get property, built on top of \"bool xfx::DepthStencil::IsEmpty() const [member function]\"" );
        
        }
        bp::register_ptr_to_python< boost::shared_ptr< xfx::DepthStencil > >();
        bp::register_ptr_to_python< boost::shared_ptr< xfx::DepthStencil const > >( );
        bp::implicitly_convertible< boost::shared_ptr< xfx::DepthStencil >, boost::shared_ptr< xfx::DepthStencil const > >( );
    }

}