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 () override
 
bool exists () override
 
 IOVSchema (coral::ISchema &schema)
 
IIOVTableiovTable () override
 
IPayloadTablepayloadTable () override
 
ITagLogTabletagLogTable () override
 
ITagTabletagTable () override
 
 ~IOVSchema () override
 
- 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 370 of file IOVSchema.cc.

370  :
371  m_tagTable( schema ),
372  m_iovTable( schema ),
375  }
PAYLOAD::Table m_payloadTable
Definition: IOVSchema.h:186
TAG_LOG::Table m_tagLogTable
Definition: IOVSchema.h:185
cond::persistency::IOVSchema::~IOVSchema ( )
inlineoverride

Definition at line 175 of file IOVSchema.h.

References beamerCreator::create().

175 {}

Member Function Documentation

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

Implements cond::persistency::IIOVSchema.

Definition at line 377 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().

377  {
378  if( !m_tagTable.exists() ) return false;
379  if( !m_payloadTable.exists() ) return false;
380  if( !m_iovTable.exists() ) return false;
381  return true;
382  }
PAYLOAD::Table m_payloadTable
Definition: IOVSchema.h:186
IIOVTable & cond::persistency::IOVSchema::iovTable ( )
overridevirtual

Implements cond::persistency::IIOVSchema.

Definition at line 400 of file IOVSchema.cc.

References m_iovTable.

400  {
401  return m_iovTable;
402  }
IPayloadTable & cond::persistency::IOVSchema::payloadTable ( )
overridevirtual

Implements cond::persistency::IIOVSchema.

Definition at line 408 of file IOVSchema.cc.

References m_payloadTable.

408  {
409  return m_payloadTable;
410  }
PAYLOAD::Table m_payloadTable
Definition: IOVSchema.h:186
ITagLogTable & cond::persistency::IOVSchema::tagLogTable ( )
overridevirtual

Implements cond::persistency::IIOVSchema.

Definition at line 404 of file IOVSchema.cc.

References m_tagLogTable.

404  {
405  return m_tagLogTable;
406  }
TAG_LOG::Table m_tagLogTable
Definition: IOVSchema.h:185
ITagTable & cond::persistency::IOVSchema::tagTable ( )
overridevirtual

Implements cond::persistency::IIOVSchema.

Definition at line 396 of file IOVSchema.cc.

References m_tagTable.

396  {
397  return m_tagTable;
398  }

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