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

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

Referenced by electronTools.AddElectronUserIsolation::__call__(), photonTools.AddPhotonUserIsolation::__call__(), metTools.AddTcMET::__call__(), muonTools.AddMuonUserIsolation::__call__(), editorTools.UserCodeTool::__call__(), HiCoreTools.RestrictInputToAOD::__call__(), coreTools.RestrictInputToAOD::__call__(), trackTools.MakeAODTrackCandidates::__call__(), cmsswVersionTools.Run52xOn51xTrigger::__call__(), editorTools.ChangeSource::__call__(), metTools.AddPfMET::__call__(), HiCoreTools.RemoveMCMatching::__call__(), coreTools.RunOnData::__call__(), trackTools.MakePATTrackCandidates::__call__(), trigTools.SwitchOnTrigger::__call__(), cmsswVersionTools.PickRelValInputFiles::__call__(), coreTools.RemoveMCMatching::__call__(), HiCoreTools.RemoveAllPATObjectsBut::__call__(), jetTools.RunBTagging::__call__(), HiCoreTools.RemoveSpecificPATObjects::__call__(), trigTools.SwitchOnTriggerStandAlone::__call__(), coreTools.RemoveAllPATObjectsBut::__call__(), trackTools.MakeTrackCandidates::__call__(), coreTools.RemoveSpecificPATObjects::__call__(), HiCoreTools.RemoveCleaning::__call__(), trigTools.SwitchOnTriggerMatching::__call__(), HiCoreTools.AddCleaning::__call__(), coreTools.RemoveCleaning::__call__(), tauTools.AddTauCollection::__call__(), trigTools.SwitchOnTriggerMatchingStandAlone::__call__(), coreTools.AddCleaning::__call__(), jetTools.AddJetCollection::__call__(), trigTools.SwitchOnTriggerMatchEmbedding::__call__(), trigTools.RemoveCleaningFromTriggerMatching::__call__(), jetTools.SwitchJetCollection::__call__(), jetTools.AddJetID::__call__(), metUncertaintyTools.RunMEtUncertainties::__call__(), jetTools.SetTagInfos::__call__(), and jetTools.SwitchJetCorrLevels::__call__().

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

Definition at line 44 of file IDatabaseSchema.cc.

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

44  {
45  static 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.

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

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