emcPgStorageManager Class Reference

#include <emcPgStorageManager.h>

List of all members.


Detailed Description

Definition at line 18 of file emcPgStorageManager.h.

Public Member Functions

 emcPgStorageManager ()
 ~emcPgStorageManager ()
PdbBankManager * BankManager ()
 Give access to the bank manager (to create/fetch banks).
PdbApplication * DBApplication ()
 Give access to the DB Application (to start/commit transaction).
PdbCalBank * createBankWithUpdate (const char *className, PdbBankID bankID, const char *description, PHTimeStamp &tStart, PHTimeStamp &tEnd, const char *bankName)
 Update the validity periods of banks with id=bankID, and valid at time tStart, prior to insert the new bank.
PdbCalBank * fetchBank (const char *, PdbBankID, const char *, PHTimeStamp &, std::string category)
 in pg, equivalent to the next one (at least once we figure out if we need to speed things up -hopefully we won't ;-) )
PdbCalBank * fetchBank (const char *, PdbBankID, const char *, PHTimeStamp &)
PdbCalBank * fetchPreviousVersionBank (const char *, PdbBankID, const char *, PHTimeStamp &, std::string, int)
void Reset ()

Static Public Member Functions

static emcManageable::EStorage storage ()
static const char * name ()
 Getting the class name might be useful for debugging, and as such is needed by classes that uses this one as a template paramater.


Constructor & Destructor Documentation

emcPgStorageManager::emcPgStorageManager  ) 
 

Definition at line 21 of file emcPgStorageManager.C.

emcPgStorageManager::~emcPgStorageManager  ) 
 

Definition at line 27 of file emcPgStorageManager.C.


Member Function Documentation

PdbBankManager * emcPgStorageManager::BankManager  ) 
 

Give access to the bank manager (to create/fetch banks).

Definition at line 33 of file emcPgStorageManager.C.

Referenced by DBApplication(), and fetchBank().

PdbCalBank* emcPgStorageManager::createBankWithUpdate const char *  className,
PdbBankID  bankID,
const char *  description,
PHTimeStamp &  tStart,
PHTimeStamp &  tEnd,
const char *  bankName
[inline]
 

Update the validity periods of banks with id=bankID, and valid at time tStart, prior to insert the new bank.

Definition at line 33 of file emcPgStorageManager.h.

PdbApplication * emcPgStorageManager::DBApplication  ) 
 

Give access to the DB Application (to start/commit transaction).

Definition at line 48 of file emcPgStorageManager.C.

References BankManager().

PdbCalBank * emcPgStorageManager::fetchBank const char *  ,
PdbBankID  ,
const char *  ,
PHTimeStamp & 
 

Definition at line 74 of file emcPgStorageManager.C.

References BankManager().

PdbCalBank* emcPgStorageManager::fetchBank const char *  ,
PdbBankID  ,
const char *  ,
PHTimeStamp &  ,
std::string  category
 

in pg, equivalent to the next one (at least once we figure out if we need to speed things up -hopefully we won't ;-) )

PdbCalBank* emcPgStorageManager::fetchPreviousVersionBank const char *  ,
PdbBankID  ,
const char *  ,
PHTimeStamp &  ,
std::string  ,
int 
[inline]
 

Definition at line 50 of file emcPgStorageManager.h.

static const char* emcPgStorageManager::name  )  [inline, static]
 

Getting the class name might be useful for debugging, and as such is needed by classes that uses this one as a template paramater.

Definition at line 64 of file emcPgStorageManager.h.

void emcPgStorageManager::Reset  ) 
 

Definition at line 89 of file emcPgStorageManager.C.

static emcManageable::EStorage emcPgStorageManager::storage  )  [inline, static]
 

Definition at line 57 of file emcPgStorageManager.h.

References emcManageable::kDB_Pg.


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