|
| std::string & | QStringHandler::SwallowSpaces (std::string &s) |
| | remove spaces and tabs from the beginning of s More...
|
| |
| std::string & | QStringHandler::RSwallowSpaces (std::string &s) |
| | remove spaces and tabs from the end of s More...
|
| |
| std::string & | QStringHandler::DoubleSwallowSpaces (std::string &s) |
| | remove spaces and tabs from both the beginning and the end of s More...
|
| |
| std::string | QStringHandler::RemoveFromString (const std::string &text, const char *chars) |
| | Remove some characters from the string. More...
|
| |
| std::string | QStringHandler::ToLower (const std::string &text) |
| | Convert to lower case. More...
|
| |
| std::string | QStringHandler::ToUpper (const std::string &text) |
| | Convert to upper case. More...
|
| |
| void | QStringHandler::Escape (std::string &text, char toBeEscaped) |
| | escape text by adding backslash before each instance of toBeEscaped character More...
|
| |
| void | QStringHandler::UnEscape (std::string &text, char escaped) |
| | unescape text by removing backslash preceding each instance of escaped character More...
|
| |
| void | QStringHandler::Replace (std::string &text, char oldChar, char newChar) |
| | replace oldChar with newChar in text. Escaped characters are not replaced. More...
|
| |
| size_t | QStringHandler::Split (std::string source, std::list< std::string > &splitted, char separtator) |
| | split source into a list of substrings separated by separator More...
|
| |
| bool | QStringHandler::StringToInt (std::string in, int &out, bool strictCheck) |
| | convert string to integer More...
|
| |
| bool | QStringHandler::StringToLong (std::string in, Long64_t &out, bool strictCheck) |
| | convert string to Long64_t More...
|
| |
| bool | QStringHandler::StringToInt (const std::string &in, int &out) |
| | wrapper for StringToInt(in, out, true) More...
|
| |
| bool | QStringHandler::StringToBool (std::string in, bool &out) |
| | convert string to bool More...
|
| |
| bool | QStringHandler::StringToDouble (std::string in, double &out, bool strictCheck) |
| | convert string to double More...
|
| |
| bool | QStringHandler::StringToDouble (const std::string &in, double &out) |
| | wrapper for StringToDouble(in, out, true) More...
|
| |
| bool | QStringHandler::StringToChar (const std::string &in, char &out) |
| | convert string to signed char (i.e. 8-bit int) More...
|
| |
| std::string | QStringHandler::IntToString (int val, int width=0, char pad='0') |
| | convert int value to string More...
|
| |
| std::string | QStringHandler::LongToString (Long64_t val, int width=0, char pad='0') |
| | convert long64 value to string More...
|
| |
| std::string | QStringHandler::BoolToString (bool val) |
| | convert bool value to string ("true" or "false") More...
|
| |
| std::string | QStringHandler::DoubleToString (double val, int nDigits=4, bool scientific=true) |
| | convert double value to string More...
|
| |
| std::string | QStringHandler::IntToHexString (int value) |
| | convert int value to string using hex representation More...
|
| |
| std::string | QStringHandler::Resize (const std::string &s, size_t len) |
| | resize a string to len, adding spaces if necessary More...
|
| |
| std::string | QStringHandler::TimeFormat (const char *fmt="%b %d %Y %H:%M:%S") |
| | Get the current time formated as a string. More...
|
| |
| std::string | QStringHandler::TimeFormat (const char *fmt, time_t t0) |
| | Convert an time struct to a formated time string. More...
|
| |
| template<class T > |
| std::string | QStringHandler::SqlString (const Diana::QBaseType< T > &baseVal, bool modeSelect) |
| | build string valid for sql select or insert query starting from a QBaseType variable More...
|
| |
| std::string | QStringHandler::SqlString (const Diana::QBool &boolVal, bool modeSelect) |
| | build string valid for sql select or insert query starting from a QBool More...
|
| |
| std::string | QStringHandler::SqlString (const std::vector< int > &vecVal, bool modeSelect, bool writeEmptyBra) |
| | build string valid for sql select or insert query starting from a std::vector<int> More...
|
| |
| std::string | QStringHandler::SqlString (const Diana::QString &strVal, const std::string &selectName="") |
| | build string valid for sql select or insert query starting from a QString More...
|
| |
| std::string | QStringHandler::RandomString (UInt_t length, Bool_t caseSensitive=true, Bool_t startLetter=false) |
| | Return a random string of lenght. More...
|
| |
| template<class ForwardIterator > |
| std::string | QStringHandler::Join (const std::string &joiner, ForwardIterator begin, ForwardIterator end) |
| | Join a list of things into a string. More...
|
| |