attribute_iterator< Ch > Class Template Reference

Iterator of child attributes 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_attribute< Ch > *
 
using reference = typename xml_attribute< Ch > &
 
using value_type = typename xml_attribute< Ch >
 

Public Member Functions

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

Detailed Description

template<class Ch>
class rapidxml::attribute_iterator< Ch >

Iterator of child attributes of xml_node.

Definition at line 94 of file rapidxml_iterators.hpp.

Member Typedef Documentation

◆ difference_type

using difference_type = std::ptrdiff_t

Definition at line 102 of file rapidxml_iterators.hpp.

◆ iterator_category

using iterator_category = std::bidirectional_iterator_tag

Definition at line 103 of file rapidxml_iterators.hpp.

◆ pointer

using pointer = typename xml_attribute<Ch>*

Definition at line 101 of file rapidxml_iterators.hpp.

◆ reference

using reference = typename xml_attribute<Ch>&

Definition at line 100 of file rapidxml_iterators.hpp.

◆ value_type

using value_type = typename xml_attribute<Ch>

Definition at line 99 of file rapidxml_iterators.hpp.

Constructor & Destructor Documentation

◆ attribute_iterator() [1/2]

attribute_iterator ( )
inline

Definition at line 105 of file rapidxml_iterators.hpp.

◆ attribute_iterator() [2/2]

attribute_iterator ( xml_node< Ch > *  node)
inline

Definition at line 110 of file rapidxml_iterators.hpp.

Member Function Documentation

◆ operator!=()

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

Definition at line 160 of file rapidxml_iterators.hpp.

◆ operator*()

reference operator* ( ) const
inline

Definition at line 115 of file rapidxml_iterators.hpp.

◆ operator++() [1/2]

attribute_iterator& operator++ ( )
inline

Definition at line 127 of file rapidxml_iterators.hpp.

◆ operator++() [2/2]

attribute_iterator operator++ ( int  )
inline

Definition at line 134 of file rapidxml_iterators.hpp.

◆ operator--() [1/2]

attribute_iterator& operator-- ( )
inline

Definition at line 141 of file rapidxml_iterators.hpp.

◆ operator--() [2/2]

attribute_iterator operator-- ( int  )
inline

Definition at line 148 of file rapidxml_iterators.hpp.

◆ operator->()

pointer operator-> ( ) const
inline

Definition at line 121 of file rapidxml_iterators.hpp.

◆ operator==()

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

Definition at line 155 of file rapidxml_iterators.hpp.


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