t_string::walker Class Reference

#include <tstring.hpp>

List of all members.

Public Member Functions

 walker (const t_string &string)
 walker (const std::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 (void)

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 23 of file tstring.hpp.


Constructor & Destructor Documentation

t_string::walker::walker ( const t_string string  ) 

Definition at line 45 of file tstring.cpp.

References translatable_, and update().

t_string::walker::walker ( const std::string &  string  ) 

Definition at line 57 of file tstring.cpp.

References update().


Member Function Documentation

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

Definition at line 29 of file tstring.hpp.

References begin_, end_, and update().

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

Definition at line 30 of file tstring.hpp.

References begin_, and string_.

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

Definition at line 31 of file tstring.hpp.

References end_, and string_.

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

Definition at line 32 of file tstring.hpp.

References translatable_.

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

Definition at line 33 of file tstring.hpp.

References textdomain_.

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

Definition at line 34 of file tstring.hpp.

References begin_, and string_.

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

Definition at line 35 of file tstring.hpp.

References end_, and string_.

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


Member Data Documentation

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

Definition at line 39 of file tstring.hpp.

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

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

Definition at line 40 of file tstring.hpp.

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

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

Definition at line 41 of file tstring.hpp.

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

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

Definition at line 42 of file tstring.hpp.

Referenced by textdomain(), and update().

Definition at line 43 of file tstring.hpp.

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


The documentation for this class was generated from the following files:

Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs