OGS
|
A wrapper around a Boost Iterator for iterating over ranges of values.
The methods of this class tell the associated (parent) ConfigTree
object when a setting has been parsed.
Definition at line 191 of file ConfigTree.h.
#include <ConfigTree.h>
Public Types | |
using | Iterator = boost::property_tree::ptree::const_assoc_iterator |
Public Member Functions | |
ValueIterator (Iterator const &it, std::string const &root, ConfigTree const &parent) | |
ValueIterator< ValueType > & | operator++ () |
ValueType | operator* () |
bool | operator== (ValueIterator< ValueType > const &other) const |
bool | operator!= (ValueIterator< ValueType > const &other) const |
Private Attributes | |
bool | has_incremented_ = true |
Iterator | it_ |
std::string const | tagname_ |
ConfigTree const & | parent_ |
using BaseLib::ConfigTree::ValueIterator< ValueType >::Iterator = boost::property_tree::ptree::const_assoc_iterator |
Definition at line 195 of file ConfigTree.h.
|
inlineexplicit |
Definition at line 197 of file ConfigTree.h.
|
inline |
Definition at line 228 of file ConfigTree.h.
References BaseLib::ConfigTree::ValueIterator< ValueType >::it_.
|
inline |
Definition at line 210 of file ConfigTree.h.
References BaseLib::ConfigTree::ConfigTree(), BaseLib::ConfigTree::ValueIterator< ValueType >::has_incremented_, BaseLib::ConfigTree::ValueIterator< ValueType >::it_, BaseLib::ConfigTree::markVisited(), BaseLib::ConfigTree::ValueIterator< ValueType >::parent_, BaseLib::ConfigTree::TAG, and BaseLib::ConfigTree::ValueIterator< ValueType >::tagname_.
|
inline |
Definition at line 203 of file ConfigTree.h.
References BaseLib::ConfigTree::ValueIterator< ValueType >::has_incremented_, and BaseLib::ConfigTree::ValueIterator< ValueType >::it_.
|
inline |
Definition at line 223 of file ConfigTree.h.
References BaseLib::ConfigTree::ValueIterator< ValueType >::it_.
|
private |
Definition at line 234 of file ConfigTree.h.
Referenced by BaseLib::ConfigTree::ValueIterator< ValueType >::operator*(), and BaseLib::ConfigTree::ValueIterator< ValueType >::operator++().
|
private |
Definition at line 235 of file ConfigTree.h.
Referenced by BaseLib::ConfigTree::ValueIterator< ValueType >::operator!=(), BaseLib::ConfigTree::ValueIterator< ValueType >::operator*(), BaseLib::ConfigTree::ValueIterator< ValueType >::operator++(), and BaseLib::ConfigTree::ValueIterator< ValueType >::operator==().
|
private |
Definition at line 237 of file ConfigTree.h.
Referenced by BaseLib::ConfigTree::ValueIterator< ValueType >::operator*().
|
private |
Definition at line 236 of file ConfigTree.h.
Referenced by BaseLib::ConfigTree::ValueIterator< ValueType >::operator*().