|
using | map_type = std::array<std::optional<std::string_view>, kNumStrings> |
|
|
| Language (std::string name, Language const *fallback=nullptr) |
|
consteval | Language (char const *name, std::initializer_list< entry_type > stringmaps, const Language *fallback=nullptr) |
| Builder-style constructor for creating localization language maps (compile-time only)
|
|
constexpr map_type::value_type | get (String entry) const |
|
constexpr Language & | add (String entry, map_type::value_type value) |
|
constexpr std::string_view | name () const |
|
constexpr bool | hasFallback () const |
|
constexpr const Language & | fallback () const |
|
|
using | entry_type = std::pair<l10n::String, std::string_view> |
|
|
std::string | name_ |
|
map_type | map_ {} |
|
const Language * | fallback_ = nullptr |
|
The documentation for this class was generated from the following file: