#include <configuration_file.hpp>
Definition at line 77 of file configuration_file.hpp.
Public Types | |
| typedef std::string | value_type |
| typedef const value_type & | reference |
| typedef const value_type * | pointer |
| typedef wrapped_iterator_type::difference_type | difference_type |
| typedef wrapped_iterator_type::iterator_category | iterator_category |
Public Member Functions | |
| const_field_iterator () | |
| const_field_iterator (wrapped_iterator_type it) | |
| bool | operator== (const const_field_iterator &that) const |
| bool | operator!= (const const_field_iterator &that) const |
| const_field_iterator & | operator++ () |
| const_field_iterator | operator++ (int) |
| const_field_iterator & | operator-- () |
| const_field_iterator | operator-- (int) |
| reference | operator* () const |
| pointer | operator-> () const |
Private Types | |
| typedef section_content::const_iterator | wrapped_iterator_type |
| Iterator on the fields. | |
Private Attributes | |
| wrapped_iterator_type | m_iterator |
| Iterator on a section content. | |
typedef section_content::const_iterator claw::configuration_file::const_field_iterator::wrapped_iterator_type [private] |
| typedef std::string claw::configuration_file::const_field_iterator::value_type |
Definition at line 84 of file configuration_file.hpp.
Definition at line 85 of file configuration_file.hpp.
Definition at line 86 of file configuration_file.hpp.
| typedef wrapped_iterator_type::difference_type claw::configuration_file::const_field_iterator::difference_type |
Definition at line 87 of file configuration_file.hpp.
| typedef wrapped_iterator_type::iterator_category claw::configuration_file::const_field_iterator::iterator_category |
Definition at line 89 of file configuration_file.hpp.
| claw::configuration_file::const_field_iterator::const_field_iterator | ( | ) | [inline] |
| claw::configuration_file::const_field_iterator::const_field_iterator | ( | wrapped_iterator_type | it | ) | [inline] |
| bool claw::configuration_file::const_field_iterator::operator== | ( | const const_field_iterator & | that | ) | const [inline] |
Definition at line 95 of file configuration_file.hpp.
References m_iterator.
00096 { 00097 return m_iterator == that.m_iterator; 00098 } // operator==()
| bool claw::configuration_file::const_field_iterator::operator!= | ( | const const_field_iterator & | that | ) | const [inline] |
Definition at line 100 of file configuration_file.hpp.
References m_iterator.
00101 { 00102 return m_iterator != that.m_iterator; 00103 } // operator!=()
| const_field_iterator& claw::configuration_file::const_field_iterator::operator++ | ( | ) | [inline] |
Definition at line 105 of file configuration_file.hpp.
References m_iterator.
00106 { 00107 ++m_iterator; 00108 return *this; 00109 } // operator++()
| const_field_iterator claw::configuration_file::const_field_iterator::operator++ | ( | int | ) | [inline] |
Definition at line 111 of file configuration_file.hpp.
References m_iterator.
00112 { 00113 const_field_iterator tmp(*this); 00114 ++m_iterator; 00115 return tmp; 00116 } // operator++() [post]
| const_field_iterator& claw::configuration_file::const_field_iterator::operator-- | ( | ) | [inline] |
Definition at line 118 of file configuration_file.hpp.
References m_iterator.
00119 { 00120 --m_iterator; 00121 return *this; 00122 } // operator--()
| const_field_iterator claw::configuration_file::const_field_iterator::operator-- | ( | int | ) | [inline] |
Definition at line 124 of file configuration_file.hpp.
References m_iterator.
00125 { 00126 const_field_iterator tmp(*this); 00127 --m_iterator; 00128 return tmp; 00129 } // operator--() [post]
| reference claw::configuration_file::const_field_iterator::operator* | ( | ) | const [inline] |
Definition at line 131 of file configuration_file.hpp.
References m_iterator.
00132 { 00133 return m_iterator->second; 00134 } // operator*()
| pointer claw::configuration_file::const_field_iterator::operator-> | ( | ) | const [inline] |
Definition at line 136 of file configuration_file.hpp.
References m_iterator.
00137 { 00138 return &m_iterator->second; 00139 } // operator->()
Iterator on a section content.
Definition at line 143 of file configuration_file.hpp.
Referenced by operator!=(), operator*(), operator++(), operator--(), operator->(), and operator==().
1.5.5