B2BITS FIX Antenna C++ 2.32.0
|
Encapsulates ASCII std::string processing methods. More...
#include <B2BITS_StringUtils.h>
Static Public Member Functions | |
static bool | isDigit (char c) throw () |
Returns nonzero if c is a particular representation of a decimal-digit character. | |
static char const * | strchr (char const *str, char c) throw () |
Find a character in a std::string. | |
static std::size_t | strlen (char const *str) throw () |
Returns length of the std::string. | |
static int | strncmp (char const *str1, char const *str2, std::size_t count) throw () |
Compare characters of two strings. | |
static int | strnicmp (char const *str1, char const *str2, std::size_t count) throw () |
This function is called to make a case-insensitive comparison of two ANSI strings. | |
static int | toInt (const char *str, std::size_t size) throw () |
Converts string to integer. | |
static System::i16 | toInt16 (const char *str, std::size_t size) throw () |
Converts string to integer. | |
static System::i32 | toInt32 (const char *str) throw () |
Converts strings to integer. | |
static System::i32 | toInt32 (const char *str, std::size_t size) throw () |
Converts string to integer. | |
static System::i64 | toInt64 (const char *str) throw () |
Converts a std::string to a 64-bit integer. | |
static System::i64 | toInt64 (const char *str, std::size_t size) throw () |
Converts a string to a 64-bit integer. | |
static unsigned int | toUInt (const char *str, std::size_t size) throw () |
Converts string to unsigned integer. | |
static System::u16 | toUInt16 (const char *str, std::size_t size) throw () |
Converts string to unsigned integer. | |
static System::u32 | toUInt32 (const char *str, std::size_t size) throw () |
Converts string to unsigned integer. | |
static System::u64 | toUInt64 (const char *str, std::size_t size) throw () |
Converts a string to a 64-bit unsigned integer. | |
Encapsulates ASCII std::string processing methods.
|
inlinestatic |
Returns nonzero if c is a particular representation of a decimal-digit character.
c | char to test. |
|
inlinestatic |
Find a character in a std::string.
str | Null-terminated source std::string. |
c | Character to be located. |
|
inlinestatic |
Returns length of the std::string.
str | Null-terminated std::string. |
|
inlinestatic |
Compare characters of two strings.
str1 | Strings to compare. |
str2 | Strings to compare. |
count | Number of characters to compare. |
|
inlinestatic |
This function is called to make a case-insensitive comparison of two ANSI strings.
str1 | The first std::string. |
str2 | The second std::string. |
count | The number of characters to compare. |
References Utils::strnicmp().
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Converts strings to integer.
str | String to be converted. |
|
inlinestatic |
|
inlinestatic |
Converts a std::string to a 64-bit integer.
str | String to be converted. |
References Utils::atoi64().
|
inlinestatic |
Converts a string to a 64-bit integer.
str | String to be converted. |
References Utils::strtoi64().
|
inlinestatic |
Converts string to unsigned integer.
str | String to be converted. |
References Utils::strtou().
|
inlinestatic |
Converts string to unsigned integer.
str | String to be converted. |
References Utils::strtou16().
|
inlinestatic |
Converts string to unsigned integer.
str | String to be converted. |
References Utils::strtou32().
|
inlinestatic |
Converts a string to a 64-bit unsigned integer.
str | String to be converted. |
References Utils::strtou64().