|
std::string | IOVDbNamespace::spaceStrip (const std::string &input) |
| Trim leading and trailing spaces,return a new trimmed string. More...
|
|
int | IOVDbNamespace::makeChannel (const std::string &strval, const int defchan) |
| Produce a channel number from the string; default to 'defchan' if empty. More...
|
|
template<class IntType > |
std::vector< std::pair< IntType, IntType > > | IOVDbNamespace::parseChannelSpec (const std::string &chanspecString) |
| Parse a channel specification string of the format ":3, 65:67,100:120, 130: " into a vector of pairs. More...
|
|
unsigned long long | IOVDbNamespace::iovFromTimeString (const std::string &iovString) |
| Take a string integer giving a time in seconds and convert it to a ULL in nanoseconds. More...
|
|
unsigned long long | IOVDbNamespace::iovFromRunString (const std::string &runString) |
| Take a string run number and convert it to an ULL representing run<<32. More...
|
|
unsigned long long | IOVDbNamespace::iovFromLumiBlockString (const std::string &lbString) |
| String representation of lumiblock just converted to LL (as in original code) and returned as a ULL. More...
|
|
int | IOVDbNamespace::parseClid (const std::string &addrHeaderStr) |
| Extract the Class ID (an integer) from a string of form <addrHeader><address_header service_type="256" clid="12345" ></addrHeader> More...
|
|
std::string | IOVDbNamespace::parseTypename (const std::string &description) |
| Extract the typename from a folder description. More...
|
|
std::string | IOVDbNamespace::deleteRegex (const std::string &original, const std::string ®ex) |
| Delete characters of a matching regex from the input string. More...
|
|
std::string | IOVDbNamespace::quote (const std::string &sentence) |
| Enclose a string in ". More...
|
|
std::string | IOVDbNamespace::sanitiseFilename (const std::string &fname) |
| Replace the '/' of a file path with '^'. More...
|
|
std::string | IOVDbNamespace::sanitiseCrestTag (const std::string &fname) |
| return valid CREST tag name from folder name More...
|
|
std::string | IOVDbNamespace::replaceNULL (const std::string &possibleNULL) |
| replace an uppercase NULL (such as returned by oracle) in string with a lowercase null (such as used in JSON) More...
|
|
std::string | IOVDbNamespace::sanitiseXml (const std::string &pseudoXmlString) |
| for use when converting cool folder description JSON More...
|
|
std::string | IOVDbNamespace::sanitiseJsonString (const std::string &dataString) |
| Sanitise json string, escaping raw carriage returns. More...
|
|
bool | IOVDbNamespace::looksLikeMagicTag (const std::string &candidateTag) |
| Looks like it should be magic. More...
|
|
bool | IOVDbNamespace::tagIsMagic (const std::string &candidateTag) |
| Resolve magic tag. More...
|
|
std::vector< std::string > | IOVDbNamespace::parseMagicTag (const std::string &candidateTag) |
| Takes a tag of form TagInfo{Major|Minor}/<tag> or TagInfo{Major|Minor}/<prefix>/<tag> and resolve it to a string vector{"Major|Minor", <prefix>, <tag>} returns an empty vector if a match is not found. More...
|
|
std::pair< std::string, std::string > | IOVDbNamespace::tag2PrefixTarget (const std::vector< std::string > &parseResult) |
| Takes a vector<string> containing {"<fulltag>", "Major|Minor", "<prefix>", "<tag>"} and returns a pair of {"<prefix>", "<tag>"}. More...
|
|
bool | IOVDbNamespace::replaceServiceType71 (std::string &addrHeader) |
|
std::string | IOVDbNamespace::unescapeQuotes (const std::string &original) |
|
std::string | IOVDbNamespace::unescapeBackslash (const std::string &original) |
|
std::vector< std::string > | IOVDbNamespace::parseLinkNames (const std::string &linktext) |
| Parse string of format "A:X::B:C" to "A" , "X::B", "C". More...
|
|