GEOS
3.8.0dev
|
#include <ttmathmisc.h>
Static Public Member Functions | |
static void | AssignString (std::string &result, const char *str) |
static void | AssignString (std::wstring &result, const char *str) |
static void | AssignString (std::wstring &result, const std::string &str) |
static void | AssignString (std::string &result, const wchar_t *str) |
static void | AssignString (std::string &result, const std::wstring &str) |
static void | AddString (std::string &result, const char *str) |
static void | AddString (std::wstring &result, const char *str) |
template<class char_type > | |
static void | SkipWhiteCharacters (const char_type *&c) |
static uint | CharToDigit (uint c) |
static sint | CharToDigit (uint c, uint base) |
static uint | DigitToChar (uint digit) |
some helpful functions
|
inlinestatic |
result += str
|
inlinestatic |
result += str
|
inlinestatic |
|
inlinestatic |
result = str
|
inlinestatic |
result = str
References AssignString().
|
inlinestatic |
result = str
|
inlinestatic |
result = str
References AssignString().
this static method converts one character into its value
for example:
this method don't check whether c is correct or not
this method changes a character 'c' into its value (if there can't be a correct value it returns -1)
for example:
this method converts a digit into a char digit should be from <0,F> (we don't have to get a base)
for example:
Referenced by ttmath::UInt< man >::ToStringBase().