CMS 3D CMS Logo

Public Member Functions | Private Attributes

ora::IDatabaseTable Class Reference

#include <IDatabaseSchema.h>

Inheritance diagram for ora::IDatabaseTable:
ora::IContainerHeaderTable ora::IMainTable ora::INamingServiceTable ora::ISequenceTable ora::OraClassVersionTable ora::OraMappingElementTable ora::OraMappingVersionTable ora::PoolClassVersionTable ora::PoolMappingElementTable ora::PoolMappingVersionTable

List of all members.

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

Detailed Description

Definition at line 21 of file IDatabaseSchema.h.


Constructor & Destructor Documentation

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

Definition at line 25 of file IDatabaseSchema.cc.

                                                       :
  m_schema( schema ){
}
virtual ora::IDatabaseTable::~IDatabaseTable ( ) [inline, virtual]

Definition at line 24 of file IDatabaseSchema.h.

{}

Member Function Documentation

virtual void ora::IDatabaseTable::create ( ) [pure virtual]
virtual void ora::IDatabaseTable::drop ( ) [pure virtual]
virtual bool ora::IDatabaseTable::exists ( ) [pure virtual]
virtual std::string ora::IDatabaseTable::name ( ) [pure virtual]
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 );
}

Member Data Documentation

coral::ISchema& ora::IDatabaseTable::m_schema [private]

Definition at line 33 of file IDatabaseSchema.h.