CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
cond::persistency::IOVSchema Class Reference

#include <IOVSchema.h>

Inheritance diagram for cond::persistency::IOVSchema:
cond::persistency::IIOVSchema

Public Member Functions

bool create ()
 
bool exists ()
 
 IOVSchema (coral::ISchema &schema)
 
IIOVTableiovTable ()
 
IPayloadTablepayloadTable ()
 
ITagLogTabletagLogTable ()
 
ITagTabletagTable ()
 
virtual ~IOVSchema ()
 
- Public Member Functions inherited from cond::persistency::IIOVSchema
virtual ~IIOVSchema ()
 

Private Attributes

IOV::Table m_iovTable
 
PAYLOAD::Table m_payloadTable
 
TAG_LOG::Table m_tagLogTable
 
TAG::Table m_tagTable
 

Detailed Description

Definition at line 172 of file IOVSchema.h.

Constructor & Destructor Documentation

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

Definition at line 367 of file IOVSchema.cc.

367  :
368  m_tagTable( schema ),
369  m_iovTable( schema ),
372  }
PAYLOAD::Table m_payloadTable
Definition: IOVSchema.h:186
TAG_LOG::Table m_tagLogTable
Definition: IOVSchema.h:185
virtual cond::persistency::IOVSchema::~IOVSchema ( )
inlinevirtual

Definition at line 175 of file IOVSchema.h.

References beamerCreator::create().

175 {}

Member Function Documentation

bool cond::persistency::IOVSchema::create ( )
virtual
bool cond::persistency::IOVSchema::exists ( )
virtual

Implements cond::persistency::IIOVSchema.

Definition at line 374 of file IOVSchema.cc.

References cond::persistency::TAG::Table::exists(), cond::persistency::PAYLOAD::Table::exists(), cond::persistency::IOV::Table::exists(), m_iovTable, m_payloadTable, and m_tagTable.

Referenced by create().

374  {
375  if( !m_tagTable.exists() ) return false;
376  if( !m_payloadTable.exists() ) return false;
377  if( !m_iovTable.exists() ) return false;
378  return true;
379  }
PAYLOAD::Table m_payloadTable
Definition: IOVSchema.h:186
IIOVTable & cond::persistency::IOVSchema::iovTable ( )
virtual

Implements cond::persistency::IIOVSchema.

Definition at line 397 of file IOVSchema.cc.

References m_iovTable.

397  {
398  return m_iovTable;
399  }
IPayloadTable & cond::persistency::IOVSchema::payloadTable ( )
virtual

Implements cond::persistency::IIOVSchema.

Definition at line 405 of file IOVSchema.cc.

References m_payloadTable.

405  {
406  return m_payloadTable;
407  }
PAYLOAD::Table m_payloadTable
Definition: IOVSchema.h:186
ITagLogTable & cond::persistency::IOVSchema::tagLogTable ( )
virtual

Implements cond::persistency::IIOVSchema.

Definition at line 401 of file IOVSchema.cc.

References m_tagLogTable.

401  {
402  return m_tagLogTable;
403  }
TAG_LOG::Table m_tagLogTable
Definition: IOVSchema.h:185
ITagTable & cond::persistency::IOVSchema::tagTable ( )
virtual

Implements cond::persistency::IIOVSchema.

Definition at line 393 of file IOVSchema.cc.

References m_tagTable.

393  {
394  return m_tagTable;
395  }

Member Data Documentation

IOV::Table cond::persistency::IOVSchema::m_iovTable
private

Definition at line 184 of file IOVSchema.h.

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

PAYLOAD::Table cond::persistency::IOVSchema::m_payloadTable
private

Definition at line 186 of file IOVSchema.h.

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

TAG_LOG::Table cond::persistency::IOVSchema::m_tagLogTable
private

Definition at line 185 of file IOVSchema.h.

Referenced by create(), and tagLogTable().

TAG::Table cond::persistency::IOVSchema::m_tagTable
private

Definition at line 183 of file IOVSchema.h.

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