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

#include <DatabaseSessionOptions.hh>

Public Member Functions

 DatabaseSessionOptions ()
 
 DatabaseSessionOptions (std::string const &name)
 
virtual ~DatabaseSessionOptions ()
 
virtual void parse_my_tag (utility::tag::TagCOP)
 Initialize from the recursive "tag" structure. More...
 
utility::sql_database::sessionOP database_session () const
 
std::string type () const
 The class name (its type) for a particular ResourceOptions instance. This function allows for better error message delivery. More...
 
- Public Member Functions inherited from basic::resource_manager::ResourceOptions
 ResourceOptions ()
 
 ResourceOptions (std::string const &name)
 Assign a name to an instance of the resource options object. Usefull for identifying flaws in input files defining ResourceOptions. More...
 
virtual ~ResourceOptions ()
 
virtual void show (std::ostream &out) const
 Describe this instance to a given output stream. More...
 
std::string name () const
 A name given to a particular ResourceOptions instance. This function allows for better error message delivery. More...
 
void name (std::string const &setting)
 Set the name for this ResoureOptions instance. More...
 
- Public Member Functions inherited from utility::pointer::ReferenceCount
void ctor ()
 
virtual ~ReferenceCount ()
 Destructor. More...
 
Size ref_count () const
 Reference count. More...
 

Private Attributes

utility::sql_database::sessionOP database_session_
 

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

basic::database::DatabaseSessionOptions::DatabaseSessionOptions ( )
basic::database::DatabaseSessionOptions::DatabaseSessionOptions ( std::string const &  name)
basic::database::DatabaseSessionOptions::~DatabaseSessionOptions ( )
virtual

Member Function Documentation

utility::sql_database::sessionOP basic::database::DatabaseSessionOptions::database_session ( ) const
void basic::database::DatabaseSessionOptions::parse_my_tag ( utility::tag::TagCOP  tag)
virtual

Initialize from the recursive "tag" structure.

Implements basic::resource_manager::ResourceOptions.

References database_session_, and basic::database::parse_database_connection().

std::string basic::database::DatabaseSessionOptions::type ( ) const
virtual

The class name (its type) for a particular ResourceOptions instance. This function allows for better error message delivery.

Implements basic::resource_manager::ResourceOptions.

Member Data Documentation

utility::sql_database::sessionOP basic::database::DatabaseSessionOptions::database_session_
private

Referenced by database_session(), and parse_my_tag().


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