Rosetta Utilities  2014.35
Public Member Functions | List of all members
basic::database::DatabaseSessionLoader Class Reference

#include <DatabaseSessionLoader.hh>

Public Member Functions

virtual ~DatabaseSessionLoader ()
 
virtual
basic::resource_manager::ResourceOP 
create_resource (basic::resource_manager::ResourceOptions const &, basic::resource_manager::LocatorID const &, std::istream &istream) const
 Create a resource, held in an owning pointer, of any type which will be stored and whose lifetime will be governed by the ResourceManager. More...
 
virtual
basic::resource_manager::ResourceOptionsOP 
default_options () const
 
- Public Member Functions inherited from basic::resource_manager::ResourceLoader
virtual ~ResourceLoader ()
 
- Public Member Functions inherited from utility::pointer::ReferenceCount
void ctor ()
 
virtual ~ReferenceCount ()
 Destructor. More...
 
Size ref_count () const
 Reference count. More...
 

Additional Inherited Members

- Public Types inherited from utility::pointer::ReferenceCount
typedef platform::Size Size
 
typedef platform::Size size_type
 
- Protected Member Functions inherited from utility::pointer::ReferenceCount
 ReferenceCount ()
 Default constructor. More...
 
 ReferenceCount (ReferenceCount const &)
 Copy constructor. More...
 
ReferenceCountoperator= (ReferenceCount const &)
 Copy assignment. More...
 

Constructor & Destructor Documentation

virtual basic::database::DatabaseSessionLoader::~DatabaseSessionLoader ( )
inlinevirtual

Member Function Documentation

basic::resource_manager::ResourceOP basic::database::DatabaseSessionLoader::create_resource ( basic::resource_manager::ResourceOptions const &  options,
basic::resource_manager::LocatorID const &  locator_id,
std::istream &  istream 
) const
virtual

Create a resource, held in an owning pointer, of any type which will be stored and whose lifetime will be governed by the ResourceManager.

Implements basic::resource_manager::ResourceLoader.

References basic::database::DatabaseSessionOptions::database_session(), basic::resource_manager::ResourceOptions::name(), options, and basic::resource_manager::ResourceOptions::type().

virtual basic::resource_manager::ResourceOptionsOP basic::database::DatabaseSessionLoader::default_options ( ) const
inlinevirtual

The documentation for this class was generated from the following files: