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 362 of file IOVSchema.cc.

362  :
363  m_tagTable( schema ),
364  m_iovTable( schema ),
367  }
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 369 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().

369  {
370  if( !m_tagTable.exists() ) return false;
371  if( !m_payloadTable.exists() ) return false;
372  if( !m_iovTable.exists() ) return false;
373  return true;
374  }
PAYLOAD::Table m_payloadTable
Definition: IOVSchema.h:186
IIOVTable & cond::persistency::IOVSchema::iovTable ( )
virtual

Implements cond::persistency::IIOVSchema.

Definition at line 392 of file IOVSchema.cc.

References m_iovTable.

392  {
393  return m_iovTable;
394  }
IPayloadTable & cond::persistency::IOVSchema::payloadTable ( )
virtual

Implements cond::persistency::IIOVSchema.

Definition at line 400 of file IOVSchema.cc.

References m_payloadTable.

400  {
401  return m_payloadTable;
402  }
PAYLOAD::Table m_payloadTable
Definition: IOVSchema.h:186
ITagLogTable & cond::persistency::IOVSchema::tagLogTable ( )
virtual

Implements cond::persistency::IIOVSchema.

Definition at line 396 of file IOVSchema.cc.

References m_tagLogTable.

396  {
397  return m_tagLogTable;
398  }
TAG_LOG::Table m_tagLogTable
Definition: IOVSchema.h:185
ITagTable & cond::persistency::IOVSchema::tagTable ( )
virtual

Implements cond::persistency::IIOVSchema.

Definition at line 388 of file IOVSchema.cc.

References m_tagTable.

388  {
389  return m_tagTable;
390  }

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().