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 97 of file rapidxml_iterators.hpp.

Member Typedef Documentation

◆ difference_type

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

Definition at line 104 of file rapidxml_iterators.hpp.

◆ iterator_category

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

Definition at line 105 of file rapidxml_iterators.hpp.

◆ pointer

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

Definition at line 103 of file rapidxml_iterators.hpp.

◆ reference

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

Definition at line 102 of file rapidxml_iterators.hpp.

◆ value_type

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

Definition at line 101 of file rapidxml_iterators.hpp.

Constructor & Destructor Documentation

◆ attribute_iterator() [1/2]

template<class Ch>
attribute_iterator ( )
inline

Definition at line 107 of file rapidxml_iterators.hpp.

+ Here is the caller graph for this function:

◆ attribute_iterator() [2/2]

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

Definition at line 111 of file rapidxml_iterators.hpp.

Member Function Documentation

◆ operator!=()

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

Definition at line 168 of file rapidxml_iterators.hpp.

+ Here is the call graph for this function:

◆ operator*()

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

Definition at line 116 of file rapidxml_iterators.hpp.

◆ operator++() [1/2]

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

Definition at line 130 of file rapidxml_iterators.hpp.

◆ operator++() [2/2]

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

Definition at line 138 of file rapidxml_iterators.hpp.

+ Here is the call graph for this function:

◆ operator--() [1/2]

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

Definition at line 146 of file rapidxml_iterators.hpp.

◆ operator--() [2/2]

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

Definition at line 154 of file rapidxml_iterators.hpp.

+ Here is the call graph for this function:

◆ operator->()

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

Definition at line 123 of file rapidxml_iterators.hpp.

◆ operator==()

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

Definition at line 162 of file rapidxml_iterators.hpp.

+ Here is the call graph for this function:

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