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

Iterator of child nodes of xml_node. More...

#include <rapidxml_iterators.hpp>

Public Types

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

Public Member Functions

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

Detailed Description

template<class Ch>
class rapidxml::node_iterator< Ch >

Iterator of child nodes of xml_node.

Definition at line 16 of file rapidxml_iterators.hpp.

Member Typedef Documentation

◆ difference_type

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

Definition at line 24 of file rapidxml_iterators.hpp.

◆ iterator_category

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

Definition at line 25 of file rapidxml_iterators.hpp.

◆ pointer

template<class Ch >
typedef xml_node<Ch>* rapidxml::node_iterator< Ch >::pointer

Definition at line 23 of file rapidxml_iterators.hpp.

◆ reference

template<class Ch >
typedef xml_node<Ch>& rapidxml::node_iterator< Ch >::reference

Definition at line 22 of file rapidxml_iterators.hpp.

◆ value_type

template<class Ch >
typedef xml_node<Ch> rapidxml::node_iterator< Ch >::value_type

Definition at line 21 of file rapidxml_iterators.hpp.

Constructor & Destructor Documentation

◆ node_iterator() [1/2]

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

Definition at line 27 of file rapidxml_iterators.hpp.

◆ node_iterator() [2/2]

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

Definition at line 32 of file rapidxml_iterators.hpp.

Member Function Documentation

◆ operator!=()

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

Definition at line 82 of file rapidxml_iterators.hpp.

◆ operator*()

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

Definition at line 37 of file rapidxml_iterators.hpp.

◆ operator++() [1/2]

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

Definition at line 49 of file rapidxml_iterators.hpp.

◆ operator++() [2/2]

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

Definition at line 56 of file rapidxml_iterators.hpp.

◆ operator--() [1/2]

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

Definition at line 63 of file rapidxml_iterators.hpp.

◆ operator--() [2/2]

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

Definition at line 70 of file rapidxml_iterators.hpp.

◆ operator->()

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

Definition at line 43 of file rapidxml_iterators.hpp.

◆ operator==()

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

Definition at line 77 of file rapidxml_iterators.hpp.


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