|
bool | ucommon::eq (char const *s1, char const *s2) |
| Compare two null terminated strings if equal. More...
|
|
bool | ucommon::eq (char const *s1, char const *s2, size_t size) |
| Compare two null terminated strings if equal up to specified size. More...
|
|
bool | ucommon::eq (String &s1, const char *s2) |
| Compare two string objects if equal. More...
|
|
bool | ucommon::eq_case (char const *s1, char const *s2) |
| Compare two null terminated strings if equal ignoring case. More...
|
|
bool | ucommon::eq_case (char const *s1, char const *s2, size_t size) |
| Compare two null terminated strings if equal for a specified size ignoring case. More...
|
|
bool | ucommon::ge (String &s1, const char *s2) |
|
bool | ucommon::gt (String &s1, const char *s2) |
|
bool | ucommon::le (String &s1, const char *s2) |
|
bool | ucommon::lt (String &s1, const char *s2) |
|
bool | ucommon::ne (char const *s1, char const *s2) |
|
bool | ucommon::ne (char const *s1, char const *s2, size_t size) |
|
bool | ucommon::ne (String &s1, String &s2) |
|
bool | ucommon::ne_case (char const *s1, char const *s2) |
|
String | ucommon::str (const char *string) |
|
String | ucommon::str (String &string) |
|
String | ucommon::str (short value) |
|
String | ucommon::str (unsigned short value) |
|
String | ucommon::str (long value) |
|
String | ucommon::str (unsigned long value) |
|
String | ucommon::str (double value) |
|
String | ucommon::str (CharacterProtocol &cp, strsize_t size) |
|
int | ucommon::stricmp (const char *string1, const char *string2) |
| Convenience function for case insensitive null terminated string compare. More...
|
|
int | ucommon::strnicmp (const char *string1, const char *string2, size_t max) |
| Convenience function for case insensitive null terminated string compare. More...
|
|
template<> |
void | ucommon::swap< string_t > (string_t &s1, string_t &s2) |
|
A common string class and character string support functions.
Ucommon offers a simple string class that operates through copy-on-write when needing to expand buffer size. Derived classes and templates allows one to create strings which live entirely in the stack frame rather than using the heap. This offers the benefit of the string class manipulative members without compromising performance or locking issues in threaded applications. Other things found here include better and safer char array manipulation functions.
Definition in file string.h.