node_iterator< Ch > Class Template Reference

Iterator of child nodes of xml_node. More...

#include <ArmarXCore/core/rapidxml/rapidxml_iterators.hpp>

Public Types

using difference_type = std::ptrdiff_t
 
using iterator_category = std::bidirectional_iterator_tag
 
using pointer = typename xml_node<Ch>*
 
using reference = typename xml_node<Ch>&
 
using value_type = typename xml_node<Ch>
 

Public Member Functions

 node_iterator ()
 
 node_iterator (xml_node< Ch > *node)
 
bool operator!= (const node_iterator< Ch > &rhs)
 
reference operator* () const
 
node_iteratoroperator++ ()
 
node_iterator operator++ (int)
 
node_iteratoroperator-- ()
 
node_iterator operator-- (int)
 
pointer operator-> () const
 
bool operator== (const node_iterator< Ch > &rhs)
 

Detailed Description

template<class Ch>
class rapidxml::node_iterator< Ch >

Iterator of child nodes of xml_node.

Definition at line 15 of file rapidxml_iterators.hpp.

Member Typedef Documentation

◆ difference_type

template<class Ch>
using difference_type = std::ptrdiff_t

Definition at line 22 of file rapidxml_iterators.hpp.

◆ iterator_category

template<class Ch>
using iterator_category = std::bidirectional_iterator_tag

Definition at line 23 of file rapidxml_iterators.hpp.

◆ pointer

template<class Ch>
using pointer = typename xml_node<Ch>*

Definition at line 21 of file rapidxml_iterators.hpp.

◆ reference

template<class Ch>
using reference = typename xml_node<Ch>&

Definition at line 20 of file rapidxml_iterators.hpp.

◆ value_type

template<class Ch>
using value_type = typename xml_node<Ch>

Definition at line 19 of file rapidxml_iterators.hpp.

Constructor & Destructor Documentation

◆ node_iterator() [1/2]

template<class Ch>
node_iterator ( )
inline

Definition at line 25 of file rapidxml_iterators.hpp.

+ Here is the caller graph for this function:

◆ node_iterator() [2/2]

template<class Ch>
node_iterator ( xml_node< Ch > * node)
inline

Definition at line 29 of file rapidxml_iterators.hpp.

Member Function Documentation

◆ operator!=()

template<class Ch>
bool operator!= ( const node_iterator< Ch > & rhs)
inline

Definition at line 86 of file rapidxml_iterators.hpp.

+ Here is the call graph for this function:

◆ operator*()

template<class Ch>
reference operator* ( ) const
inline

Definition at line 34 of file rapidxml_iterators.hpp.

◆ operator++() [1/2]

template<class Ch>
node_iterator & operator++ ( )
inline

Definition at line 48 of file rapidxml_iterators.hpp.

◆ operator++() [2/2]

template<class Ch>
node_iterator operator++ ( int )
inline

Definition at line 56 of file rapidxml_iterators.hpp.

+ Here is the call graph for this function:

◆ operator--() [1/2]

template<class Ch>
node_iterator & operator-- ( )
inline

Definition at line 64 of file rapidxml_iterators.hpp.

◆ operator--() [2/2]

template<class Ch>
node_iterator operator-- ( int )
inline

Definition at line 72 of file rapidxml_iterators.hpp.

+ Here is the call graph for this function:

◆ operator->()

template<class Ch>
pointer operator-> ( ) const
inline

Definition at line 41 of file rapidxml_iterators.hpp.

◆ operator==()

template<class Ch>
bool operator== ( const node_iterator< Ch > & rhs)
inline

Definition at line 80 of file rapidxml_iterators.hpp.

+ Here is the call graph for this function:

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