1 #ifndef _ots_DatabaseConfigurationInterface_h_
2 #define _ots_DatabaseConfigurationInterface_h_
4 #include "otsdaq/ConfigurationInterface/ConfigurationInterface.h"
20 using config_version_map_t = std::map<std::string ,
TableVersion >;
29 void saveActiveVersion(
const TableBase* ,
bool overwrite =
false)
const;
35 std::set<std::string > getAllTableNames()
const;
37 std::set<TableVersion> getVersions(
const TableBase* )
const noexcept;
40 std::set<std::string > getAllTableGroupNames(std::string
const& filterString =
"")
const;
41 std::set<TableGroupKey> getKeys(
const std::string& groupName)
const;
42 TableGroupKey findLatestGroupKey(
const std::string& groupName)
const noexcept;
45 config_version_map_t getTableGroupMembers(std::string
const& ,
bool includeMetaDataTable =
false)
const;
48 void saveTableGroup(config_version_map_t
const& , std::string
const& )
const;