otsdaq  v2_03_00
ots::DatabaseConfigurationInterface Class Reference
Inheritance diagram for ots::DatabaseConfigurationInterface:
ots::ConfigurationInterface

Public Types

using config_version_map_t = std::map< std::string, TableVersion >
 

Public Member Functions

void fill (TableBase *, TableVersion) const throw (std::runtime_error)
 
void saveActiveVersion (const TableBase *, bool overwrite=false) const throw (std::runtime_error)
 
TableVersion findLatestVersion (const TableBase *) const noexcept
 
std::set< std::string > getAllTableNames () const throw (std::runtime_error)
 
std::set< TableVersiongetVersions (const TableBase *) const noexcept
 
std::set< std::string > getAllTableGroupNames (const std::string &filterString="") const throw (std::runtime_error)
 
std::set< TableGroupKeygetKeys (const std::string &groupName) const
 
TableGroupKey findLatestGroupKey (const std::string &groupName) const noexcept
 
config_version_map_t getTableGroupMembers (std::string const &, bool includeMetaDataTable=false) const throw (std::runtime_error)
 
void saveTableGroup (config_version_map_t const &, std::string const &) const throw (std::runtime_error)
 
- Public Member Functions inherited from ots::ConfigurationInterface
void get (TableBase *&table, const std::string tableName, std::shared_ptr< const TableGroupKey > groupKey=0, const std::string *groupName=0, bool dontFill=false, TableVersion version=TableVersion(), bool resetConfiguration=true, bool looseColumnMatching=false)
 
const bool & getMode () const
 
TableVersion saveNewVersion (TableBase *configuration, TableVersion temporaryVersion, TableVersion newVersion=TableVersion())
 
virtual void saveTableGroup (std::map< std::string, TableVersion > const &, std::string const &) const throw (std::runtime_error)
 

Additional Inherited Members

- Static Public Member Functions inherited from ots::ConfigurationInterface
static ConfigurationInterfacegetInstance (bool mode)
 
static bool isVersionTrackingEnabled ()
 
static void setVersionTrackingEnabled (bool setValue)
 
- Static Public Attributes inherited from ots::ConfigurationInterface
static const std::string GROUP_METADATA_TABLE_NAME
 
- Protected Attributes inherited from ots::ConfigurationInterface
ConfigurationHandlerBase * theConfigurationHandler_
 

Detailed Description

Definition at line 17 of file DatabaseConfigurationInterface.h.


The documentation for this class was generated from the following files: