CMS 3D CMS Logo

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

#include <RunInfoSchema.h>

Inheritance diagram for cond::persistency::RunInfoSchema:
cond::persistency::IRunInfoSchema

Public Member Functions

bool create () override
 
bool exists () override
 
 RunInfoSchema (coral::ISchema &schema)
 
IRunInfoTablerunInfoTable () override
 
 ~RunInfoSchema () override
 
- Public Member Functions inherited from cond::persistency::IRunInfoSchema
virtual ~IRunInfoSchema ()
 

Private Attributes

RUN_INFO::Table m_runInfoTable
 

Detailed Description

Definition at line 68 of file RunInfoSchema.h.

Constructor & Destructor Documentation

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

Definition at line 105 of file RunInfoSchema.cc.

105  :
107  }
cond::persistency::RunInfoSchema::~RunInfoSchema ( )
inlineoverride

Definition at line 71 of file RunInfoSchema.h.

References beamerCreator::create().

71 {}

Member Function Documentation

bool cond::persistency::RunInfoSchema::create ( )
overridevirtual

Implements cond::persistency::IRunInfoSchema.

Definition at line 114 of file RunInfoSchema.cc.

References cond::persistency::RUN_INFO::Table::create(), exists(), and m_runInfoTable.

Referenced by o2olib.O2OTool::execute().

114  {
115  bool created = false;
116  if( !exists() ){
118  created = true;
119  }
120  return created;
121  }
bool cond::persistency::RunInfoSchema::exists ( )
overridevirtual

Implements cond::persistency::IRunInfoSchema.

Definition at line 109 of file RunInfoSchema.cc.

References cond::persistency::RUN_INFO::Table::exists(), and m_runInfoTable.

Referenced by create().

109  {
110  if( !m_runInfoTable.exists() ) return false;
111  return true;
112  }
IRunInfoTable & cond::persistency::RunInfoSchema::runInfoTable ( )
overridevirtual

Implements cond::persistency::IRunInfoSchema.

Definition at line 123 of file RunInfoSchema.cc.

References m_runInfoTable.

123  {
124  return m_runInfoTable;
125  }

Member Data Documentation

RUN_INFO::Table cond::persistency::RunInfoSchema::m_runInfoTable
private

Definition at line 76 of file RunInfoSchema.h.

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