StdAir Logo  1.00.3
C++ Standard Airline IT Object Library
stdair::DBSessionManager Class Reference

#include <stdair/service/DBSessionManager.hpp>

Public Member Functions

DBSession_TgetDBSession () const
 

Static Public Member Functions

static DBSessionManagerinstance ()
 

Friends

class FacSupervisor
 
class STDAIR_Service
 

Detailed Description

Class holding the database session.
Note that the database access is handled by the SOCI library.

Definition at line 17 of file DBSessionManager.hpp.

Member Function Documentation

DBSessionManager & stdair::DBSessionManager::instance ( )
static

Return the static DBSessionManager instance.

Definition at line 82 of file DBSessionManager.cpp.

DBSession_T & stdair::DBSessionManager::getDBSession ( ) const

Retrieve the database session handler, held by the static instance of DBSessionManager.

Definition at line 92 of file DBSessionManager.cpp.

Friends And Related Function Documentation

friend class FacSupervisor
friend

Definition at line 19 of file DBSessionManager.hpp.

friend class STDAIR_Service
friend

Definition at line 20 of file DBSessionManager.hpp.


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