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 | Private Attributes
ora::CondMetadataTable Class Reference

#include <PoolDatabaseSchema.h>

Inheritance diagram for ora::CondMetadataTable:
ora::INamingServiceTable ora::IDatabaseTable

Public Member Functions

 CondMetadataTable (coral::ISchema &dbSchema, PoolDbCache &dbCache)
 
void create ()
 
void drop ()
 
bool eraseAllNames ()
 
bool eraseObjectName (const std::string &name)
 
bool exists ()
 
bool getAllNames (std::vector< std::string > &destination)
 
bool getNamesForContainer (int contId, std::vector< std::string > &destination)
 
bool getNamesForObject (int contId, int itemId, std::vector< std::string > &destination)
 
bool getObjectByName (const std::string &name, std::pair< int, int > &destination)
 
std::string name ()
 
void setObjectName (const std::string &name, int contId, int itemId)
 
virtual ~CondMetadataTable ()
 
- Public Member Functions inherited from ora::INamingServiceTable
 INamingServiceTable (coral::ISchema &schema)
 
virtual ~INamingServiceTable ()
 
- Public Member Functions inherited from ora::IDatabaseTable
 IDatabaseTable (coral::ISchema &schema)
 
coral::ISchema & schema ()
 
virtual void setAccessPermission (const std::string &principal, bool forWrite)
 
virtual ~IDatabaseTable ()
 

Static Public Member Functions

static std::string objectNameColumn ()
 
static std::string tableName ()
 
static std::string timetypeColumn ()
 
static std::string tokenColumn ()
 

Private Attributes

PoolDbCachem_dbCache
 

Detailed Description

Definition at line 201 of file PoolDatabaseSchema.h.

Constructor & Destructor Documentation

ora::CondMetadataTable::CondMetadataTable ( coral::ISchema &  dbSchema,
PoolDbCache dbCache 
)

Definition at line 1168 of file PoolDatabaseSchema.cc.

ora::CondMetadataTable::~CondMetadataTable ( )
virtual

Definition at line 1174 of file PoolDatabaseSchema.cc.

Member Function Documentation

void ora::CondMetadataTable::create ( )
virtual

Implements ora::IDatabaseTable.

Definition at line 1319 of file PoolDatabaseSchema.cc.

void ora::CondMetadataTable::drop ( )
virtual

Implements ora::IDatabaseTable.

Definition at line 1327 of file PoolDatabaseSchema.cc.

bool ora::CondMetadataTable::eraseAllNames ( )
virtual

Implements ora::INamingServiceTable.

Definition at line 1200 of file PoolDatabaseSchema.cc.

bool ora::CondMetadataTable::eraseObjectName ( const std::string &  name)
virtual

Implements ora::INamingServiceTable.

Definition at line 1192 of file PoolDatabaseSchema.cc.

bool ora::CondMetadataTable::exists ( )
virtual

Implements ora::IDatabaseTable.

Definition at line 1315 of file PoolDatabaseSchema.cc.

bool ora::CondMetadataTable::getAllNames ( std::vector< std::string > &  destination)
virtual

Implements ora::INamingServiceTable.

Definition at line 1292 of file PoolDatabaseSchema.cc.

bool ora::CondMetadataTable::getNamesForContainer ( int  contId,
std::vector< std::string > &  destination 
)
virtual

Implements ora::INamingServiceTable.

Definition at line 1263 of file PoolDatabaseSchema.cc.

bool ora::CondMetadataTable::getNamesForObject ( int  contId,
int  itemId,
std::vector< std::string > &  destination 
)
virtual

Implements ora::INamingServiceTable.

Definition at line 1234 of file PoolDatabaseSchema.cc.

bool ora::CondMetadataTable::getObjectByName ( const std::string &  name,
std::pair< int, int > &  destination 
)
virtual

Implements ora::INamingServiceTable.

Definition at line 1206 of file PoolDatabaseSchema.cc.

std::string ora::CondMetadataTable::name ( )
virtual

Implements ora::IDatabaseTable.

Definition at line 1311 of file PoolDatabaseSchema.cc.

Referenced by VIDSelectorBase.VIDSelectorBase::initialize().

std::string ora::CondMetadataTable::objectNameColumn ( )
static

Definition at line 1153 of file PoolDatabaseSchema.cc.

void ora::CondMetadataTable::setObjectName ( const std::string &  name,
int  contId,
int  itemId 
)
virtual

Implements ora::INamingServiceTable.

Definition at line 1177 of file PoolDatabaseSchema.cc.

std::string ora::CondMetadataTable::tableName ( )
static

Definition at line 1148 of file PoolDatabaseSchema.cc.

std::string ora::CondMetadataTable::timetypeColumn ( )
static

Definition at line 1163 of file PoolDatabaseSchema.cc.

std::string ora::CondMetadataTable::tokenColumn ( )
static

Definition at line 1158 of file PoolDatabaseSchema.cc.

Member Data Documentation

PoolDbCache& ora::CondMetadataTable::m_dbCache
private

Definition at line 223 of file PoolDatabaseSchema.h.