|
Jpp 20.0.0-rc.3
the software that should make you happy
|
#include <string>#include <sstream>#include <iterator>#include <ctype.h>Go to the source code of this file.
Namespaces | |
| namespace | JLANG |
| Auxiliary classes and methods for language specific functionality. | |
| namespace | JPP |
| This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES). | |
Functions | |
| template<class T , size_t N> | |
| size_t | JLANG::getSize (T(&array)[N]) |
| Get size of c-array. | |
| template<class JFirst_t , class JSecond_t > | |
| bool | JLANG::is_identical (JFirst_t &first, JSecond_t &second) |
| Check if two objects are indentical. | |
| bool | JLANG::is_integer (const std::string &buffer) |
| Check if string is an integer. | |
| std::string | JLANG::trim (const std::string &buffer) |
| Trim string. | |
| std::string | JLANG::trim (const std::string &buffer, const char c) |
| Trim string. | |
| std::string | JLANG::replace (const std::string &input, const std::string &target, const std::string &replacement) |
| Replace tokens in string. | |
| std::string | JLANG::replace (const std::string &input, const char target, const std::string &replacement) |
| Replace characters in string. | |
| std::string | JLANG::replace (const std::string &input, const char target, const char replacement) |
| Replace characters in string. | |
| std::string | JLANG::trim (const std::string &buffer, const std::string &target) |
| Trim string. | |
| template<class T > | |
| std::string | JLANG::to_string (const T &value) |
| Convert value to string. | |
| template<class T > | |
| T | JLANG::to_value (const std::string &input) |
| Convert string to value. | |
| std::string | JLANG::to_upper (const std::string &value) |
| Convert all character to upper case. | |
| std::string | JLANG::to_lower (const std::string &value) |
| Convert all character to lower case. | |
| size_t | JLANG::get_number_of_tokens (const std::string &buffer) |
| Count number of white space separated tokens. | |
| bool | JLANG::is_single_quoted (const std::string &value) |
| Check quotation. | |
| bool | JLANG::is_double_quoted (const std::string &value) |
| Check quotation. | |
| std::string | JLANG::single_quote (const std::string &value) |
| Quote string. | |
| std::string | JLANG::double_quote (const std::string &value) |
| Quote string. | |