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 208 of file IOVSchema.h.

Constructor & Destructor Documentation

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

Definition at line 393 of file IOVSchema.cc.

394  : m_tagTable(schema), m_iovTable(schema), m_tagLogTable(schema), m_payloadTable(schema) {}
PAYLOAD::Table m_payloadTable
Definition: IOVSchema.h:223
TAG_LOG::Table m_tagLogTable
Definition: IOVSchema.h:222
cond::persistency::IOVSchema::~IOVSchema ( )
inlineoverride

Definition at line 211 of file IOVSchema.h.

References beamerCreator::create().

211 {}

Member Function Documentation

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

Implements cond::persistency::IIOVSchema.

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

396  {
397  if (!m_tagTable.exists())
398  return false;
399  if (!m_payloadTable.exists())
400  return false;
401  if (!m_iovTable.exists())
402  return false;
403  return true;
404  }
PAYLOAD::Table m_payloadTable
Definition: IOVSchema.h:223
IIOVTable & cond::persistency::IOVSchema::iovTable ( )
overridevirtual

Implements cond::persistency::IIOVSchema.

Definition at line 420 of file IOVSchema.cc.

References m_iovTable.

420 { return m_iovTable; }
IPayloadTable & cond::persistency::IOVSchema::payloadTable ( )
overridevirtual

Implements cond::persistency::IIOVSchema.

Definition at line 424 of file IOVSchema.cc.

References m_payloadTable.

424 { return m_payloadTable; }
PAYLOAD::Table m_payloadTable
Definition: IOVSchema.h:223
ITagLogTable & cond::persistency::IOVSchema::tagLogTable ( )
overridevirtual

Implements cond::persistency::IIOVSchema.

Definition at line 422 of file IOVSchema.cc.

References m_tagLogTable.

422 { return m_tagLogTable; }
TAG_LOG::Table m_tagLogTable
Definition: IOVSchema.h:222
ITagTable & cond::persistency::IOVSchema::tagTable ( )
overridevirtual

Implements cond::persistency::IIOVSchema.

Definition at line 418 of file IOVSchema.cc.

References m_tagTable.

418 { return m_tagTable; }

Member Data Documentation

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

Definition at line 221 of file IOVSchema.h.

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

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

Definition at line 223 of file IOVSchema.h.

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

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

Definition at line 222 of file IOVSchema.h.

Referenced by create(), and tagLogTable().

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

Definition at line 220 of file IOVSchema.h.

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