dxd - dynax driver framework 3.0.2
cross platform open source driver development framework
Loading...
Searching...
No Matches
dx::key_value_tree< tree_t >::iterator Class Reference

the node's immediate children as nodes of their own, named by tree_t::children() - what a range-for over a node walks More...

#include <dx_key_value_tree.h>

Inheritance diagram for dx::key_value_tree< tree_t >::iterator:
Collaboration diagram for dx::key_value_tree< tree_t >::iterator:

Public Types

using dx_iterator_tag

Public Member Functions

 iterator()= default
 iterator(const key_value_tree& key_value_tree)
bool operator !=(const iterator &) const
key_value_tree& operator *() const
void operator ++()

Protected Member Functions

void seed()

Protected Attributes

std::vector<key_value_tree> container
std::vector<key_value_tree>::iterator current

Detailed Description

template<typename tree_t>
class dx::key_value_tree< tree_t >::iterator

the node's immediate children as nodes of their own, named by tree_t::children() - what a range-for over a node walks

Member Typedef Documentation

◆ dx_iterator_tag

using dx::iterator<std::vector<key_value_tree>>::dx_iterator_tag
inherited

public marker for "derives from some dx::iterator<>" - detectable without touching anything reached through container_t's protected base.

Constructor & Destructor Documentation

◆ iterator() [1/2]

template<typename tree_t>
dx::key_value_tree<tree_t>::iterator::iterator()
default

◆ iterator() [2/2]

template<typename tree_t>
dx::key_value_tree<tree_t>::iterator::iterator(const key_value_tree& key_value_tree)
inline
Here is the call graph for this function:

Member Function Documentation

◆ operator !=()

bool dx::iterator<std::vector<key_value_tree>>::operator !=(const iterator<std::vector<key_value_tree>>&) const
inlineinherited
Here is the call graph for this function:

◆ operator *()

template<typename tree_t>
key_value_tree& dx::key_value_tree<tree_t>::iterator::operator *() const
inline
Here is the call graph for this function:

◆ operator ++()

void dx::iterator<std::vector<key_value_tree>>::operator ++()
inlineinherited

◆ seed()

void dx::iterator<std::vector<key_value_tree>>::seed()
inlineprotectedinherited
Here is the caller graph for this function:

Member Data Documentation

◆ container

std::vector<key_value_tree> dx::iterator<std::vector<key_value_tree>>::container
protectedinherited

◆ current

std::vector<key_value_tree>::iterator dx::iterator<std::vector<key_value_tree>>::current
protectedinherited

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