#include <Codeset_Registry.h>
ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE int ACE_Codeset_Registry::locale_to_registry | ( | const ACE_CString & | locale, | |
ACE_CDR::ULong & | codeset_id, | |||
ACE_CDR::UShort * | num_sets = 0 , |
|||
ACE_CDR::UShort ** | char_sets = 0 | |||
) | [static] |
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.
ACE_INLINE int ACE_Codeset_Registry::registry_to_locale | ( | ACE_CDR::ULong | codeset_id, | |
ACE_CString & | locale, | |||
ACE_CDR::UShort * | num_sets = 0 , |
|||
ACE_CDR::UShort ** | char_sets = 0 | |||
) | [static] |
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.
ACE_INLINE int ACE_Codeset_Registry::is_compatible | ( | ACE_CDR::ULong | codeset_id, | |
ACE_CDR::ULong | other | |||
) | [static] |
Tell if two codesets are compatible. This wraps the rpc_cs_char_set_compat_check function.
ACE_INLINE ACE_CDR::Short ACE_Codeset_Registry::get_max_bytes | ( | ACE_CDR::ULong | codeset_id | ) | [static] |
Return the max number of bytes required to represent a single character. This wraps the rpc_rgy_get_max_bytes function.
ACE_BEGIN_VERSIONED_NAMESPACE_DECL int ACE_Codeset_Registry::locale_to_registry_i | ( | const ACE_CString & | locale, | |
ACE_CDR::ULong & | codeset_id, | |||
ACE_CDR::UShort * | num_sets = 0 , |
|||
ACE_CDR::UShort ** | char_sets = 0 | |||
) | [static, private] |
int ACE_Codeset_Registry::registry_to_locale_i | ( | ACE_CDR::ULong | codeset_id, | |
ACE_CString & | locale, | |||
ACE_CDR::UShort * | num_sets = 0 , |
|||
ACE_CDR::UShort ** | char_sets = 0 | |||
) | [static, private] |
int ACE_Codeset_Registry::is_compatible_i | ( | ACE_CDR::ULong | codeset_id, | |
ACE_CDR::ULong | other | |||
) | [static, private] |
ACE_CDR::Short ACE_Codeset_Registry::get_max_bytes_i | ( | ACE_CDR::ULong | codeset_id | ) | [static, private] |
size_t const ACE_Codeset_Registry::num_registry_entries_ = 5 [static, private] |
ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_Codeset_Registry::registry_entry const ACE_Codeset_Registry::registry_db_ [static, private] |
Initial value:
{ {"ISO 8859-1:1987; Latin Alphabet No. 1","ASCII",0x00010001,1,{0x0011},1}, {"IBM-1047 (CCSID 01047); Latin-1 Open System","EBCDIC",0x10020417,1,{0x0011},1}, {"ISO/IEC 10646-1:1993; UCS-4, Level 1","UCS-4",0x00010104,1,{0x1000},4}, {"ISO/IEC 10646-1:1993; UTF-16, UCS Transformation Format 16-bit form","Unicode",0x00010109,1,{0x1000},2}, {"X/Open UTF-8; UCS Transformation Format 8 (UTF-8)","UTF-8",0x05010001,1,{0x1000},6} }