CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
cond::persistency::GTSchema Class Reference

#include <GTSchema.h>

Inheritance diagram for cond::persistency::GTSchema:
cond::persistency::IGTSchema

Public Member Functions

bool exists ()
 
GLOBAL_TAG_MAP::Table & gtMapTable ()
 
 GTSchema (coral::ISchema &schema)
 
GLOBAL_TAG::Table & gtTable ()
 
virtual ~GTSchema ()
 
- Public Member Functions inherited from cond::persistency::IGTSchema
virtual ~IGTSchema ()
 

Private Attributes

GLOBAL_TAG_MAP::Table m_gtMapTable
 
GLOBAL_TAG::Table m_gtTable
 

Detailed Description

Definition at line 65 of file GTSchema.h.

Constructor & Destructor Documentation

cond::persistency::GTSchema::GTSchema ( coral::ISchema &  schema)
explicit

Definition at line 110 of file GTSchema.cc.

110  :
111  m_gtTable( schema ),
112  m_gtMapTable( schema ){
113  }
GLOBAL_TAG::Table m_gtTable
Definition: GTSchema.h:73
GLOBAL_TAG_MAP::Table m_gtMapTable
Definition: GTSchema.h:74
virtual cond::persistency::GTSchema::~GTSchema ( )
inlinevirtual

Definition at line 68 of file GTSchema.h.

68 {}

Member Function Documentation

bool cond::persistency::GTSchema::exists ( )
virtual

Implements cond::persistency::IGTSchema.

Definition at line 115 of file GTSchema.cc.

References m_gtMapTable, and m_gtTable.

115  {
116  if( !m_gtTable.exists() ) return false;
117  if( !m_gtMapTable.exists() ) return false;
118  return true;
119  }
GLOBAL_TAG::Table m_gtTable
Definition: GTSchema.h:73
GLOBAL_TAG_MAP::Table m_gtMapTable
Definition: GTSchema.h:74
GLOBAL_TAG_MAP::Table & cond::persistency::GTSchema::gtMapTable ( )
virtual

Implements cond::persistency::IGTSchema.

Definition at line 125 of file GTSchema.cc.

References m_gtMapTable.

125  {
126  return m_gtMapTable;
127  }
GLOBAL_TAG_MAP::Table m_gtMapTable
Definition: GTSchema.h:74
GLOBAL_TAG::Table & cond::persistency::GTSchema::gtTable ( )
virtual

Implements cond::persistency::IGTSchema.

Definition at line 121 of file GTSchema.cc.

References m_gtTable.

121  {
122  return m_gtTable;
123  }
GLOBAL_TAG::Table m_gtTable
Definition: GTSchema.h:73

Member Data Documentation

GLOBAL_TAG_MAP::Table cond::persistency::GTSchema::m_gtMapTable
private

Definition at line 74 of file GTSchema.h.

Referenced by exists(), and gtMapTable().

GLOBAL_TAG::Table cond::persistency::GTSchema::m_gtTable
private

Definition at line 73 of file GTSchema.h.

Referenced by exists(), and gtTable().