#include <string_help.h>
Static Public Member Functions | |
| static std::vector< CL_String > | split_text (const CL_String &text, const CL_String &split_string) |
| Operations:. | |
| static int | compare (const CL_StringA &a, const CL_StringA &b, bool case_insensitive=false) |
| static int | compare (const CL_StringW &a, const CL_StringW &b, bool case_insensitive=false) |
| static CL_String | text_to_upper (const CL_String &s) |
| static CL_StringA | local8_to_upper (const CL_StringA &s) |
| static CL_StringW | ucs2_to_upper (const CL_StringW &s) |
| static CL_String | text_to_lower (const CL_String &s) |
| static CL_StringA | local8_to_lower (const CL_StringA &s) |
| static CL_StringW | ucs2_to_lower (const CL_StringW &s) |
| static CL_String | float_to_text (float value) |
| static CL_StringA | float_to_local8 (float value) |
| static CL_StringW | float_to_ucs2 (float value) |
| static float | text_to_float (const CL_String &value) |
| static float | local8_to_float (const CL_StringA &value) |
| static float | ucs2_to_float (const CL_StringW &value) |
| static CL_String | double_to_text (double value) |
| static CL_StringA | double_to_local8 (double value) |
| static CL_StringW | double_to_ucs2 (double value) |
| static double | text_to_double (const CL_String &value) |
| static double | local8_to_double (const CL_StringA &value) |
| static double | ucs2_to_double (const CL_StringW &value) |
| static CL_String | int_to_text (int value) |
| static CL_StringA | int_to_local8 (int value) |
| static CL_StringW | int_to_ucs2 (int value) |
| static int | text_to_int (const CL_String &value) |
| static int | local8_to_int (const CL_StringA &value) |
| static int | ucs2_to_int (const CL_StringW &value) |
| static CL_StringA | text_to_local8 (const CL_String &text) |
| static CL_StringA | text_to_utf8 (const CL_String &text) |
| static CL_StringA | ucs2_to_latin1 (const CL_StringW &ucs2) |
| static CL_StringA | ucs2_to_latin9 (const CL_StringW &ucs2) |
| static CL_StringA | ucs2_to_local8 (const CL_StringW &ucs2) |
| static CL_StringA | ucs2_to_utf8 (const CL_StringW &ucs2) |
| static CL_String | local8_to_text (const CL_StringA &local8) |
| static CL_String | ucs2_to_text (const CL_StringW &ucs2) |
| static CL_StringW | latin1_to_ucs2 (const CL_StringA &latin1) |
| static CL_StringW | latin9_to_ucs2 (const CL_StringA &latin9) |
| static CL_StringW | local8_to_ucs2 (const CL_StringA &local8) |
| static CL_StringW | utf8_to_ucs2 (const CL_StringA &utf8) |
| static CL_String | utf8_to_text (const CL_StringA &utf8) |
Static Private Attributes | |
| static const char | trailing_bytes_for_utf8 [256] |
| Implementation:. | |
| static const unsigned char | bitmask_leadbyte_for_utf8 [6] |
|
||||||||||||||||
|
Definition at line 79 of file string_help.cpp. |
|
||||||||||||||||
|
Definition at line 64 of file string_help.cpp. Referenced by CL_DomImplementation::has_feature(). |
|
|
Definition at line 224 of file string_help.cpp. Referenced by double_to_text(). |
|
|
Definition at line 215 of file string_help.cpp. References CL_String, double_to_local8(), and double_to_ucs2(). |
|
|
Definition at line 236 of file string_help.cpp. Referenced by double_to_text(). |
|
|
Definition at line 169 of file string_help.cpp. Referenced by float_to_text(). |
|
|
Definition at line 160 of file string_help.cpp. References CL_String, float_to_local8(), and float_to_ucs2(). |
|
|
Definition at line 181 of file string_help.cpp. Referenced by float_to_text(). |
|
|
Definition at line 279 of file string_help.cpp. Referenced by int_to_text(), and CL_Service::main(). |
|
|
Definition at line 270 of file string_help.cpp. References CL_String, int_to_local8(), and int_to_ucs2(). Referenced by CL_DNSResourceRecord::class_description(), CL_DNSResourceRecord::class_from_int(), CL_StringFormat::set_arg(), CL_DNSResourceRecord::type_description(), and CL_DNSResourceRecord::type_from_int(). |
|
|
Definition at line 291 of file string_help.cpp. Referenced by int_to_text(). |
|
|
Definition at line 415 of file string_help.cpp. |
|
|
Definition at line 424 of file string_help.cpp. Referenced by local8_to_ucs2(). |
|
|
Definition at line 260 of file string_help.cpp. Referenced by text_to_double(). |
|
|
Definition at line 205 of file string_help.cpp. Referenced by text_to_float(). |
|
|
Definition at line 315 of file string_help.cpp. Referenced by CL_DNSResourceRecord::class_to_int(), text_to_int(), and CL_DNSResourceRecord::type_to_int(). |
|
|
Definition at line 136 of file string_help.cpp. Referenced by text_to_lower(). |
|
|
Definition at line 433 of file string_help.cpp. References CL_String, and local8_to_ucs2(). Referenced by CL_DNSResourceRecord::class_description(), CL_DNSResourceRecord::class_from_int(), CL_DateTime::get_zone_abbreviation(), CL_DNSResourceRecord::type_description(), and CL_DNSResourceRecord::type_from_int(). |
|
|
Definition at line 451 of file string_help.cpp. References latin9_to_ucs2(). Referenced by local8_to_text(), and text_to_utf8(). |
|
|
Definition at line 103 of file string_help.cpp. Referenced by text_to_upper(). |
|
||||||||||||
|
Operations:.
Definition at line 43 of file string_help.cpp. |
|
|
Definition at line 251 of file string_help.cpp. References local8_to_double(), and ucs2_to_double(). |
|
|
Definition at line 196 of file string_help.cpp. References local8_to_float(), and ucs2_to_float(). |
|
|
Definition at line 306 of file string_help.cpp. References local8_to_int(), and ucs2_to_int(). Referenced by CL_IPAddress::CL_IPAddress(), CL_TCPListen::CL_TCPListen(), and CL_TCPConnection::connect(). |
|
|
|
Definition at line 127 of file string_help.cpp. References CL_String, local8_to_lower(), and ucs2_to_lower(). |
|
|
Definition at line 94 of file string_help.cpp. References CL_String, local8_to_upper(), and ucs2_to_upper(). |
|
|
Definition at line 339 of file string_help.cpp. References local8_to_ucs2(), and ucs2_to_utf8(). |
|
|
Definition at line 265 of file string_help.cpp. Referenced by text_to_double(). |
|
|
Definition at line 210 of file string_help.cpp. Referenced by text_to_float(). |
|
|
Definition at line 320 of file string_help.cpp. References TEXT. Referenced by text_to_int(). |
|
|
Definition at line 349 of file string_help.cpp. |
|
|
Definition at line 358 of file string_help.cpp. Referenced by ucs2_to_local8(). |
|
|
Definition at line 367 of file string_help.cpp. References ucs2_to_latin9(). Referenced by text_to_local8(), ucs2_to_text(), and utf8_to_text(). |
|
|
Definition at line 148 of file string_help.cpp. Referenced by text_to_lower(). |
|
|
Definition at line 442 of file string_help.cpp. References CL_String, and ucs2_to_local8(). |
|
|
Definition at line 115 of file string_help.cpp. Referenced by text_to_upper(). |
|
|
Definition at line 372 of file string_help.cpp. Referenced by text_to_utf8(). |
|
|
Definition at line 519 of file string_help.cpp. References CL_String, ucs2_to_local8(), and utf8_to_ucs2(). Referenced by CL_DBCommand::get_index(). |
|
|
Definition at line 456 of file string_help.cpp. References bitmask_leadbyte_for_utf8, and trailing_bytes_for_utf8. Referenced by CL_DBReturnValue::operator CL_StringW(), and utf8_to_text(). |
|
|
Initial value:
{
0x7f,
0x1f,
0x0f,
0x07,
0x03,
0x01
}
Definition at line 544 of file string_help.cpp. Referenced by utf8_to_ucs2(). |
|
|
Initial value:
{
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2, 3,3,3,3,3,3,3,3,4,4,4,4,5,5,5,5
}
Definition at line 532 of file string_help.cpp. Referenced by utf8_to_ucs2(). |
1.4.1