config::all_children_iterator Struct Reference

#include <config.hpp>

List of all members.

Public Types

typedef std::pair< const
std::string *, const config * > 
value_type
typedef std::forward_iterator_tag iterator_category
typedef int difference_type
typedef std::auto_ptr< value_typepointer
typedef value_typereference
typedef std::vector< child_pos >
::const_iterator 
Itor

Public Member Functions

 all_children_iterator (Itor i=Itor())
all_children_iteratoroperator++ ()
all_children_iterator operator++ (int)
value_type operator* () const
pointer operator-> () const
const std::string & get_key () const
size_t get_index () const
const configget_child () const
bool operator== (all_children_iterator i) const
bool operator!= (all_children_iterator i) const

Private Attributes

Itor i_


Detailed Description

Definition at line 112 of file config.hpp.


Member Typedef Documentation

typedef std::pair<const std::string*,const config*> config::all_children_iterator::value_type

Definition at line 113 of file config.hpp.

typedef std::forward_iterator_tag config::all_children_iterator::iterator_category

Definition at line 114 of file config.hpp.

Definition at line 115 of file config.hpp.

Definition at line 116 of file config.hpp.

Definition at line 117 of file config.hpp.

typedef std::vector<child_pos>::const_iterator config::all_children_iterator::Itor

Definition at line 118 of file config.hpp.


Constructor & Destructor Documentation

config::all_children_iterator::all_children_iterator ( Itor  i = Itor()  )  [explicit]

Definition at line 369 of file config.cpp.


Member Function Documentation

config::all_children_iterator & config::all_children_iterator::operator++ (  ) 

Definition at line 372 of file config.cpp.

References i_.

config::all_children_iterator config::all_children_iterator::operator++ ( int   ) 

Definition at line 378 of file config.cpp.

References i_.

std::pair< const std::string *, const config * > config::all_children_iterator::operator* (  )  const

Definition at line 385 of file config.cpp.

References i_.

config::all_children_iterator::pointer config::all_children_iterator::operator-> (  )  const

Definition at line 390 of file config.cpp.

References i_.

const std::string & config::all_children_iterator::get_key (  )  const

size_t config::all_children_iterator::get_index (  )  const

Definition at line 405 of file config.cpp.

References i_.

Referenced by config::erase(), and vconfig::all_children_iterator::get_index().

const config & config::all_children_iterator::get_child (  )  const

bool config::all_children_iterator::operator== ( all_children_iterator  i  )  const

Definition at line 410 of file config.cpp.

References i_.

bool config::all_children_iterator::operator!= ( all_children_iterator  i  )  const

Definition at line 415 of file config.cpp.

References i_.


Member Data Documentation


The documentation for this struct 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