Go to the documentation of this file.
32 : m_node(node->first_node())
51 m_node = m_node->next_sibling();
64 assert(m_node && m_node->previous_sibling());
65 m_node = m_node->previous_sibling();
78 return m_node == rhs.m_node;
83 return m_node != rhs.m_node;
111 : m_attribute(node->first_attribute())
130 m_attribute = m_attribute->next_attribute();
143 assert(m_attribute && m_attribute->previous_attribute());
144 m_attribute = m_attribute->previous_attribute();
157 return m_attribute == rhs.m_attribute;
162 return m_attribute != rhs.m_attribute;
Iterator of child attributes of xml_node.
node_iterator(xml_node< Ch > *node)
typename xml_attribute< Ch > value_type
bool operator==(const node_iterator< Ch > &rhs)
bool operator!=(const node_iterator< Ch > &rhs)
typename xml_attribute< Ch > * pointer
typename xml_node< Ch > & reference
attribute_iterator operator++(int)
bool operator==(const attribute_iterator< Ch > &rhs)
reference operator*() const
attribute_iterator & operator++()
bool operator!=(const attribute_iterator< Ch > &rhs)
typename xml_node< Ch > value_type
node_iterator operator--(int)
Class representing attribute node of XML document.
std::ptrdiff_t difference_type
attribute_iterator(xml_node< Ch > *node)
node_iterator & operator--()
typename xml_attribute< Ch > & reference
Iterator of child nodes of xml_node.
reference operator*() const
node_iterator & operator++()
pointer operator->() const
node_iterator operator++(int)
std::ptrdiff_t difference_type
typename xml_node< Ch > * pointer
Class representing a node of XML document.
attribute_iterator operator--(int)
attribute_iterator & operator--()
pointer operator->() const
std::bidirectional_iterator_tag iterator_category
std::bidirectional_iterator_tag iterator_category