1 #ifndef RAPIDXML_ITERATORS_HPP_INCLUDED
2 #define RAPIDXML_ITERATORS_HPP_INCLUDED
24 typedef std::ptrdiff_t difference_type;
25 typedef std::bidirectional_iterator_tag iterator_category;
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;
103 typedef std::ptrdiff_t difference_type;
104 typedef std::bidirectional_iterator_tag iterator_category;
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;