test
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

void create ()
 
bool exists ()
 
GLOBAL_TAG_MAP::TablegtMapTable ()
 
 GTSchema (coral::ISchema &schema)
 
GLOBAL_TAG::TablegtTable ()
 
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 67 of file GTSchema.h.

Constructor & Destructor Documentation

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

Definition at line 124 of file GTSchema.cc.

124  :
125  m_gtTable( schema ),
126  m_gtMapTable( schema ){
127  }
tuple schema
Definition: dataDML.py:2334
GLOBAL_TAG::Table m_gtTable
Definition: GTSchema.h:76
GLOBAL_TAG_MAP::Table m_gtMapTable
Definition: GTSchema.h:77
virtual cond::persistency::GTSchema::~GTSchema ( )
inlinevirtual

Definition at line 70 of file GTSchema.h.

70 {}

Member Function Documentation

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

Implements cond::persistency::IGTSchema.

Definition at line 129 of file GTSchema.cc.

References cond::persistency::GLOBAL_TAG::Table::exists(), cond::persistency::GLOBAL_TAG_MAP::Table::exists(), m_gtMapTable, and m_gtTable.

129  {
130  if( !m_gtTable.exists() ) return false;
131  if( !m_gtMapTable.exists() ) return false;
132  return true;
133  }
GLOBAL_TAG::Table m_gtTable
Definition: GTSchema.h:76
GLOBAL_TAG_MAP::Table m_gtMapTable
Definition: GTSchema.h:77
GLOBAL_TAG_MAP::Table & cond::persistency::GTSchema::gtMapTable ( )
virtual

Implements cond::persistency::IGTSchema.

Definition at line 144 of file GTSchema.cc.

References m_gtMapTable.

144  {
145  return m_gtMapTable;
146  }
GLOBAL_TAG_MAP::Table m_gtMapTable
Definition: GTSchema.h:77
GLOBAL_TAG::Table & cond::persistency::GTSchema::gtTable ( )
virtual

Implements cond::persistency::IGTSchema.

Definition at line 140 of file GTSchema.cc.

References m_gtTable.

140  {
141  return m_gtTable;
142  }
GLOBAL_TAG::Table m_gtTable
Definition: GTSchema.h:76

Member Data Documentation

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

Definition at line 77 of file GTSchema.h.

Referenced by create(), exists(), and gtMapTable().

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

Definition at line 76 of file GTSchema.h.

Referenced by create(), exists(), and gtTable().