NGL  6.5
The NCCA Graphics Library
rapidxml::attribute_iterator< Ch > Class Template Reference

Iterator of child attributes of xml_node. More...

#include <rapidxml_iterators.hpp>

+ Collaboration diagram for rapidxml::attribute_iterator< Ch >:

Public Types

typedef xml_attribute< Ch > value_type
 
typedef xml_attribute< Ch > & reference
 
typedef xml_attribute< Ch > * pointer
 
typedef std::ptrdiff_t difference_type
 
typedef std::bidirectional_iterator_tag iterator_category
 

Public Member Functions

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

Private Attributes

xml_attribute< Ch > * m_attribute
 

Detailed Description

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

Iterator of child attributes of xml_node.

Definition at line 95 of file rapidxml_iterators.hpp.

Member Typedef Documentation

template<class Ch>
typedef std::ptrdiff_t rapidxml::attribute_iterator< Ch >::difference_type

Definition at line 103 of file rapidxml_iterators.hpp.

template<class Ch>
typedef std::bidirectional_iterator_tag rapidxml::attribute_iterator< Ch >::iterator_category

Definition at line 104 of file rapidxml_iterators.hpp.

template<class Ch>
typedef xml_attribute<Ch>* rapidxml::attribute_iterator< Ch >::pointer

Definition at line 102 of file rapidxml_iterators.hpp.

template<class Ch>
typedef xml_attribute<Ch>& rapidxml::attribute_iterator< Ch >::reference

Definition at line 101 of file rapidxml_iterators.hpp.

template<class Ch>
typedef xml_attribute<Ch> rapidxml::attribute_iterator< Ch >::value_type

Definition at line 100 of file rapidxml_iterators.hpp.

Constructor & Destructor Documentation

template<class Ch>
rapidxml::attribute_iterator< Ch >::attribute_iterator ( )
inline

Definition at line 106 of file rapidxml_iterators.hpp.

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

Definition at line 111 of file rapidxml_iterators.hpp.

Member Function Documentation

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

Definition at line 116 of file rapidxml_iterators.hpp.

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

Definition at line 128 of file rapidxml_iterators.hpp.

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

Definition at line 135 of file rapidxml_iterators.hpp.

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

Definition at line 142 of file rapidxml_iterators.hpp.

References rapidxml::xml_attribute< Ch >::previous_attribute().

+ Here is the call graph for this function:

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

Definition at line 149 of file rapidxml_iterators.hpp.

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

Definition at line 122 of file rapidxml_iterators.hpp.

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

Member Data Documentation

template<class Ch>
xml_attribute<Ch>* rapidxml::attribute_iterator< Ch >::m_attribute
private

Definition at line 168 of file rapidxml_iterators.hpp.


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