#include <catalog_metadata.hpp>
Classes | |
struct | content_type_grammar |
struct | num_plurals_grammar |
Public Member Functions | |
catalog_metadata () | |
std::string | parse_header (const std::string &header) |
std::string | check_compatibility (const catalog_metadata &other) const |
Public Attributes | |
std::string | project_id |
std::string | language |
std::string | language_team |
std::string | last_translator |
uint | num_plural_forms |
std::string | plural_forms_function_string |
std::string | charset |
Private Member Functions | |
std::string | find_header_line (const std::string &header, const std::string &label) |
Definition at line 26 of file catalog_metadata.hpp.
|
inline |
Definition at line 37 of file catalog_metadata.hpp.
|
inline |
Definition at line 144 of file catalog_metadata.hpp.
References num_plural_forms.
Referenced by spirit_po::catalog< hashmap_type, pf_compiler >::merge().
|
inlineprivate |
Definition at line 47 of file catalog_metadata.hpp.
Referenced by parse_header().
|
inline |
Definition at line 84 of file catalog_metadata.hpp.
References charset, find_header_line(), lg::info(), language, language_team, last_translator, num_plural_forms, plural_forms_function_string, project_id, SPIRIT_PO_DEFAULT_CHARSET, and spirit_po::string_iterator_context().
Referenced by spirit_po::catalog< hashmap_type, pf_compiler >::catalog().
std::string spirit_po::catalog_metadata::charset |
Definition at line 35 of file catalog_metadata.hpp.
Referenced by parse_header().
std::string spirit_po::catalog_metadata::language |
Definition at line 28 of file catalog_metadata.hpp.
Referenced by parse_header().
std::string spirit_po::catalog_metadata::language_team |
Definition at line 29 of file catalog_metadata.hpp.
Referenced by parse_header().
std::string spirit_po::catalog_metadata::last_translator |
Definition at line 30 of file catalog_metadata.hpp.
Referenced by parse_header().
uint spirit_po::catalog_metadata::num_plural_forms |
Definition at line 32 of file catalog_metadata.hpp.
Referenced by spirit_po::catalog< hashmap_type, pf_compiler >::catalog(), check_compatibility(), spirit_po::catalog< hashmap_type, pf_compiler >::insert_message(), and parse_header().
std::string spirit_po::catalog_metadata::plural_forms_function_string |
Definition at line 33 of file catalog_metadata.hpp.
Referenced by spirit_po::catalog< hashmap_type, pf_compiler >::catalog(), and parse_header().
std::string spirit_po::catalog_metadata::project_id |
Definition at line 27 of file catalog_metadata.hpp.
Referenced by parse_header().