#include <IDatabaseSchema.h>
Public Member Functions | |
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 () |
Private Attributes | |
coral::ISchema & | m_schema |
Definition at line 21 of file IDatabaseSchema.h.
ora::IDatabaseTable::IDatabaseTable | ( | coral::ISchema & | schema | ) | [explicit] |
Definition at line 25 of file IDatabaseSchema.cc.
virtual ora::IDatabaseTable::~IDatabaseTable | ( | ) | [inline, virtual] |
Definition at line 24 of file IDatabaseSchema.h.
{}
virtual void ora::IDatabaseTable::create | ( | ) | [pure virtual] |
Implemented in ora::OraMainTable, ora::OraSequenceTable, ora::OraMappingVersionTable, ora::OraMappingElementTable, ora::OraContainerHeaderTable, ora::OraClassVersionTable, ora::OraNamingServiceTable, ora::PoolMainTable, ora::PoolSequenceTable, ora::PoolMappingVersionTable, ora::PoolMappingElementTable, ora::PoolContainerHeaderTable, ora::PoolClassVersionTable, and ora::CondMetadataTable.
virtual void ora::IDatabaseTable::drop | ( | ) | [pure virtual] |
Implemented in ora::OraMainTable, ora::OraSequenceTable, ora::OraMappingVersionTable, ora::OraMappingElementTable, ora::OraContainerHeaderTable, ora::OraClassVersionTable, ora::OraNamingServiceTable, ora::PoolMainTable, ora::PoolSequenceTable, ora::PoolMappingVersionTable, ora::PoolMappingElementTable, ora::PoolContainerHeaderTable, ora::PoolClassVersionTable, and ora::CondMetadataTable.
virtual bool ora::IDatabaseTable::exists | ( | ) | [pure virtual] |
Implemented in ora::OraMainTable, ora::OraSequenceTable, ora::OraMappingVersionTable, ora::OraMappingElementTable, ora::OraContainerHeaderTable, ora::OraClassVersionTable, ora::OraNamingServiceTable, ora::PoolMainTable, ora::PoolSequenceTable, ora::PoolMappingVersionTable, ora::PoolMappingElementTable, ora::PoolContainerHeaderTable, ora::PoolClassVersionTable, and ora::CondMetadataTable.
virtual std::string ora::IDatabaseTable::name | ( | ) | [pure virtual] |
Implemented in ora::OraMainTable, ora::OraSequenceTable, ora::OraMappingVersionTable, ora::OraMappingElementTable, ora::OraContainerHeaderTable, ora::OraClassVersionTable, ora::OraNamingServiceTable, ora::PoolMainTable, ora::PoolSequenceTable, ora::PoolMappingVersionTable, ora::PoolMappingElementTable, ora::PoolContainerHeaderTable, ora::PoolClassVersionTable, and ora::CondMetadataTable.
coral::ISchema & ora::IDatabaseTable::schema | ( | ) |
Definition at line 29 of file IDatabaseSchema.cc.
{ return m_schema; }
void ora::IDatabaseTable::setAccessPermission | ( | const std::string & | principal, |
bool | forWrite | ||
) | [virtual] |
Definition at line 33 of file IDatabaseSchema.cc.
References mergeVDriftHistosByStation::name, and ora::setTableAccessPermission().
{ coral::ITable& coralHandle = m_schema.tableHandle( name() ); setTableAccessPermission( coralHandle, principal, forWrite ); }
coral::ISchema& ora::IDatabaseTable::m_schema [private] |
Definition at line 33 of file IDatabaseSchema.h.