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 editorTools.UserCodeTool::__call__(), HiCoreTools.RestrictInputToAOD::__call__(), coreTools.RunOnData::__call__(), trackTools.MakeAODTrackCandidates::__call__(), runJetUncertainties.RunJetUncertainties::__call__(), metTools.AddMETCollection::__call__(), editorTools.ChangeSource::__call__(), HiCoreTools.RemoveMCMatching::__call__(), cmsswVersionTools.PickRelValInputFiles::__call__(), coreTools.RemoveMCMatching::__call__(), trackTools.MakePATTrackCandidates::__call__(), jetTools.AddJetCollection::__call__(), trigTools.SwitchOnTrigger::__call__(), HiCoreTools.RemoveAllPATObjectsBut::__call__(), runType1CaloMEtUncertainties.RunType1CaloMEtUncertainties::__call__(), HiCoreTools.RemoveSpecificPATObjects::__call__(), trigTools.SwitchOnTriggerStandAlone::__call__(), trackTools.MakeTrackCandidates::__call__(), runMVAMEtUncertainties.RunMVAMEtUncertainties::__call__(), tauTools.AddTauCollection::__call__(), jmeUncertaintyTools.JetMEtUncertaintyTools::__call__(), trigTools.SwitchOnTriggerMatching::__call__(), HiCoreTools.RemoveCleaning::__call__(), runType1PFMEtUncertainties.RunType1PFMEtUncertainties::__call__(), HiCoreTools.AddCleaning::__call__(), runNoPileUpMEtUncertainties.RunNoPileUpMEtUncertainties::__call__(), trigTools.SwitchOnTriggerMatchingStandAlone::__call__(), trigTools.SwitchOnTriggerMatchEmbedding::__call__(), jetTools.SwitchJetCollection::__call__(), jetTools.AddJetID::__call__(), and jetTools.SetTagInfos::__call__().

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 }