The Battle for Wesnoth  1.13.10+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Public Member Functions | Public Attributes | Private Member Functions | List of all members
spirit_po::catalog_metadata Struct Reference

#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)
 

Detailed Description

Definition at line 26 of file catalog_metadata.hpp.

Constructor & Destructor Documentation

spirit_po::catalog_metadata::catalog_metadata ( )
inline

Definition at line 37 of file catalog_metadata.hpp.

Member Function Documentation

std::string spirit_po::catalog_metadata::check_compatibility ( const catalog_metadata other) const
inline
std::string spirit_po::catalog_metadata::find_header_line ( const std::string &  header,
const std::string &  label 
)
inlineprivate

Definition at line 47 of file catalog_metadata.hpp.

References e.

Referenced by parse_header().

std::string spirit_po::catalog_metadata::parse_header ( const std::string &  header)
inline

Member Data Documentation

std::string spirit_po::catalog_metadata::charset

Definition at line 35 of file catalog_metadata.hpp.

std::string spirit_po::catalog_metadata::language

Definition at line 28 of file catalog_metadata.hpp.

std::string spirit_po::catalog_metadata::language_team

Definition at line 29 of file catalog_metadata.hpp.

std::string spirit_po::catalog_metadata::last_translator

Definition at line 30 of file catalog_metadata.hpp.

uint spirit_po::catalog_metadata::num_plural_forms
std::string spirit_po::catalog_metadata::plural_forms_function_string
std::string spirit_po::catalog_metadata::project_id

Definition at line 27 of file catalog_metadata.hpp.


The documentation for this struct was generated from the following file: