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::OraGTSchema Class Reference

#include <OraDbSchema.h>

Inheritance diagram for cond::persistency::OraGTSchema:
cond::persistency::IGTSchema

Public Member Functions

void create ()
 
bool exists ()
 
IGTMapTablegtMapTable ()
 
IGTTablegtTable ()
 
 OraGTSchema (DbSession &session)
 
virtual ~OraGTSchema ()
 
- Public Member Functions inherited from cond::persistency::IGTSchema
virtual ~IGTSchema ()
 

Private Attributes

OraGTMapTable m_gtMapTable
 
OraGTTable m_gtTable
 
cond::DbSession m_session
 

Detailed Description

Definition at line 172 of file OraDbSchema.h.

Constructor & Destructor Documentation

cond::persistency::OraGTSchema::OraGTSchema ( DbSession session)

Definition at line 381 of file OraDbSchema.cc.

381  :
382  m_session( session ),
383  m_gtTable( session ),
384  m_gtMapTable( session ){
385  }
virtual cond::persistency::OraGTSchema::~OraGTSchema ( )
inlinevirtual

Definition at line 175 of file OraDbSchema.h.

175 {}

Member Function Documentation

void cond::persistency::OraGTSchema::create ( )
virtual

Implements cond::persistency::IGTSchema.

Definition at line 388 of file OraDbSchema.cc.

References cond::persistency::throwException().

388  {
389  throwException("GT Schema can't be create in ORA implementation.",
390  "OraGTSchema::create");
391  }
void throwException(const std::string &message, const std::string &methodName)
Definition: Exception.cc:11
bool cond::persistency::OraGTSchema::exists ( )
virtual

Implements cond::persistency::IGTSchema.

Definition at line 393 of file OraDbSchema.cc.

References cond::TagCollectionRetriever::existsTagDatabase(), and m_session.

393  {
394  cond::TagCollectionRetriever gtRetriever( m_session, "", "" );
395  return gtRetriever.existsTagDatabase();
396  }
IGTMapTable & cond::persistency::OraGTSchema::gtMapTable ( )
virtual

Implements cond::persistency::IGTSchema.

Definition at line 402 of file OraDbSchema.cc.

References m_gtMapTable.

402  {
403  return m_gtMapTable;
404  }
IGTTable & cond::persistency::OraGTSchema::gtTable ( )
virtual

Implements cond::persistency::IGTSchema.

Definition at line 398 of file OraDbSchema.cc.

References m_gtTable.

398  {
399  return m_gtTable;
400  }

Member Data Documentation

OraGTMapTable cond::persistency::OraGTSchema::m_gtMapTable
private

Definition at line 183 of file OraDbSchema.h.

Referenced by gtMapTable().

OraGTTable cond::persistency::OraGTSchema::m_gtTable
private

Definition at line 182 of file OraDbSchema.h.

Referenced by gtTable().

cond::DbSession cond::persistency::OraGTSchema::m_session
private

Definition at line 181 of file OraDbSchema.h.

Referenced by exists().