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_iterator & operator++ ()
 
attribute_iterator operator++ (int)
 
attribute_iterator & operator-- ()
 
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.

Member Typedef Documentation

◆ difference_type

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

◆ iterator_category

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

◆ pointer

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

◆ reference

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

◆ value_type

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

Constructor & Destructor Documentation

◆ attribute_iterator() [1/2]

template<class Ch>
attribute_iterator ( )
inline

◆ attribute_iterator() [2/2]

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

Member Function Documentation

◆ operator!=()

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

◆ operator*()

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

◆ operator++() [1/2]

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

◆ operator++() [2/2]

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

◆ operator--() [1/2]

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

◆ operator--() [2/2]

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

◆ operator->()

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

◆ operator==()

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

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