ATLAS Offline Software
|
#include <IOVDbParser.h>
Public Member Functions | |
IOVDbParser ()=delete | |
IOVDbParser (const std::string &input, MsgStream &log) | |
bool | isValid () const |
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 More... | |
bool | getKey (const std::string &key, const std::string &devvalue, std::string &value) const |
original 'getKey' method, now implemented using 'at' More... | |
std::string | folderName () const |
give the folder name contained in the parsed description More... | |
std::string | key () const |
bool | hasKey () const |
std::string | tag () const |
std::string | eventStoreName () const |
bool | timebaseIs_nsOfEpoch () const |
std::string | cache () const |
int | cachehint () const |
bool | named () const |
std::string | addressHeader () const |
std::vector< std::string > | symLinks () const |
bool | noTagOverride () const |
CLID | classId (MsgStream &msg) const |
bool | onlyReadMetadata () const |
bool | extensible () const |
unsigned | applyOverrides (const IOVDbParser &other, MsgStream &log) |
bool | overridesIov (MsgStream &msg) const |
return true if this description overrides the timestamp or runlumi More... | |
bool | overridesIov (MsgStream &msg, const bool folderIs_nsOfEpoch) const |
as for overridesIov(), but with a check that the folder time unit is compatible with the override time unit More... | |
unsigned long long | iovOverrideValue (MsgStream &msg) const |
bool | operator== (const IOVDbParser &other) const |
std::string | toString () const |
void | clean () |
Private Types | |
typedef std::map< std::string, std::string > | KeyValMap |
Private Member Functions | |
bool | overridesIovImpl (MsgStream &msg, const bool performFolderCheck, const bool folderIs_nsOfEpoch=true) const |
implementation of overridesIov, with or without check on folder compatibility More... | |
Private Attributes | |
bool | m_valid |
KeyValMap | m_keys |
Definition at line 19 of file IOVDbParser.h.
|
private |
Definition at line 60 of file IOVDbParser.h.
|
delete |
IOVDbParser::IOVDbParser | ( | const std::string & | input, |
MsgStream & | log | ||
) |
Definition at line 12 of file IOVDbParser.cxx.
std::string IOVDbParser::addressHeader | ( | ) | const |
Definition at line 206 of file IOVDbParser.cxx.
unsigned IOVDbParser::applyOverrides | ( | const IOVDbParser & | other, |
MsgStream & | log | ||
) |
Definition at line 233 of file IOVDbParser.cxx.
std::pair< std::string, bool > IOVDbParser::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
Definition at line 123 of file IOVDbParser.cxx.
std::string IOVDbParser::cache | ( | ) | const |
Definition at line 163 of file IOVDbParser.cxx.
int IOVDbParser::cachehint | ( | ) | const |
Definition at line 168 of file IOVDbParser.cxx.
CLID IOVDbParser::classId | ( | MsgStream & | msg | ) | const |
Definition at line 190 of file IOVDbParser.cxx.
void IOVDbParser::clean | ( | ) |
std::string IOVDbParser::eventStoreName | ( | ) | const |
Definition at line 153 of file IOVDbParser.cxx.
bool IOVDbParser::extensible | ( | ) | const |
Definition at line 184 of file IOVDbParser.cxx.
std::string IOVDbParser::folderName | ( | ) | const |
give the folder name contained in the parsed description
Definition at line 133 of file IOVDbParser.cxx.
bool IOVDbParser::getKey | ( | const std::string & | key, |
const std::string & | devvalue, | ||
std::string & | value | ||
) | const |
original 'getKey' method, now implemented using 'at'
Definition at line 108 of file IOVDbParser.cxx.
bool IOVDbParser::hasKey | ( | ) | const |
Definition at line 143 of file IOVDbParser.cxx.
unsigned long long IOVDbParser::iovOverrideValue | ( | MsgStream & | msg | ) | const |
Definition at line 301 of file IOVDbParser.cxx.
|
inline |
Definition at line 67 of file IOVDbParser.h.
std::string IOVDbParser::key | ( | ) | const |
Definition at line 138 of file IOVDbParser.cxx.
bool IOVDbParser::named | ( | ) | const |
Definition at line 174 of file IOVDbParser.cxx.
bool IOVDbParser::noTagOverride | ( | ) | const |
Definition at line 217 of file IOVDbParser.cxx.
bool IOVDbParser::onlyReadMetadata | ( | ) | const |
Definition at line 179 of file IOVDbParser.cxx.
bool IOVDbParser::operator== | ( | const IOVDbParser & | other | ) | const |
Definition at line 257 of file IOVDbParser.cxx.
bool IOVDbParser::overridesIov | ( | MsgStream & | msg | ) | const |
return true if this description overrides the timestamp or runlumi
Definition at line 262 of file IOVDbParser.cxx.
bool IOVDbParser::overridesIov | ( | MsgStream & | msg, |
const bool | folderIs_nsOfEpoch | ||
) | const |
as for overridesIov(), but with a check that the folder time unit is compatible with the override time unit
Definition at line 268 of file IOVDbParser.cxx.
|
private |
implementation of overridesIov, with or without check on folder compatibility
Definition at line 274 of file IOVDbParser.cxx.
std::vector< std::string > IOVDbParser::symLinks | ( | ) | const |
Definition at line 211 of file IOVDbParser.cxx.
std::string IOVDbParser::tag | ( | ) | const |
Definition at line 148 of file IOVDbParser.cxx.
bool IOVDbParser::timebaseIs_nsOfEpoch | ( | ) | const |
Definition at line 158 of file IOVDbParser.cxx.
std::string IOVDbParser::toString | ( | ) | const |
Definition at line 320 of file IOVDbParser.cxx.
|
private |
Definition at line 61 of file IOVDbParser.h.
|
private |
Definition at line 59 of file IOVDbParser.h.