cphot 0.1
A C++ tool for computing photometry from spectra.
rapidxml::attribute_iterator< Ch > Class Template Reference

Iterator of child attributes of xml_node. More...

#include <rapidxml_iterators.hpp>

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)
 

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

◆ difference_type

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

Definition at line 103 of file rapidxml_iterators.hpp.

◆ iterator_category

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

Definition at line 104 of file rapidxml_iterators.hpp.

◆ pointer

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

Definition at line 102 of file rapidxml_iterators.hpp.

◆ reference

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

Definition at line 101 of file rapidxml_iterators.hpp.

◆ value_type

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

◆ attribute_iterator() [1/2]

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

Definition at line 106 of file rapidxml_iterators.hpp.

◆ attribute_iterator() [2/2]

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

◆ operator!=()

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

Definition at line 161 of file rapidxml_iterators.hpp.

◆ operator*()

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

Definition at line 116 of file rapidxml_iterators.hpp.

◆ operator++() [1/2]

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

Definition at line 128 of file rapidxml_iterators.hpp.

◆ operator++() [2/2]

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

Definition at line 135 of file rapidxml_iterators.hpp.

◆ operator--() [1/2]

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

Definition at line 142 of file rapidxml_iterators.hpp.

◆ operator--() [2/2]

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

Definition at line 149 of file rapidxml_iterators.hpp.

◆ operator->()

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

Definition at line 122 of file rapidxml_iterators.hpp.

◆ operator==()

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

Definition at line 156 of file rapidxml_iterators.hpp.


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