CUBRID Engine  latest
cublocale Namespace Reference

Functions

std::string get_lang_name (const LANG_COLLATION *lang_coll)
 
std::string get_codeset_name (const LANG_COLLATION *lang_coll)
 
std::locale get_locale (const std::string &charset, const std::string &lang)
 
bool convert_to_wstring (std::wstring &out, const std::string &in, const INTL_CODESET codeset)
 
bool convert_to_string (std::string &out, const std::wstring &in, const INTL_CODESET codeset)
 

Function Documentation

bool cublocale::convert_to_string ( std::string &  out,
const std::wstring &  in,
const INTL_CODESET  codeset 
)
bool cublocale::convert_to_wstring ( std::wstring &  out,
const std::string &  in,
const INTL_CODESET  codeset 
)
std::string cublocale::get_codeset_name ( const LANG_COLLATION lang_coll)

Definition at line 38 of file locale_helper.cpp.

References lang_collation::codeset, and lang_get_codeset_name().

std::string cublocale::get_lang_name ( const LANG_COLLATION lang_coll)

Definition at line 31 of file locale_helper.cpp.

References lang_collation::default_lang, and lang_locale_data::lang_name.

Referenced by cubregex::compile().

Here is the caller graph for this function:

std::locale cublocale::get_locale ( const std::string &  charset,
const std::string &  lang 
)

Definition at line 45 of file locale_helper.cpp.

References assert.

Referenced by cubregex::compile().

Here is the caller graph for this function: