CMS 3D CMS Logo

Public Member Functions | Static Public Member Functions

ora::IMainTable Class Reference

#include <IDatabaseSchema.h>

Inheritance diagram for ora::IMainTable:
ora::IDatabaseTable ora::OraMainTable ora::PoolMainTable

List of all members.

Public Member Functions

virtual bool getParameters (std::map< std::string, std::string > &destination)=0
 IMainTable (coral::ISchema &schema)
virtual std::string schemaVersion ()=0
virtual void setParameter (const std::string &paramName, const std::string &paramValue)=0
virtual ~IMainTable ()

Static Public Member Functions

static std::string userSchemaVersionParameterName ()
static std::string versionParameterName ()

Detailed Description

Definition at line 37 of file IDatabaseSchema.h.


Constructor & Destructor Documentation

ora::IMainTable::IMainTable ( coral::ISchema &  schema) [explicit]

Definition at line 49 of file IDatabaseSchema.cc.

virtual ora::IMainTable::~IMainTable ( ) [inline, virtual]

Definition at line 43 of file IDatabaseSchema.h.

{}

Member Function Documentation

virtual bool ora::IMainTable::getParameters ( std::map< std::string, std::string > &  destination) [pure virtual]

Implemented in ora::OraMainTable, and ora::PoolMainTable.

virtual std::string ora::IMainTable::schemaVersion ( ) [pure virtual]

Implemented in ora::OraMainTable, and ora::PoolMainTable.

virtual void ora::IMainTable::setParameter ( const std::string &  paramName,
const std::string &  paramValue 
) [pure virtual]

Implemented in ora::OraMainTable, and ora::PoolMainTable.

std::string ora::IMainTable::userSchemaVersionParameterName ( ) [static]

Definition at line 44 of file IDatabaseSchema.cc.

References AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by ora::OraDatabaseSchema::create(), and ora::DatabaseSession::schemaVersion().

                                                       {
  static std::string s_name("USER_SCHEMA_VERSION");
  return s_name;
}
std::string ora::IMainTable::versionParameterName ( ) [static]

Definition at line 39 of file IDatabaseSchema.cc.

References AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by ora::OraMainTable::create(), ora::PoolMainTable::getParameters(), and ora::DatabaseSession::schemaVersion().

                                             {
  static std::string s_name("SCHEMA_VERSION");
  return s_name;
}