|
enum class | CONFIGURATION_MODE { DO_NOT_CREATE
, XML_FILE
, ARTDAQ_DATABASE
} |
|
|
virtual std::set< std::string > | getAllTableNames (void) const |
|
virtual std::set< TableVersion > | getVersions (const TableBase *configuration) const =0 |
|
TableVersion | saveNewVersion (TableBase *configuration, TableVersion temporaryVersion, TableVersion newVersion=TableVersion()) |
|
virtual std::set< std::string > | getAllTableGroupNames (const std::string &="") const |
| group handling
|
|
virtual std::set< TableGroupKey > | getKeys (const std::string &) const |
|
virtual std::map< std::string, TableVersion > | getTableGroupMembers (std::string const &, bool=false) const |
|
virtual void | saveTableGroup (std::map< std::string, TableVersion > const &, std::string const &) const |
|
virtual std::pair< std::string, TableVersion > | saveCustomJSON (const std::string &JSON, const std::string &documentNameToSave) const |
|
virtual std::string | loadCustomJSON (const std::string &documentNameToLoad, TableVersion documentVersionToLoad) const |
|
virtual TableGroupKey | findLatestGroupKey (const std::string &) const |
| otsdaq_database_migrate and otsdaq_import_system_aliases to compile
|
|
virtual TableVersion | findLatestVersion (const TableBase *configuration) const =0 |
| return INVALID if no existing versions
|
|
virtual void | saveActiveVersion (const TableBase *configuration, bool overwrite=false) const =0 |
|
|
static ConfigurationInterface * | getInstance (CONFIGURATION_MODE mode=CONFIGURATION_MODE::DO_NOT_CREATE) |
|
static bool | isVersionTrackingEnabled (void) |
|
static void | setVersionTrackingEnabled (bool setValue) |
|
static const CONFIGURATION_MODE & | getMode (void) |
|
|
static const std::string | GROUP_METADATA_TABLE_NAME |
|
|
ConfigurationHandlerBase * | theConfigurationHandler_ |
|
Definition at line 22 of file ConfigurationInterface.h.
◆ getAllTableNames()
virtual std::set<std::string > ots::ConfigurationInterface::getAllTableNames |
( |
void |
| ) |
const |
|
inlinevirtual |
◆ getTableGroupMembers()
virtual std::map<std::string , TableVersion > ots::ConfigurationInterface::getTableGroupMembers |
( |
std::string const & |
, |
|
|
bool |
= false |
|
) |
| const |
|
inlinevirtual |
◆ saveNewVersion()
saveNewVersion If newVersion is 0, then save the temporaryVersion as the next positive version number, save using the interface, and return the new version number If newVersion is non 0, attempt to save as given newVersion number, else throw exception. return TableVersion::INVALID on failure
Definition at line 82 of file ConfigurationInterface.cc.
◆ GROUP_METADATA_TABLE_NAME
const std::string ConfigurationInterface::GROUP_METADATA_TABLE_NAME |
|
static |
The documentation for this class was generated from the following files: