Public Member Functions | Private Member Functions | Private Attributes

t_string_base::walker Class Reference

#include <tstring.hpp>

Collaboration diagram for t_string_base::walker:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 walker (const t_string_base &string)
void next ()
bool eos () const
bool last () const
bool translatable () const
const std::string & textdomain () const
std::string::const_iterator begin () const
std::string::const_iterator end () const

Private Member Functions

void update ()

Private Attributes

const std::string & string_
std::string::size_type begin_
std::string::size_type end_
std::string textdomain_
bool translatable_

Detailed Description

Definition at line 30 of file tstring.hpp.


Constructor & Destructor Documentation

t_string_base::walker::walker ( const t_string_base string  ) 

Definition at line 57 of file tstring.cpp.

References translatable_, and update().

Here is the call graph for this function:


Member Function Documentation

std::string::const_iterator t_string_base::walker::begin (  )  const [inline]

Definition at line 47 of file tstring.hpp.

References begin_, and string_.

std::string::const_iterator t_string_base::walker::end (  )  const [inline]

Definition at line 48 of file tstring.hpp.

References end_, and string_.

bool t_string_base::walker::eos (  )  const [inline]

Definition at line 43 of file tstring.hpp.

References begin_, and string_.

bool t_string_base::walker::last (  )  const [inline]

Definition at line 44 of file tstring.hpp.

References end_, and string_.

void t_string_base::walker::next (  )  [inline]

Definition at line 42 of file tstring.hpp.

References begin_, end_, and update().

Here is the call graph for this function:

const std::string& t_string_base::walker::textdomain (  )  const [inline]

Definition at line 46 of file tstring.hpp.

References textdomain_.

bool t_string_base::walker::translatable (  )  const [inline]

Definition at line 45 of file tstring.hpp.

References translatable_.

void t_string_base::walker::update (  )  [private]

Definition at line 118 of file tstring.cpp.

References begin_, end_, ERR_CF, gui2::id, string_, textdomain_, and translatable_.

Referenced by next(), and walker().

Here is the caller graph for this function:


Member Data Documentation

std::string::size_type t_string_base::walker::begin_ [private]

Definition at line 53 of file tstring.hpp.

Referenced by begin(), eos(), next(), and update().

std::string::size_type t_string_base::walker::end_ [private]

Definition at line 54 of file tstring.hpp.

Referenced by end(), last(), next(), and update().

const std::string& t_string_base::walker::string_ [private]

Definition at line 52 of file tstring.hpp.

Referenced by begin(), end(), eos(), last(), and update().

std::string t_string_base::walker::textdomain_ [private]

Definition at line 55 of file tstring.hpp.

Referenced by textdomain(), and update().

Definition at line 56 of file tstring.hpp.

Referenced by translatable(), update(), and walker().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Thu May 24 2012 01:16:11 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs