The Battle for Wesnoth  1.13.10+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Namespaces | Classes | Typedefs | Functions
spirit_po Namespace Reference

Namespaces

 default_plural_forms
 

Classes

class  catalog
 
struct  catalog_exception
 
struct  catalog_metadata
 
struct  po_grammar
 
struct  po_message
 

Typedefs

typedef unsigned int uint
 
typedef std::function< void(const
std::string &)> 
warning_channel_type
 
typedef std::unordered_map
< std::string, po_message
default_hashmap_type
 
typedef std::pair< uint,
std::string > 
num_plurals_info
 
typedef std::pair< std::string,
std::vector< std::string > > 
plural_and_strings_type
 

Functions

template<typename Iterator >
std::string iterator_context (Iterator &it, Iterator &end)
 
std::string string_iterator_context (const std::string &str, std::string::const_iterator it)
 

Typedef Documentation

typedef std::unordered_map<std::string, po_message> spirit_po::default_hashmap_type

Definition at line 42 of file catalog.hpp.

typedef std::pair<uint, std::string> spirit_po::num_plurals_info

Definition at line 24 of file catalog_metadata.hpp.

typedef std::pair<std::string, std::vector<std::string> > spirit_po::plural_and_strings_type

Definition at line 16 of file po_message.hpp.

typedef unsigned int spirit_po::uint

Definition at line 39 of file catalog.hpp.

typedef std::function<void(const std::string &)> spirit_po::warning_channel_type

Definition at line 41 of file catalog.hpp.

Function Documentation

template<typename Iterator >
std::string spirit_po::iterator_context ( Iterator &  it,
Iterator &  end 
)
std::string spirit_po::string_iterator_context ( const std::string &  str,
std::string::const_iterator  it 
)
inline