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

Constructor & Destructor Documentation

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

Definition at line 405 of file IOVSchema.cc.

405  :
406  m_tagTable( schema ),
407  m_iovTable( schema ),
410  }
tuple schema
Definition: dataDML.py:2334
PAYLOAD::Table m_payloadTable
Definition: IOVSchema.h:175
TAG_LOG::Table m_tagLogTable
Definition: IOVSchema.h:174
virtual cond::persistency::IOVSchema::~IOVSchema ( )
inlinevirtual

Definition at line 164 of file IOVSchema.h.

164 {}

Member Function Documentation

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

Implements cond::persistency::IIOVSchema.

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

412  {
413  if( !m_tagTable.exists() ) return false;
414  if( !m_payloadTable.exists() ) return false;
415  if( !m_iovTable.exists() ) return false;
416  return true;
417  }
PAYLOAD::Table m_payloadTable
Definition: IOVSchema.h:175
IIOVTable & cond::persistency::IOVSchema::iovTable ( )
virtual

Implements cond::persistency::IIOVSchema.

Definition at line 435 of file IOVSchema.cc.

References m_iovTable.

435  {
436  return m_iovTable;
437  }
IPayloadTable & cond::persistency::IOVSchema::payloadTable ( )
virtual

Implements cond::persistency::IIOVSchema.

Definition at line 443 of file IOVSchema.cc.

References m_payloadTable.

443  {
444  return m_payloadTable;
445  }
PAYLOAD::Table m_payloadTable
Definition: IOVSchema.h:175
ITagLogTable & cond::persistency::IOVSchema::tagLogTable ( )
virtual

Implements cond::persistency::IIOVSchema.

Definition at line 439 of file IOVSchema.cc.

References m_tagLogTable.

439  {
440  return m_tagLogTable;
441  }
TAG_LOG::Table m_tagLogTable
Definition: IOVSchema.h:174
ITagTable & cond::persistency::IOVSchema::tagTable ( )
virtual

Implements cond::persistency::IIOVSchema.

Definition at line 431 of file IOVSchema.cc.

References m_tagTable.

431  {
432  return m_tagTable;
433  }

Member Data Documentation

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

Definition at line 173 of file IOVSchema.h.

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

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

Definition at line 175 of file IOVSchema.h.

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

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

Definition at line 174 of file IOVSchema.h.

Referenced by create(), and tagLogTable().

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

Definition at line 172 of file IOVSchema.h.

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