Exemple #1
0
void register_IHttpDirectory_class(){

    { //::osiris::IHttpDirectory
        typedef ::boost::python::class_< IHttpDirectory_wrapper, ::boost::noncopyable > IHttpDirectory_exposer_t;
        IHttpDirectory_exposer_t IHttpDirectory_exposer = IHttpDirectory_exposer_t( "IHttpDirectory", ::boost::python::init< ::osiris::String const & >(( ::boost::python::arg("name") )) );
        ::boost::python::scope IHttpDirectory_scope( IHttpDirectory_exposer );
        ::boost::python::enum_< ::osiris::IHttpDirectory::Restrictions>("Restrictions")
            .value("drNone", ::osiris::IHttpDirectory::drNone)
            .value("drLocal", ::osiris::IHttpDirectory::drLocal)
            .export_values()
            ;
        { //::osiris::IHttpDirectory::isActive
        
            typedef boost::python::object ( *isActive_function_type )( ::osiris::IHttpDirectory const & );
            
            IHttpDirectory_exposer.def( 
                "isActive"
                , isActive_function_type( &IHttpDirectory_wrapper::isActive ) );
        
        }
        { //::osiris::IHttpDirectory::getRestriction
        
            typedef boost::python::object ( *getRestriction_function_type )( ::osiris::IHttpDirectory const & );
            
            IHttpDirectory_exposer.def( 
                "getRestriction"
                , getRestriction_function_type( &IHttpDirectory_wrapper::getRestriction ) );
        
        }
        { //::osiris::IHttpDirectory::getName
        
            typedef boost::python::object ( *getName_function_type )( ::osiris::IHttpDirectory const & );
            
            IHttpDirectory_exposer.def( 
                "getName"
                , getName_function_type( &IHttpDirectory_wrapper::getName ) );
        
        }
        { //::osiris::IHttpDirectory::getParent
        
            typedef boost::python::object ( *getParent_function_type )( ::osiris::IHttpDirectory const & );
            
            IHttpDirectory_exposer.def( 
                "getParent"
                , getParent_function_type( &IHttpDirectory_wrapper::getParent ) );
        
        }
        { //::osiris::IHttpDirectory::getPath
        
            typedef boost::python::object ( *getPath_function_type )( ::osiris::IHttpDirectory const & );
            
            IHttpDirectory_exposer.def( 
                "getPath"
                , getPath_function_type( &IHttpDirectory_wrapper::getPath ) );
        
        }
        { //::osiris::IHttpDirectory::createSessionState
        
            typedef ::boost::shared_ptr< osiris::HttpSessionState > ( ::osiris::IHttpDirectory::*createSessionState_function_type )( ::boost::shared_ptr< osiris::HttpSession >,::osiris::TimeDuration const & ) const;
            typedef ::boost::shared_ptr< osiris::HttpSessionState > ( IHttpDirectory_wrapper::*default_createSessionState_function_type )( ::boost::shared_ptr< osiris::HttpSession >,::osiris::TimeDuration const & ) const;
            
            IHttpDirectory_exposer.def( 
                "createSessionState"
                , createSessionState_function_type(&::osiris::IHttpDirectory::createSessionState)
                , default_createSessionState_function_type(&IHttpDirectory_wrapper::default_createSessionState)
                , ( ::boost::python::arg("session"), ::boost::python::arg("duration") ) );
        
        }
        { //::osiris::IHttpDirectory::process
        
            typedef bool ( ::osiris::IHttpDirectory::*process_function_type )( ::boost::shared_ptr< osiris::HttpSession >,::osiris::HttpPath const & ) ;
            typedef bool ( IHttpDirectory_wrapper::*default_process_function_type )( ::boost::shared_ptr< osiris::HttpSession >,::osiris::HttpPath const & ) ;
            
            IHttpDirectory_exposer.def( 
                "process"
                , process_function_type(&::osiris::IHttpDirectory::process)
                , default_process_function_type(&IHttpDirectory_wrapper::default_process)
                , ( ::boost::python::arg("session"), ::boost::python::arg("path") ) );
        
        }
        { //::osiris::IHttpDirectory::handle
        
            typedef bool ( IHttpDirectory_wrapper::*handle_function_type )( ::boost::shared_ptr< osiris::HttpSession >,::osiris::HttpPath const & ) ;
            
            IHttpDirectory_exposer.def( 
                "handle"
                , handle_function_type( &IHttpDirectory_wrapper::handle )
                , ( ::boost::python::arg("session"), ::boost::python::arg("path") ) );
        
        }
        { //::osiris::IHttpDirectory::addDirectory
        
            typedef boost::python::object ( *addDirectory_function_type )( ::osiris::IHttpDirectory &,::boost::shared_ptr<osiris::IHttpDirectory> );
            
            IHttpDirectory_exposer.def( 
                "addDirectory"
                , addDirectory_function_type( &IHttpDirectory_wrapper::addDirectory )
                , ( ::boost::python::arg("inst"), ::boost::python::arg("directory") ) );
        
        }
        { //::osiris::IHttpDirectory::getDirectory
        
            typedef boost::python::object ( *getDirectory_function_type )( ::osiris::IHttpDirectory const &,::osiris::String const & );
            
            IHttpDirectory_exposer.def( 
                "getDirectory"
                , getDirectory_function_type( &IHttpDirectory_wrapper::getDirectory )
                , ( ::boost::python::arg("inst"), ::boost::python::arg("name") ) );
        
        }
        { //::osiris::IHttpDirectory::getSessionCookie
        
            typedef ::osiris::String ( ::osiris::IHttpDirectory::*getSessionCookie_function_type )( ::boost::shared_ptr< osiris::HttpSession > ) const;
            typedef ::osiris::String ( IHttpDirectory_wrapper::*default_getSessionCookie_function_type )( ::boost::shared_ptr< osiris::HttpSession > ) const;
            
            IHttpDirectory_exposer.def( 
                "getSessionCookie"
                , getSessionCookie_function_type(&::osiris::IHttpDirectory::getSessionCookie)
                , default_getSessionCookie_function_type(&IHttpDirectory_wrapper::default_getSessionCookie)
                , ( ::boost::python::arg("session") ) );
        
        }
        { //::osiris::IHttpDirectory::hasDirectory
        
            typedef boost::python::object ( *hasDirectory_function_type )( ::osiris::IHttpDirectory const &,::osiris::String const & );
            
            IHttpDirectory_exposer.def( 
                "hasDirectory"
                , hasDirectory_function_type( &IHttpDirectory_wrapper::hasDirectory )
                , ( ::boost::python::arg("inst"), ::boost::python::arg("name") ) );
        
        }
        { //::osiris::IHttpDirectory::isAccessible
        
            typedef bool ( ::osiris::IHttpDirectory::*isAccessible_function_type )( ::boost::shared_ptr< osiris::HttpSession > ) ;
            typedef bool ( IHttpDirectory_wrapper::*default_isAccessible_function_type )( ::boost::shared_ptr< osiris::HttpSession > ) ;
            
            IHttpDirectory_exposer.def( 
                "isAccessible"
                , isAccessible_function_type(&::osiris::IHttpDirectory::isAccessible)
                , default_isAccessible_function_type(&IHttpDirectory_wrapper::default_isAccessible)
                , ( ::boost::python::arg("session") ) );
        
        }
        { //::osiris::IHttpDirectory::removeDirectory
        
            typedef boost::python::object ( *removeDirectory_function_type )( ::osiris::IHttpDirectory &,::boost::shared_ptr<osiris::IHttpDirectory> );
            
            IHttpDirectory_exposer.def( 
                "removeDirectory"
                , removeDirectory_function_type( &IHttpDirectory_wrapper::removeDirectory_ec6e674ac47645d3f33925238eb4fa81 )
                , ( ::boost::python::arg("inst"), ::boost::python::arg("directory") ) );
        
        }
        { //::osiris::IHttpDirectory::removeDirectory
        
            typedef boost::python::object ( *removeDirectory_function_type )( ::osiris::IHttpDirectory &,::osiris::String const & );
            
            IHttpDirectory_exposer.def( 
                "removeDirectory"
                , removeDirectory_function_type( &IHttpDirectory_wrapper::removeDirectory_964e6fdc00c45b9783c4e5c9f62d01b8 )
                , ( ::boost::python::arg("inst"), ::boost::python::arg("name") ) );
        
        }
        { //::osiris::IHttpDirectory::setActive
        
            typedef void ( *setActive_function_type )( ::osiris::IHttpDirectory &,bool );
            
            IHttpDirectory_exposer.def( 
                "setActive"
                , setActive_function_type( &IHttpDirectory_wrapper::setActive )
                , ( ::boost::python::arg("inst"), ::boost::python::arg("active") ) );
        
        }
        { //::osiris::IHttpDirectory::setRestriction
        
            typedef void ( *setRestriction_function_type )( ::osiris::IHttpDirectory &,::osiris::IHttpDirectory::Restrictions );
            
            IHttpDirectory_exposer.def( 
                "setRestriction"
                , setRestriction_function_type( &IHttpDirectory_wrapper::setRestriction )
                , ( ::boost::python::arg("inst"), ::boost::python::arg("restriction") ) );
        
        }
        { //property "restriction"[fget=::osiris::IHttpDirectory::getRestriction, fset=::osiris::IHttpDirectory::setRestriction]
        
            typedef ::osiris::IHttpDirectory::Restrictions ( ::osiris::IHttpDirectory::*fget )(  ) const;
            typedef void ( ::osiris::IHttpDirectory::*fset )( ::osiris::IHttpDirectory::Restrictions ) ;
            
            IHttpDirectory_exposer.add_property( 
                "restriction"
                , fget( &::osiris::IHttpDirectory::getRestriction )
                , fset( &::osiris::IHttpDirectory::setRestriction )
                , "get\\set property, built on top of \"osiris::IHttpDirectory::Restrictions osiris::IHttpDirectory::getRestriction() const [member function]\" and \"void osiris::IHttpDirectory::setRestriction(osiris::IHttpDirectory::Restrictions restriction) [member function]\"" );
        
        }
        { //property "name"[fget=::osiris::IHttpDirectory::getName]
        
            typedef ::osiris::String const & ( ::osiris::IHttpDirectory::*fget )(  ) const;
            
            IHttpDirectory_exposer.add_property( 
                "name"
                , ::boost::python::make_function( 
                      fget( &::osiris::IHttpDirectory::getName )
                    , bp::return_value_policy< bp::copy_const_reference >() ) 
                , "get property, built on top of \"osiris::String const & osiris::IHttpDirectory::getName() const [member function]\"" );
        
        }
        { //property "parent"[fget=::osiris::IHttpDirectory::getParent]
        
            typedef ::boost::shared_ptr<osiris::IHttpDirectory> ( ::osiris::IHttpDirectory::*fget )(  ) const;
            
            IHttpDirectory_exposer.add_property( 
                "parent"
                , fget( &::osiris::IHttpDirectory::getParent )
                , "get property, built on top of \"boost::shared_ptr<osiris::IHttpDirectory> osiris::IHttpDirectory::getParent() const [member function]\"" );
        
        }
        { //property "path"[fget=::osiris::IHttpDirectory::getPath]
        
            typedef ::osiris::HttpPath ( ::osiris::IHttpDirectory::*fget )(  ) const;
            
            IHttpDirectory_exposer.add_property( 
                "path"
                , fget( &::osiris::IHttpDirectory::getPath )
                , "get property, built on top of \"osiris::HttpPath osiris::IHttpDirectory::getPath() const [member function]\"" );
        
        }
        ::boost::python::register_ptr_to_python< boost::shared_ptr< ::osiris::IHttpDirectory > >();
        ::boost::python::implicitly_convertible< boost::shared_ptr< ::osiris::IHttpDirectory >, boost::shared_ptr< ::boost::noncopyable_::noncopyable > >();
        ::boost::python::implicitly_convertible< boost::shared_ptr< ::osiris::IHttpDirectory >, boost::shared_ptr< ::osiris::Object > >();
        ::boost::python::implicitly_convertible< boost::shared_ptr< ::osiris::IHttpDirectory >, boost::shared_ptr< ::osiris::enable_this_ptr< osiris::IHttpDirectory > > >();
        ::boost::python::implicitly_convertible< boost::shared_ptr< ::osiris::HttpDirectoryCallback >, boost::shared_ptr< ::osiris::IHttpDirectory > >();
        ::boost::python::implicitly_convertible< boost::shared_ptr< ::osiris::HttpVirtualDirectory >, boost::shared_ptr< ::osiris::IHttpDirectory > >();
        ::boost::python::implicitly_convertible< boost::shared_ptr< ::osiris::HttpRootDirectory >, boost::shared_ptr< ::osiris::IHttpDirectory > >();
        ::boost::python::implicitly_convertible< boost::shared_ptr< ::osiris::HttpPhysicalDirectory >, boost::shared_ptr< ::osiris::IHttpDirectory > >();
        ::boost::python::implicitly_convertible< boost::shared_ptr< ::osiris::HttpEnumeratedDirectoryCallback >, boost::shared_ptr< ::osiris::IHttpDirectory > >();
    }

}
Exemple #2
0
void register_HttpContent_class(){

    { //::osiris::HttpContent
        typedef ::boost::python::class_< ::osiris::HttpContent > HttpContent_exposer_t;
        HttpContent_exposer_t HttpContent_exposer = HttpContent_exposer_t( "HttpContent", ::boost::python::init< >() );
        ::boost::python::scope HttpContent_scope( HttpContent_exposer );
        { //::osiris::HttpContent::getCompleted
        
            typedef boost::python::object ( *getCompleted_function_type )( ::osiris::HttpContent const & );
            
            HttpContent_exposer.def( 
                "getCompleted"
                , getCompleted_function_type( &getCompleted_a9f22a409da5d4d1af44a727c0e956de ) );
        
        }
        { //::osiris::HttpContent::getValid
        
            typedef boost::python::object ( *getValid_function_type )( ::osiris::HttpContent const & );
            
            HttpContent_exposer.def( 
                "getValid"
                , getValid_function_type( &getValid_41ceccaf277c037e1fa4462267571f11 ) );
        
        }
        { //::osiris::HttpContent::getContentEncoding
        
            typedef boost::python::object ( *getContentEncoding_function_type )( ::osiris::HttpContent const & );
            
            HttpContent_exposer.def( 
                "getContentEncoding"
                , getContentEncoding_function_type( &getContentEncoding_9ebf6f83bf297aa5d2ac41be02e8e03d ) );
        
        }
        { //::osiris::HttpContent::getContentType
        
            typedef boost::python::object ( *getContentType_function_type )( ::osiris::HttpContent const & );
            
            HttpContent_exposer.def( 
                "getContentType"
                , getContentType_function_type( &getContentType_5db5e1655caf0e18d28a208ca7bc49d3 ) );
        
        }
        { //::osiris::HttpContent::getTransferEncoding
        
            typedef boost::python::object ( *getTransferEncoding_function_type )( ::osiris::HttpContent const & );
            
            HttpContent_exposer.def( 
                "getTransferEncoding"
                , getTransferEncoding_function_type( &getTransferEncoding_aa883461c047cbbf5a23dd3edc54c50e ) );
        
        }
        { //::osiris::HttpContent::getContentLength
        
            typedef boost::python::object ( *getContentLength_function_type )( ::osiris::HttpContent const & );
            
            HttpContent_exposer.def( 
                "getContentLength"
                , getContentLength_function_type( &getContentLength_f1afae67b7701ac1262dbdb2f4291c83 ) );
        
        }
        { //::osiris::HttpContent::getBufferPtr
        
            typedef boost::python::object ( *getBufferPtr_function_type )( ::osiris::HttpContent const & );
            
            HttpContent_exposer.def( 
                "getBufferPtr"
                , getBufferPtr_function_type( &getBufferPtr_3a6855ece4ac75d707168ea160bf4215 ) );
        
        }
        { //::osiris::HttpContent::getContentPtr
        
            typedef boost::python::object ( *getContentPtr_function_type )( ::osiris::HttpContent const & );
            
            HttpContent_exposer.def( 
                "getContentPtr"
                , getContentPtr_function_type( &getContentPtr_6d2a5dce8619bf4e163d7181a842970b ) );
        
        }
        { //::osiris::HttpContent::getContent
        
            typedef boost::python::object ( *getContent_function_type )( ::osiris::HttpContent const & );
            
            HttpContent_exposer.def( 
                "getContent"
                , getContent_function_type( &getContent_e1bf959a7e378a16a0dbbabb2bc430b2 ) );
        
        }
        { //::osiris::HttpContent::empty
        
            typedef boost::python::object ( *empty_function_type )( ::osiris::HttpContent const & );
            
            HttpContent_exposer.def( 
                "empty"
                , empty_function_type( &empty_01d71dddd722d64fbcb92f73c80615cf ) );
        
        }
        { //::osiris::HttpContent::process
        
            typedef void ( *process_function_type )( ::osiris::HttpContent &,::osiris::byte const *,::osiris::uint32 );
            
            HttpContent_exposer.def( 
                "process"
                , process_function_type( &process_68c22ae749d5c67a7f8a2de190b84717 )
                , ( ::boost::python::arg("inst"), ::boost::python::arg("data"), ::boost::python::arg("size") ) );
        
        }
        { //::osiris::HttpContent::toString
        
            typedef boost::python::object ( *toString_function_type )( ::osiris::HttpContent const & );
            
            HttpContent_exposer.def( 
                "toString"
                , toString_function_type( &toString_0ce4d90cea03c98a196f18fec8292995 ) );
        
        }
        { //::osiris::HttpContent::setContentEncoding
        
            typedef void ( *setContentEncoding_function_type )( ::osiris::HttpContent &,::osiris::HttpContentEncoding );
            
            HttpContent_exposer.def( 
                "setContentEncoding"
                , setContentEncoding_function_type( &setContentEncoding_06b416bbfc2516971660baf8d09fdcd1 )
                , ( ::boost::python::arg("inst"), ::boost::python::arg("contentEncoding") ) );
        
        }
        { //::osiris::HttpContent::setContentLength
        
            typedef void ( *setContentLength_function_type )( ::osiris::HttpContent &,::osiris::uint32 );
            
            HttpContent_exposer.def( 
                "setContentLength"
                , setContentLength_function_type( &setContentLength_d655353b91afa8263c9aba9e43cc7c19 )
                , ( ::boost::python::arg("inst"), ::boost::python::arg("contentLength") ) );
        
        }
        { //::osiris::HttpContent::setContentType
        
            typedef void ( *setContentType_function_type )( ::osiris::HttpContent &,::std::string const & );
            
            HttpContent_exposer.def( 
                "setContentType"
                , setContentType_function_type( &setContentType_b44460f033364f13778f84fc24d215b2 )
                , ( ::boost::python::arg("inst"), ::boost::python::arg("contentType") ) );
        
        }
        { //::osiris::HttpContent::setTransferEncoding
        
            typedef void ( *setTransferEncoding_function_type )( ::osiris::HttpContent &,::osiris::HttpTransferEncoding );
            
            HttpContent_exposer.def( 
                "setTransferEncoding"
                , setTransferEncoding_function_type( &setTransferEncoding_9bd2d2bb62cd39f0579218b6c045986f )
                , ( ::boost::python::arg("inst"), ::boost::python::arg("transferEncoding") ) );
        
        }
        { //property "contentEncoding"[fget=::osiris::HttpContent::getContentEncoding, fset=::osiris::HttpContent::setContentEncoding]
        
            typedef ::osiris::HttpContentEncoding ( ::osiris::HttpContent::*fget )(  ) const;
            typedef void ( ::osiris::HttpContent::*fset )( ::osiris::HttpContentEncoding ) ;
            
            HttpContent_exposer.add_property( 
                "contentEncoding"
                , fget( &::osiris::HttpContent::getContentEncoding )
                , fset( &::osiris::HttpContent::setContentEncoding )
                , "get\\set property, built on top of \"osiris::HttpContentEncoding osiris::HttpContent::getContentEncoding() const [member function]\" and \"void osiris::HttpContent::setContentEncoding(osiris::HttpContentEncoding contentEncoding) [member function]\"" );
        
        }
        { //property "contentType"[fget=::osiris::HttpContent::getContentType, fset=::osiris::HttpContent::setContentType]
        
            typedef ::std::string const & ( ::osiris::HttpContent::*fget )(  ) const;
            typedef void ( ::osiris::HttpContent::*fset )( ::std::string const & ) ;
            
            HttpContent_exposer.add_property( 
                "contentType"
                , ::boost::python::make_function( 
                      fget( &::osiris::HttpContent::getContentType )
                    , bp::return_value_policy< bp::copy_const_reference >() ) 
                , fset( &::osiris::HttpContent::setContentType )
                , "get\\set property, built on top of \"std::string const & osiris::HttpContent::getContentType() const [member function]\" and \"void osiris::HttpContent::setContentType(std::string const & contentType) [member function]\"" );
        
        }
        { //property "transferEncoding"[fget=::osiris::HttpContent::getTransferEncoding, fset=::osiris::HttpContent::setTransferEncoding]
        
            typedef ::osiris::HttpTransferEncoding ( ::osiris::HttpContent::*fget )(  ) const;
            typedef void ( ::osiris::HttpContent::*fset )( ::osiris::HttpTransferEncoding ) ;
            
            HttpContent_exposer.add_property( 
                "transferEncoding"
                , fget( &::osiris::HttpContent::getTransferEncoding )
                , fset( &::osiris::HttpContent::setTransferEncoding )
                , "get\\set property, built on top of \"osiris::HttpTransferEncoding osiris::HttpContent::getTransferEncoding() const [member function]\" and \"void osiris::HttpContent::setTransferEncoding(osiris::HttpTransferEncoding transferEncoding) [member function]\"" );
        
        }
        { //property "contentLength"[fget=::osiris::HttpContent::getContentLength, fset=::osiris::HttpContent::setContentLength]
        
            typedef ::osiris::uint32 ( ::osiris::HttpContent::*fget )(  ) const;
            typedef void ( ::osiris::HttpContent::*fset )( ::osiris::uint32 ) ;
            
            HttpContent_exposer.add_property( 
                "contentLength"
                , fget( &::osiris::HttpContent::getContentLength )
                , fset( &::osiris::HttpContent::setContentLength )
                , "get\\set property, built on top of \"osiris::uint32 osiris::HttpContent::getContentLength() const [member function]\" and \"void osiris::HttpContent::setContentLength(osiris::uint32 contentLength) [member function]\"" );
        
        }
        { //property "completed"[fget=::osiris::HttpContent::getCompleted]
        
            typedef bool ( ::osiris::HttpContent::*fget )(  ) const;
            
            HttpContent_exposer.add_property( 
                "completed"
                , fget( &::osiris::HttpContent::getCompleted )
                , "get property, built on top of \"bool osiris::HttpContent::getCompleted() const [member function]\"" );
        
        }
        { //property "valid"[fget=::osiris::HttpContent::getValid]
        
            typedef bool ( ::osiris::HttpContent::*fget )(  ) const;
            
            HttpContent_exposer.add_property( 
                "valid"
                , fget( &::osiris::HttpContent::getValid )
                , "get property, built on top of \"bool osiris::HttpContent::getValid() const [member function]\"" );
        
        }
        { //property "bufferPtr"[fget=::osiris::HttpContent::getBufferPtr]
        
            typedef ::boost::shared_ptr<osiris::Buffer> ( ::osiris::HttpContent::*fget )(  ) const;
            
            HttpContent_exposer.add_property( 
                "bufferPtr"
                , fget( &::osiris::HttpContent::getBufferPtr )
                , "get property, built on top of \"boost::shared_ptr<osiris::Buffer> osiris::HttpContent::getBufferPtr() const [member function]\"" );
        
        }
        { //property "contentPtr"[fget=::osiris::HttpContent::getContentPtr]
        
            typedef ::boost::shared_ptr<osiris::Buffer> ( ::osiris::HttpContent::*fget )(  ) const;
            
            HttpContent_exposer.add_property( 
                "contentPtr"
                , fget( &::osiris::HttpContent::getContentPtr )
                , "get property, built on top of \"boost::shared_ptr<osiris::Buffer> osiris::HttpContent::getContentPtr() const [member function]\"" );
        
        }
        { //property "content"[fget=::osiris::HttpContent::getContent]
        
            typedef ::osiris::Buffer const & ( ::osiris::HttpContent::*fget )(  ) const;
            
            HttpContent_exposer.add_property( 
                "content"
                , ::boost::python::make_function( 
                      fget( &::osiris::HttpContent::getContent )
                    , bp::return_value_policy< bp::copy_const_reference >() ) 
                , "get property, built on top of \"osiris::Buffer const & osiris::HttpContent::getContent() const [member function]\"" );
        
        }
        ::boost::python::register_ptr_to_python< boost::shared_ptr< ::osiris::HttpContent > >();
        ::boost::python::implicitly_convertible< boost::shared_ptr< ::osiris::HttpContent >, boost::shared_ptr< ::osiris::Object > >();
    }

}
Exemple #3
0
void register_HttpVirtualDirectory_class(){

    { //::osiris::HttpVirtualDirectory
        typedef ::boost::python::class_< HttpVirtualDirectory_wrapper, ::boost::python::bases< ::osiris::IHttpDirectory >, ::boost::noncopyable > HttpVirtualDirectory_exposer_t;
        HttpVirtualDirectory_exposer_t HttpVirtualDirectory_exposer = HttpVirtualDirectory_exposer_t( "HttpVirtualDirectory", ::boost::python::init< ::osiris::String const & >(( ::boost::python::arg("name") )) );
        ::boost::python::scope HttpVirtualDirectory_scope( HttpVirtualDirectory_exposer );
        ::boost::python::implicitly_convertible< ::osiris::String const &, ::osiris::HttpVirtualDirectory >();
        { //::osiris::HttpVirtualDirectory::getHandlers
        
            typedef boost::python::object ( *getHandlers_function_type )( ::osiris::HttpVirtualDirectory const & );
            
            HttpVirtualDirectory_exposer.def( 
                "getHandlers"
                , getHandlers_function_type( &HttpVirtualDirectory_wrapper::getHandlers ) );
        
        }
        { //::osiris::HttpVirtualDirectory::handle
        
            typedef bool ( HttpVirtualDirectory_wrapper::*handle_function_type )( ::boost::shared_ptr< osiris::HttpSession >,::osiris::HttpPath const & ) ;
            
            HttpVirtualDirectory_exposer.def( 
                "handle"
                , handle_function_type( &HttpVirtualDirectory_wrapper::default_handle )
                , ( ::boost::python::arg("session"), ::boost::python::arg("path") ) );
        
        }
        { //::osiris::HttpVirtualDirectory::addHandler
        
            typedef void ( *addHandler_function_type )( ::osiris::HttpVirtualDirectory &,::boost::shared_ptr<osiris::IHttpDirectoryHandler> );
            
            HttpVirtualDirectory_exposer.def( 
                "addHandler"
                , addHandler_function_type( &HttpVirtualDirectory_wrapper::addHandler )
                , ( ::boost::python::arg("inst"), ::boost::python::arg("handler") ) );
        
        }
        { //::osiris::HttpVirtualDirectory::removeHandler
        
            typedef void ( *removeHandler_function_type )( ::osiris::HttpVirtualDirectory &,::boost::shared_ptr<osiris::IHttpDirectoryHandler> );
            
            HttpVirtualDirectory_exposer.def( 
                "removeHandler"
                , removeHandler_function_type( &HttpVirtualDirectory_wrapper::removeHandler )
                , ( ::boost::python::arg("inst"), ::boost::python::arg("handler") ) );
        
        }
        { //::osiris::IHttpDirectory::createSessionState
        
            typedef ::boost::shared_ptr< osiris::HttpSessionState > ( ::osiris::IHttpDirectory::*createSessionState_function_type )( ::boost::shared_ptr< osiris::HttpSession >,::osiris::TimeDuration const & ) const;
            typedef ::boost::shared_ptr< osiris::HttpSessionState > ( HttpVirtualDirectory_wrapper::*default_createSessionState_function_type )( ::boost::shared_ptr< osiris::HttpSession >,::osiris::TimeDuration const & ) const;
            
            HttpVirtualDirectory_exposer.def( 
                "createSessionState"
                , createSessionState_function_type(&::osiris::IHttpDirectory::createSessionState)
                , default_createSessionState_function_type(&HttpVirtualDirectory_wrapper::default_createSessionState)
                , ( ::boost::python::arg("session"), ::boost::python::arg("duration") ) );
        
        }
        { //::osiris::IHttpDirectory::getSessionCookie
        
            typedef ::osiris::String ( ::osiris::IHttpDirectory::*getSessionCookie_function_type )( ::boost::shared_ptr< osiris::HttpSession > ) const;
            typedef ::osiris::String ( HttpVirtualDirectory_wrapper::*default_getSessionCookie_function_type )( ::boost::shared_ptr< osiris::HttpSession > ) const;
            
            HttpVirtualDirectory_exposer.def( 
                "getSessionCookie"
                , getSessionCookie_function_type(&::osiris::IHttpDirectory::getSessionCookie)
                , default_getSessionCookie_function_type(&HttpVirtualDirectory_wrapper::default_getSessionCookie)
                , ( ::boost::python::arg("session") ) );
        
        }
        { //::osiris::IHttpDirectory::isAccessible
        
            typedef bool ( ::osiris::IHttpDirectory::*isAccessible_function_type )( ::boost::shared_ptr< osiris::HttpSession > ) ;
            typedef bool ( HttpVirtualDirectory_wrapper::*default_isAccessible_function_type )( ::boost::shared_ptr< osiris::HttpSession > ) ;
            
            HttpVirtualDirectory_exposer.def( 
                "isAccessible"
                , isAccessible_function_type(&::osiris::IHttpDirectory::isAccessible)
                , default_isAccessible_function_type(&HttpVirtualDirectory_wrapper::default_isAccessible)
                , ( ::boost::python::arg("session") ) );
        
        }
        { //::osiris::IHttpDirectory::process
        
            typedef bool ( ::osiris::IHttpDirectory::*process_function_type )( ::boost::shared_ptr< osiris::HttpSession >,::osiris::HttpPath const & ) ;
            typedef bool ( HttpVirtualDirectory_wrapper::*default_process_function_type )( ::boost::shared_ptr< osiris::HttpSession >,::osiris::HttpPath const & ) ;
            
            HttpVirtualDirectory_exposer.def( 
                "process"
                , process_function_type(&::osiris::IHttpDirectory::process)
                , default_process_function_type(&HttpVirtualDirectory_wrapper::default_process)
                , ( ::boost::python::arg("session"), ::boost::python::arg("path") ) );
        
        }
        { //property "handlers"[fget=::osiris::HttpVirtualDirectory::getHandlers]
        
            typedef ::std::list<boost::shared_ptr<osiris::IHttpDirectoryHandler>, osiris::StdAllocator<boost::shared_ptr<osiris::IHttpDirectoryHandler>, osiris::SysAllocator<boost::shared_ptr<osiris::IHttpDirectoryHandler> > > > const & ( ::osiris::HttpVirtualDirectory::*fget )(  ) const;
            
            HttpVirtualDirectory_exposer.add_property( 
                "handlers"
                , ::boost::python::make_function( 
                      fget( &::osiris::HttpVirtualDirectory::getHandlers )
                    , bp::return_value_policy< bp::copy_const_reference >() ) 
                , "get property, built on top of \"std::list<boost::shared_ptr<osiris::IHttpDirectoryHandler>, osiris::StdAllocator<boost::shared_ptr<osiris::IHttpDirectoryHandler>, osiris::SysAllocator<boost::shared_ptr<osiris::IHttpDirectoryHandler> > > > const & osiris::HttpVirtualDirectory::getHandlers() const [member function]\"" );
        
        }
        ::boost::python::register_ptr_to_python< boost::shared_ptr< ::osiris::HttpVirtualDirectory > >();
        ::boost::python::implicitly_convertible< boost::shared_ptr< ::osiris::HttpVirtualDirectory >, boost::shared_ptr< ::boost::noncopyable_::noncopyable > >();
        ::boost::python::implicitly_convertible< boost::shared_ptr< ::osiris::HttpVirtualDirectory >, boost::shared_ptr< ::osiris::Object > >();
        ::boost::python::implicitly_convertible< boost::shared_ptr< ::osiris::HttpVirtualDirectory >, boost::shared_ptr< ::osiris::enable_this_ptr< osiris::IHttpDirectory > > >();
    }

}