The Battle for Wesnoth  1.19.5+dev
Public Member Functions | Public Attributes | List of all members
spirit_po::po_message Struct Reference

#include <po_message.hpp>

Public Member Functions

std::string & id_plural ()
 
const std::string & id_plural () const
 
std::vector< std::string > & strings ()
 
const std::vector< std::string > & strings () const
 
bool is_plural () const
 

Public Attributes

boost::optional< std::string > context
 
std::string id
 
plural_and_strings_type plural_and_strings
 
std::size_t line_no
 

Detailed Description

Definition at line 18 of file po_message.hpp.

Member Function Documentation

◆ id_plural() [1/2]

std::string& spirit_po::po_message::id_plural ( )
inline

Definition at line 27 of file po_message.hpp.

References plural_and_strings.

Referenced by is_plural().

◆ id_plural() [2/2]

const std::string& spirit_po::po_message::id_plural ( ) const
inline

Definition at line 28 of file po_message.hpp.

References plural_and_strings.

◆ is_plural()

bool spirit_po::po_message::is_plural ( ) const
inline

Definition at line 35 of file po_message.hpp.

References id_plural().

◆ strings() [1/2]

std::vector<std::string>& spirit_po::po_message::strings ( )
inline

Definition at line 30 of file po_message.hpp.

References plural_and_strings.

◆ strings() [2/2]

const std::vector<std::string>& spirit_po::po_message::strings ( ) const
inline

Definition at line 31 of file po_message.hpp.

References plural_and_strings.

Member Data Documentation

◆ context

boost::optional<std::string> spirit_po::po_message::context

Definition at line 19 of file po_message.hpp.

◆ id

std::string spirit_po::po_message::id

Definition at line 20 of file po_message.hpp.

◆ line_no

std::size_t spirit_po::po_message::line_no

Definition at line 23 of file po_message.hpp.

◆ plural_and_strings

plural_and_strings_type spirit_po::po_message::plural_and_strings

Definition at line 21 of file po_message.hpp.

Referenced by id_plural(), and strings().


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