CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Static Public Member Functions
ora::IMainTable Class Referenceabstract

#include <IDatabaseSchema.h>

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

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 ()
 
- Public Member Functions inherited from ora::IDatabaseTable
virtual void create ()=0
 
virtual void drop ()=0
 
virtual bool exists ()=0
 
 IDatabaseTable (coral::ISchema &schema)
 
virtual std::string name ()=0
 
coral::ISchema & schema ()
 
virtual void setAccessPermission (const std::string &principal, bool forWrite)
 
virtual ~IDatabaseTable ()
 

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.

49  :
51 }
IDatabaseTable(coral::ISchema &schema)
coral::ISchema & schema()
virtual ora::IMainTable::~IMainTable ( )
inlinevirtual

Definition at line 43 of file IDatabaseSchema.h.

43 {}

Member Function Documentation

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

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

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

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

virtual void ora::IMainTable::setParameter ( const std::string &  paramName,
const std::string &  paramValue 
)
pure virtual
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().

44  {
45  static const std::string s_name("USER_SCHEMA_VERSION");
46  return s_name;
47 }
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().

39  {
40  static const std::string s_name("SCHEMA_VERSION");
41  return s_name;
42 }