/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Classes | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | Friends
DbiTableProxyRegistry Class Reference

#include <DbiTableProxyRegistry.h>

Collaboration diagram for DbiTableProxyRegistry:
Collaboration graph
[legend]

List of all members.

Classes

struct  Cleaner

Public Member Functions

void ShowStatistics () const
void ConfigExtraConditions (const std::string &str)
void ClearExtraConditions ()
void ConfigRollback (const std::string &str)
void ConfigRollback (const std::vector< std::string > &rollbacks)
void ClearRollbackDates ()
void ConfigLevel2Cache (const std::string &cachedir="")
void ConfigConnectionsPermanent (Bool_t permanent)
void ConfigOrderContextQuery (Bool_t on)
DbiExtraConditionsGetExtraConditions ()
DbiRollbackDatesGetRollbackDates ()
DbiCascaderGetCascader ()
DbiTableProxyGetTableProxy (const std::string &tableName, const DbiTableRow *tableRow)
Bool_t HasRowCounter (const std::string &tableName)
void PurgeCaches ()
void RefreshMetaData (const std::string &tableName)
void SetSqlCondition (const std::string &sql="")
std::string FormSqlCondition (DbiTableProxy *proxy) const
void ShowSqlConditions () const

Static Public Member Functions

static DbiTableProxyRegistryInstance ()
static Bool_t IsActive ()

Protected Member Functions

 DbiTableProxyRegistry ()
virtual ~DbiTableProxyRegistry ()

Private Member Functions

 DbiTableProxyRegistry (const DbiTableProxyRegistry &)
DbiTableProxyRegistryoperator= (const DbiTableProxyRegistry &)
void ApplySqlCondition () const
void ApplySqlCondition (DbiTableProxy *proxy) const

Private Attributes

DbiCascaderfCascader
 Cascader.
std::string fSqlCondition
 Default optional condition.
std::map< std::string,
DbiTableProxy * > 
fTPmap
 TableName::RowName -> TableProxy.
DbiRollbackDates fRollbackDates
 Rollback dates for each table.
DbiExtraConditions fExtraConditions
 Extra SQL condition for each table.

Static Private Attributes

static DbiTableProxyRegistryfgInstance
 Holds only instance.

Friends

class DybDbi
class DbiSvc
class DbiValidate
class Cleaner

Detailed Description

Id:
DbiTableProxyRegistry.h,v 1.24 2006/08/08 10:51:32 west Exp

Definition at line 40 of file DbiTableProxyRegistry.h.


Constructor & Destructor Documentation

DbiTableProxyRegistry::DbiTableProxyRegistry ( ) [protected]
virtual DbiTableProxyRegistry::~DbiTableProxyRegistry ( ) [protected, virtual]
DbiTableProxyRegistry::DbiTableProxyRegistry ( const DbiTableProxyRegistry ) [inline, private]

Definition at line 95 of file DbiTableProxyRegistry.h.

{};

Member Function Documentation

void DbiTableProxyRegistry::ShowStatistics ( ) const
static DbiTableProxyRegistry& DbiTableProxyRegistry::Instance ( ) [static]
static Bool_t DbiTableProxyRegistry::IsActive ( ) [inline, static]

Definition at line 54 of file DbiTableProxyRegistry.h.

{ return fgInstance ? kTRUE: kFALSE; }
void DbiTableProxyRegistry::ConfigExtraConditions ( const std::string &  str)
void DbiTableProxyRegistry::ClearExtraConditions ( )
void DbiTableProxyRegistry::ConfigRollback ( const std::string &  str)
void DbiTableProxyRegistry::ConfigRollback ( const std::vector< std::string > &  rollbacks)
void DbiTableProxyRegistry::ClearRollbackDates ( )
void DbiTableProxyRegistry::ConfigLevel2Cache ( const std::string &  cachedir = "")
void DbiTableProxyRegistry::ConfigConnectionsPermanent ( Bool_t  permanent)
void DbiTableProxyRegistry::ConfigOrderContextQuery ( Bool_t  on)
DbiExtraConditions& DbiTableProxyRegistry::GetExtraConditions ( ) [inline]

Definition at line 69 of file DbiTableProxyRegistry.h.

{ return fExtraConditions ;} 
DbiRollbackDates& DbiTableProxyRegistry::GetRollbackDates ( ) [inline]

Definition at line 70 of file DbiTableProxyRegistry.h.

{   return fRollbackDates ;} 
DbiCascader& DbiTableProxyRegistry::GetCascader ( ) [inline]

Definition at line 72 of file DbiTableProxyRegistry.h.

{ return *fCascader; }
DbiTableProxy& DbiTableProxyRegistry::GetTableProxy ( const std::string &  tableName,
const DbiTableRow tableRow 
)
Bool_t DbiTableProxyRegistry::HasRowCounter ( const std::string &  tableName)
void DbiTableProxyRegistry::PurgeCaches ( )
void DbiTableProxyRegistry::RefreshMetaData ( const std::string &  tableName)
void DbiTableProxyRegistry::SetSqlCondition ( const std::string &  sql = "")
std::string DbiTableProxyRegistry::FormSqlCondition ( DbiTableProxy proxy) const
void DbiTableProxyRegistry::ShowSqlConditions ( ) const
DbiTableProxyRegistry& DbiTableProxyRegistry::operator= ( const DbiTableProxyRegistry ) [inline, private]

Definition at line 96 of file DbiTableProxyRegistry.h.

{ return *this; };
void DbiTableProxyRegistry::ApplySqlCondition ( ) const [private]
void DbiTableProxyRegistry::ApplySqlCondition ( DbiTableProxy proxy) const [private]

Friends And Related Function Documentation

friend class DybDbi [friend]

Definition at line 43 of file DbiTableProxyRegistry.h.

friend class DbiSvc [friend]

Definition at line 44 of file DbiTableProxyRegistry.h.

friend class DbiValidate [friend]

Definition at line 45 of file DbiTableProxyRegistry.h.

friend class Cleaner [friend]

Definition at line 117 of file DbiTableProxyRegistry.h.


Member Data Documentation

Cascader.

Definition at line 120 of file DbiTableProxyRegistry.h.

std::string DbiTableProxyRegistry::fSqlCondition [private]

Default optional condition.

Definition at line 123 of file DbiTableProxyRegistry.h.

std::map<std::string,DbiTableProxy*> DbiTableProxyRegistry::fTPmap [private]

TableName::RowName -> TableProxy.

Definition at line 127 of file DbiTableProxyRegistry.h.

Rollback dates for each table.

Definition at line 131 of file DbiTableProxyRegistry.h.

Extra SQL condition for each table.

Definition at line 134 of file DbiTableProxyRegistry.h.

Holds only instance.

Definition at line 138 of file DbiTableProxyRegistry.h.


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 09:56:45 for DatabaseInterface by doxygen 1.7.4