#include <Utils.h>
Static Public Member Functions | |
static void | bumpIndex (std::vector< int > &theVector, unsigned int index) |
static void | getHostAndPID (std::string &sHPid) |
static void | intArrayToString (std::vector< int > &theVector, std::string &theString) |
static bool | matchExactly (std::string s1, std::string s2) |
static void | stringToIntArray (std::vector< int > &theVector, const std::string &theString) |
static std::vector< std::string > | vectorDoubleToString (const std::vector< double > &doubleVector) |
static std::vector< double > | vectorStringToDouble (const std::vector< std::string > &stringVector) |
|
static |
Bumps up the value at an index of the array, growing it as necessary The input vector has to be initialized!
Definition at line 85 of file Utils.cc.
References i, and getHLTprescales::index.
Referenced by jsoncollector::ObjectMerger::csvToJson().
|
static |
Returns a string of the type host_pid
Definition at line 43 of file Utils.cc.
References sysUtil::pid.
Referenced by jsoncollector::FastMonitor::outputFullHistoDataPoint().
|
static |
Converts an int array to string
Definition at line 72 of file Utils.cc.
References i.
Referenced by jsoncollector::ObjectMerger::csvToJson(), and jsoncollector::Operations::histo().
|
static |
Returns true if the strings match exactly
Definition at line 37 of file Utils.cc.
Referenced by jsoncollector::ObjectMerger::merge(), and jsoncollector::Operations::same().
|
static |
Parses a string into a vector of integers
Definition at line 52 of file Utils.cc.
Referenced by jsoncollector::Operations::histo().
|
static |
|
static |
Convenience method to convert a vector of strings into a vector of doubles
Definition at line 30 of file Utils.cc.
References i.
Referenced by jsoncollector::ObjectMerger::applyOperation().