cphot 0.1
A C++ tool for computing photometry from spectra.
|
|
Go to the documentation of this file. 1 #ifndef RAPIDXML_ITERATORS_HPP_INCLUDED
2 #define RAPIDXML_ITERATORS_HPP_INCLUDED
33 : m_node(node->first_node())
52 m_node = m_node->next_sibling();
65 assert(m_node && m_node->previous_sibling());
66 m_node = m_node->previous_sibling();
79 return m_node == rhs.m_node;
84 return m_node != rhs.m_node;
112 : m_attribute(node->first_attribute())
131 m_attribute = m_attribute->next_attribute();
144 assert(m_attribute && m_attribute->previous_attribute());
145 m_attribute = m_attribute->previous_attribute();
158 return m_attribute == rhs.m_attribute;
163 return m_attribute != rhs.m_attribute;
reference operator*() const
reference operator*() const
bool operator==(const attribute_iterator< Ch > &rhs)
Iterator of child attributes of xml_node.
std::bidirectional_iterator_tag iterator_category
node_iterator(xml_node< Ch > *node)
attribute_iterator operator++(int)
bool operator!=(const node_iterator< Ch > &rhs)
xml_attribute< Ch > & reference
xml_attribute< Ch > * pointer
attribute_iterator & operator--()
attribute_iterator operator--(int)
bool operator==(const node_iterator< Ch > &rhs)
Class representing attribute node of XML document.
node_iterator & operator++()
xml_node< Ch > value_type
std::ptrdiff_t difference_type
Iterator of child nodes of xml_node.
pointer operator->() const
attribute_iterator & operator++()
std::ptrdiff_t difference_type
Class representing a node of XML document.
pointer operator->() const
xml_attribute< Ch > value_type
node_iterator & operator--()
attribute_iterator(xml_node< Ch > *node)
xml_node< Ch > & reference
std::bidirectional_iterator_tag iterator_category
node_iterator operator--(int)
bool operator!=(const attribute_iterator< Ch > &rhs)
node_iterator operator++(int)