1 #ifndef RAPIDXML_ITERATORS_HPP_INCLUDED 2 #define RAPIDXML_ITERATORS_HPP_INCLUDED 33 :
m_node(node->first_node())
66 m_node = m_node->previous_sibling();
112 : m_attribute(node->first_attribute())
131 m_attribute = m_attribute->next_attribute();
144 assert(m_attribute && m_attribute->previous_attribute());
node_iterator operator++(int)
This file contains rapidxml parser and DOM implementation.
xml_attribute< Ch > & reference
xml_attribute< Ch > value_type
std::ptrdiff_t difference_type
Iterator of child nodes of xml_node.
std::bidirectional_iterator_tag iterator_category
xml_node< Ch > & reference
node_iterator & operator++()
pointer operator->() const
attribute_iterator & operator--()
attribute_iterator & operator++()
attribute_iterator operator++(int)
xml_attribute< Ch > * previous_attribute(const Ch *name=0, std::size_t name_size=0, bool case_sensitive=true) const
reference operator*() const
node_iterator operator--(int)
bool operator==(const node_iterator< Ch > &rhs)
node_iterator & operator--()
Iterator of child attributes of xml_node.
attribute_iterator operator--(int)
node_iterator(xml_node< Ch > *node)
pointer operator->() const
std::bidirectional_iterator_tag iterator_category
attribute_iterator(xml_node< Ch > *node)
xml_attribute< Ch > * pointer
xml_node< Ch > value_type
bool operator!=(const node_iterator< Ch > &rhs)
std::ptrdiff_t difference_type
xml_attribute< Ch > * m_attribute