9#ifndef IOVDBSVC_IOVDBPARSER_H
10#define IOVDBSVC_IOVDBPARSER_H
15#include "GaudiKernel/ClassID.h"
23 IOVDbParser(
const std::string &input, MsgStream& log);
26 std::pair<std::string, bool>
27 at(
const std::string & searchKey,
const std::string & defaultValue=
"")
const;
29 bool getKey(
const std::string&
key,
const std::string& devvalue,std::string& value)
const;
32 std::string
key()
const;
34 std::string
tag()
const;
37 std::string
cache()
const;
41 std::vector<std::string>
symLinks()
const;
60 typedef std::map<std::string, std::string>
KeyValMap;
63 bool overridesIovImpl(MsgStream&
msg,
const bool performFolderCheck,
const bool folderIs_nsOfEpoch=
true)
const;
uint32_t CLID
The Class ID type.
MsgStream & operator<<(MsgStream &os, const IOVDbParser &fldr)
bool overridesIovImpl(MsgStream &msg, const bool performFolderCheck, const bool folderIs_nsOfEpoch=true) const
implementation of overridesIov, with or without check on folder compatibility
std::pair< std::string, bool > at(const std::string &searchKey, const std::string &defaultValue="") const
'at' accessor with an optional default; the bool is true if the key was found
std::string toString() const
std::vector< std::string > symLinks() const
std::string cache() const
CLID classId(MsgStream &msg) const
bool onlyReadMetadata() const
bool getKey(const std::string &key, const std::string &devvalue, std::string &value) const
original 'getKey' method, now implemented using 'at'
std::string eventStoreName() const
bool timebaseIs_nsOfEpoch() const
unsigned long long iovOverrideValue(MsgStream &msg) const
bool overridesIov(MsgStream &msg) const
return true if this description overrides the timestamp or runlumi
bool operator==(const IOVDbParser &other) const
std::map< std::string, std::string > KeyValMap
bool noTagOverride() const
std::string addressHeader() const
unsigned applyOverrides(const IOVDbParser &other, MsgStream &log)
std::string folderName() const
give the folder name contained in the parsed description