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

using difference_type = std::ptrdiff_t

Definition at line 23 of file rapidxml_iterators.hpp.

◆ iterator_category

using iterator_category = std::bidirectional_iterator_tag

Definition at line 24 of file rapidxml_iterators.hpp.

◆ pointer

using pointer = typename xml_node<Ch>*

Definition at line 22 of file rapidxml_iterators.hpp.

◆ reference

using reference = typename xml_node<Ch>&

Definition at line 21 of file rapidxml_iterators.hpp.

◆ value_type

using value_type = typename xml_node<Ch>

Definition at line 20 of file rapidxml_iterators.hpp.

Constructor & Destructor Documentation

◆ node_iterator() [1/2]

node_iterator ( )
inline

Definition at line 26 of file rapidxml_iterators.hpp.

◆ node_iterator() [2/2]

node_iterator ( xml_node< Ch > *  node)
inline

Definition at line 31 of file rapidxml_iterators.hpp.

Member Function Documentation

◆ operator!=()

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

Definition at line 81 of file rapidxml_iterators.hpp.

◆ operator*()

reference operator* ( ) const
inline

Definition at line 36 of file rapidxml_iterators.hpp.

◆ operator++() [1/2]

node_iterator& operator++ ( )
inline

Definition at line 48 of file rapidxml_iterators.hpp.

◆ operator++() [2/2]

node_iterator operator++ ( int  )
inline

Definition at line 55 of file rapidxml_iterators.hpp.

◆ operator--() [1/2]

node_iterator& operator-- ( )
inline

Definition at line 62 of file rapidxml_iterators.hpp.

◆ operator--() [2/2]

node_iterator operator-- ( int  )
inline

Definition at line 69 of file rapidxml_iterators.hpp.

◆ operator->()

pointer operator-> ( ) const
inline

Definition at line 42 of file rapidxml_iterators.hpp.

◆ operator==()

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

Definition at line 76 of file rapidxml_iterators.hpp.


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