YAPOG  0.0.1
Yet Another Pokemon Online Game
yap::DatabaseManager Class Reference

#include <DatabaseManager.hpp>

Collaboration diagram for yap::DatabaseManager:

List of all members.

Public Member Functions

 DatabaseManager ()
 ~DatabaseManager ()
void Connect ()
pgs::pg_cnxGetConnection ()
DatabaseLoggerGetDatabaseLogger ()
void SetLogStream (OStream &os)

Private Member Functions

 DISALLOW_COPY (DatabaseManager)

Private Attributes

pgs::pg_cnx connection_
DatabaseLoggerdl_

Detailed Description

Definition at line 12 of file DatabaseManager.hpp.


Constructor & Destructor Documentation

yap::DatabaseManager::DatabaseManager ( )

Definition at line 6 of file DatabaseManager.cpp.

yap::DatabaseManager::~DatabaseManager ( )

Definition at line 11 of file DatabaseManager.cpp.


Member Function Documentation

void yap::DatabaseManager::Connect ( )

Definition at line 15 of file DatabaseManager.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

yap::DatabaseManager::DISALLOW_COPY ( DatabaseManager  )
private
pgs::pg_cnx & yap::DatabaseManager::GetConnection ( )

Definition at line 39 of file DatabaseManager.cpp.

Here is the caller graph for this function:

DatabaseLogger & yap::DatabaseManager::GetDatabaseLogger ( )

Definition at line 44 of file DatabaseManager.cpp.

void yap::DatabaseManager::SetLogStream ( OStream os)

Definition at line 31 of file DatabaseManager.cpp.

Here is the caller graph for this function:


Member Data Documentation

pgs::pg_cnx yap::DatabaseManager::connection_
private

Definition at line 24 of file DatabaseManager.hpp.

DatabaseLogger* yap::DatabaseManager::dl_
private

Definition at line 25 of file DatabaseManager.hpp.


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