UCommon
|
Basic UCommon Unicode support. More...
#include <ucommon/string.h>
Go to the source code of this file.
Namespaces | |
namespace | ucommon |
Common namespace for all ucommon objects. | |
Typedefs | |
typedef int16_t | ucommon::ucs2_t |
16 bit unicode character code. More... | |
typedef int32_t | ucommon::ucs4_t |
32 bit unicode character code. More... | |
typedef void * | ucommon::unicode_t |
Resolves issues where wchar_t is not defined. More... | |
typedef UString | ucommon::ustring_t |
Convenience type for utf8 encoded strings. More... | |
typedef utf8_pointer | ucommon::utf8_t |
Convenience type for utf8_pointer strings. More... | |
Functions | |
class | ucommon::__attribute__ ((visibility("default"))) ExclusiveProtocol |
An exclusive locking protocol interface base. More... | |
template<> | |
void | ucommon::dupfree< ucs2_t * > (ucs2_t *string) |
template<> | |
void | ucommon::dupfree< ucs4_t * > (ucs4_t *string) |
template<> | |
void | ucommon::dupfree< unicode_t > (unicode_t string) |
ucs4_t * | ucommon::strudup (const char *string) |
ucs2_t * | ucommon::strwdup (const char *string) |
Basic UCommon Unicode support.
This includes computing unicode transcoding and supporting a UTF8-aware string class (UString). We may add support for a wchar_t aware string class as well, as some external api libraries may require ucs-2 or 4 encoded strings.
Definition in file unicode.h.