Rosetta 3.3
Public Member Functions | Static Public Member Functions | Protected Member Functions
utility::sql_database::DatabaseSessionManager Class Reference

#include <DatabaseSessionManager.hh>

Collaboration diagram for utility::sql_database::DatabaseSessionManager:
Collaboration graph

List of all members.

Public Member Functions

virtual ~DatabaseSessionManager ()
sessionOP get_session (std::string const &db_fname)
sessionOP get_session (std::string const &host, std::string const &user, std::string const &password, std::string const &database, int const &port)

Static Public Member Functions

static DatabaseSessionManagerget_instance ()
 return singleton instance of session manager

Protected Member Functions

 DatabaseSessionManager ()
 DatabaseSessionManager (const DatabaseSessionManager &src)

Constructor & Destructor Documentation

utility::sql_database::DatabaseSessionManager::DatabaseSessionManager ( ) [protected]

Referenced by get_instance().

utility::sql_database::DatabaseSessionManager::DatabaseSessionManager ( const DatabaseSessionManager src) [protected]
utility::sql_database::DatabaseSessionManager::~DatabaseSessionManager ( ) [virtual]

Member Function Documentation

DatabaseSessionManager * utility::sql_database::DatabaseSessionManager::get_instance ( ) [static]

return singleton instance of session manager

References DatabaseSessionManager().

Referenced by basic::database::get_db_session().

sessionOP utility::sql_database::DatabaseSessionManager::get_session ( std::string const &  host,
std::string const &  user,
std::string const &  password,
std::string const &  database,
int const &  port 
sessionOP utility::sql_database::DatabaseSessionManager::get_session ( std::string const &  db_fname)

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines