#include <variable.hpp>
Classes | |
struct | pointer_proxy |
Public Types | |
typedef const std::pair< std::string, vconfig > | value_type |
typedef std::bidirectional_iterator_tag | iterator_category |
typedef int | difference_type |
typedef const pointer_proxy | pointer |
typedef const value_type | reference |
typedef config::const_all_children_iterator | Itor |
Public Member Functions | |
all_children_iterator (const Itor &i, const variable_set &vars) | |
all_children_iterator (const Itor &i, const variable_set &vars, const std::shared_ptr< const config > &cache) | |
all_children_iterator & | operator++ () |
all_children_iterator | operator++ (int) |
all_children_iterator & | operator-- () |
all_children_iterator | operator-- (int) |
reference | operator* () const |
pointer | operator-> () const |
std::string | get_key () const |
vconfig | get_child () const |
void | disable_insertion () |
bool | operator== (const all_children_iterator &i) const |
bool | operator!= (const all_children_iterator &i) const |
Private Attributes | |
Itor | i_ |
int | inner_index_ |
std::shared_ptr< const config > | cache_ |
const variable_set * | variables_ |
Definition at line 136 of file variable.hpp.
typedef int vconfig::all_children_iterator::difference_type |
Definition at line 142 of file variable.hpp.
typedef std::bidirectional_iterator_tag vconfig::all_children_iterator::iterator_category |
Definition at line 141 of file variable.hpp.
Definition at line 145 of file variable.hpp.
typedef const pointer_proxy vconfig::all_children_iterator::pointer |
Definition at line 143 of file variable.hpp.
typedef const value_type vconfig::all_children_iterator::reference |
Definition at line 144 of file variable.hpp.
typedef const std::pair<std::string, vconfig> vconfig::all_children_iterator::value_type |
Definition at line 140 of file variable.hpp.
|
explicit |
Definition at line 374 of file variable.cpp.
vconfig::all_children_iterator::all_children_iterator | ( | const Itor & | i, |
const variable_set & | vars, | ||
const std::shared_ptr< const config > & | cache | ||
) |
Definition at line 379 of file variable.cpp.
|
inline |
Definition at line 159 of file variable.hpp.
References inner_index_.
vconfig vconfig::all_children_iterator::get_child | ( | ) | const |
Definition at line 456 of file variable.cpp.
References vconfig::cache_, vconfig::empty_vconfig(), vconfig::variables_, and vconfig::vconfig().
std::string vconfig::all_children_iterator::get_key | ( | ) | const |
Definition at line 447 of file variable.cpp.
References vconfig::variables_, and vconfig::vconfig().
|
inline |
Definition at line 162 of file variable.hpp.
References i, and operator==().
vconfig::all_children_iterator::reference vconfig::all_children_iterator::operator* | ( | ) | const |
Definition at line 435 of file variable.cpp.
vconfig::all_children_iterator & vconfig::all_children_iterator::operator++ | ( | ) |
Definition at line 384 of file variable.cpp.
References variable_info< V >::as_array(), variable_set::get_variable_access_read(), vconfig::variables_, and vconfig::vconfig().
vconfig::all_children_iterator vconfig::all_children_iterator::operator++ | ( | int | ) |
Definition at line 409 of file variable.cpp.
References i.
vconfig::all_children_iterator & vconfig::all_children_iterator::operator-- | ( | ) |
Definition at line 416 of file variable.cpp.
vconfig::all_children_iterator vconfig::all_children_iterator::operator-- | ( | int | ) |
Definition at line 428 of file variable.cpp.
References i.
vconfig::all_children_iterator::pointer vconfig::all_children_iterator::operator-> | ( | ) | const |
Definition at line 440 of file variable.cpp.
References p.
bool vconfig::all_children_iterator::operator== | ( | const all_children_iterator & | i | ) | const |
|
private |
Definition at line 179 of file variable.hpp.
|
private |
Definition at line 166 of file variable.hpp.
|
private |
Definition at line 178 of file variable.hpp.
Referenced by disable_insertion().
|
private |
Definition at line 180 of file variable.hpp.