|
template<class T > |
tString | core_functions::pointerToString (const T *ptr) |
| return the pointer of the class as a string More...
|
|
template<typename T > |
tBoolean | core_functions::areEquals (const T &e1, const T &e2) |
| tests if two elements are equals More...
|
|
template<> |
tBoolean | core_functions::areEquals (const tReal &e1, const tReal &e2) |
| tests if two string are equals More...
|
|
template<> |
tBoolean | core_functions::areEquals (const tComplex &e1, const tComplex &e2) |
| tests if two string are equals More...
|
|
template<> |
tBoolean | core_functions::areEquals (const tString &e1, const tString &e2) |
| tests if two string are equals More...
|
|
template<typename T , std::enable_if_t< std::is_integral_v< T >> * = nullptr> |
tString | core_functions::toString (const T &v, const tUCInt &d) |
|
template<typename T , std::enable_if_t< std::is_arithmetic_v< T >> * = nullptr> |
tString | core_functions::toString (const T &v) |
|
tString | core_functions::booleanToString (const tBoolean &v) |
|
tString & | core_functions::ltrim (tString &s) |
| remove all the empty characters at the beginning of the string More...
|
|
tString & | core_functions::rtrim (tString &s) |
| remove all the empty characters at the end of the string More...
|
|
tString & | core_functions::trim (tString &s) |
| remove all the empty characters at the begining and end of the string More...
|
|
void | core_functions::replaceAll (const tString &word, const tString &rWord, tString &str) |
| replace all instnce of word by replace word in string More...
|
|
void | core_functions::toLower (tString &s) |
| turn a string to lower value More...
|
|
void | core_functions::toUpper (tString &s) |
| turn a string to lower value More...
|
|
void | core_functions::tokenize (tString &str, const tString &delim, std::vector< tString > words) |
| tokenize More...
|
|
template<typename T > |
requires core_functions::isArithmeticType< T > const T & | core_functions::min (const T &a, const T &b) |
| min function More...
|
|
template<typename T > |
requires core_functions::isArithmeticType< T > const T & | core_functions::max (const T &a, const T &b) |
| max function More...
|
|
template<typename T > |
requires core_functions::isRealType< T > tBoolean | core_functions::isNAN (const T &s) |
| return true if the argument is an integer number More...
|
|
tBoolean | core_functions::isInteger (const tString &s) |
| return true if the argument is an integer number More...
|
|
tBoolean | core_functions::isNumeric (const tString &s) |
| return true if the argument is an integer number More...
|
|
tBoolean | core_functions::isString (const tString &s) |
| return true if the argument is a string More...
|
|
template<typename T > |
void | core_functions::parse (const tString &s, T &v) |
| parse the string More...
|
|
template<> |
void | core_functions::parse (const tString &s, tBoolean &v) |
| parse the string More...
|
|
template<typename T , size_t D> |
tString | core_functions::toString (const std::array< T, D > &a) |
| rretru the array to string More...
|
|
template<typename T > |
tString | core_functions::toString (const std::valarray< T > &a) |
| rretru the array to string More...
|
|
template<typename Q > |
const std::pair< Q, Q > & | core_functions::complexMultiply (const std::pair< Q, Q > &alpha, std::pair< Q, Q > &beta) |
|
template<typename Q > |
const std::pair< Q, Q > & | core_functions::complexAdd (const std::pair< Q, Q > &alpha, std::pair< Q, Q > &beta) |
|