ACE
6.3.3
|
#include <Codeset_Registry.h>
Classes | |
struct | registry_entry |
Public Types | |
enum | { max_charsets_ = 5 } |
Static Public Member Functions | |
static int | locale_to_registry (const ACE_CString &locale, ACE_CDR::ULong &codeset_id, ACE_CDR::UShort *=0, ACE_CDR::UShort **=0) |
static int | registry_to_locale (ACE_CDR::ULong codeset_id, ACE_CString &locale, ACE_CDR::UShort *=0, ACE_CDR::UShort **=0) |
static int | is_compatible (ACE_CDR::ULong codeset_id, ACE_CDR::ULong other) |
static ACE_CDR::Short | get_max_bytes (ACE_CDR::ULong codeset_id) |
Static Private Member Functions | |
static int | locale_to_registry_i (const ACE_CString &locale, ACE_CDR::ULong &codeset_id, ACE_CDR::UShort *=0, ACE_CDR::UShort **=0) |
static int | registry_to_locale_i (ACE_CDR::ULong codeset_id, ACE_CString &locale, ACE_CDR::UShort *=0, ACE_CDR::UShort **=0) |
static int | is_compatible_i (ACE_CDR::ULong codeset_id, ACE_CDR::ULong other) |
static ACE_CDR::Short | get_max_bytes_i (ACE_CDR::ULong codeset_id) |
Static Private Attributes | |
static size_t const | num_registry_entries_ = 9 |
static registry_entry const | registry_db_ [] |
|
inlinestatic |
Return the max number of bytes required to represent a single character. This wraps the rpc_rgy_get_max_bytes function.
|
staticprivate |
|
inlinestatic |
Tell if two codesets are compatible. This wraps the rpc_cs_char_set_compat_check function.
|
staticprivate |
|
inlinestatic |
Based on a locale string, find the registry value and optional codeset collection. This wraps the dce_cs_loc_to_rgy function, or emulates it.
|
staticprivate |
|
inlinestatic |
Based on a registry value, find the locale string and optional codeset collection. This wraps the dce_cs_rgy_to_loc function, or emulates it.
|
staticprivate |
|
staticprivate |
|
staticprivate |