Wrap static codemap data.
More...
|
| CodeMaps () |
| Ctor initializes the code maps.
|
const LC & | getIndex (IdString index_r) |
| Return LC for index_r, creating it if necessary.
|
Wrap static codemap data.
Definition at line 24 of file Locale.cc.
◆ CodeMap
using zypp::CodeMaps::CodeMap = std::unordered_map<IdString, LC> |
|
private |
◆ CodeMaps()
zypp::CodeMaps::CodeMaps |
( |
| ) |
|
|
inlineprivate |
Ctor initializes the code maps.
Definition at line 134 of file Locale.cc.
◆ withoutTrash() [1/4]
◆ withoutTrash() [2/4]
IdString zypp::CodeMaps::withoutTrash |
( |
const std::string & | code_r | ) |
|
|
inlinestatic |
◆ withoutTrash() [3/4]
IdString zypp::CodeMaps::withoutTrash |
( |
const char * | code_r | ) |
|
|
inlinestatic |
◆ combineLC()
◆ instance()
CodeMaps & zypp::CodeMaps::instance |
( |
| ) |
|
|
inlinestatic |
The singleton.
Definition at line 66 of file Locale.cc.
◆ language()
◆ country()
◆ name()
std::string zypp::CodeMaps::name |
( |
IdString | index_r | ) |
|
|
inline |
◆ fallback()
◆ withoutTrash() [4/4]
IdString zypp::CodeMaps::withoutTrash |
( |
boost::string_ref | code_r | ) |
|
|
inlinestaticprivate |
◆ trashStart() [1/2]
boost::string_ref::size_type zypp::CodeMaps::trashStart |
( |
boost::string_ref | code_r | ) |
|
|
inlinestaticprivate |
◆ trashStart() [2/2]
boost::string_ref::size_type zypp::CodeMaps::trashStart |
( |
IdString | code_r | ) |
|
|
inlinestaticprivate |
◆ getIndex()
const LC & zypp::CodeMaps::getIndex |
( |
IdString | index_r | ) |
|
|
inlineprivate |
Return LC for index_r, creating it if necessary.
Definition at line 140 of file Locale.cc.
◆ _codeMap
The documentation for this struct was generated from the following file: