36 #ifndef _xmlwrapp_node_set_hpp_
37 #define _xmlwrapp_node_set_hpp_
205 {
return !(*
this == other); }
325 {
return !(*
this == other); }
The xml::node_set::const_iterator class is used to iterate over nodes in a node set.
bool operator!=(const const_iterator &other) const
Compare two iterators.
bool operator==(const const_iterator &other) const
Compare two iterators.
std::ptrdiff_t difference_type
const_iterator(const node_set *parent, int index)
std::forward_iterator_tag iterator_category
const_iterator & operator++()
Prefix increment.
const_iterator()
Create a new uninitialised xml::node_set::const_iterator object.
reference operator*() const
Provide a const reference to the node.
pointer operator->() const
Provide a const pointer to the node.
void swap(const_iterator &other)
~const_iterator()
Destroy the object.
const_iterator & operator=(const const_iterator &other)
Create a copy of the xml::node_set::const_iterator object.
The xml::node_set::iterator class is used to iterate over nodes in a node set.
bool operator!=(const iterator &other) const
Compare two iterators.
iterator & operator=(const iterator &other)
Create a copy of the xml::node_set::iterator object.
iterator & operator++()
Prefix increment.
reference operator*() const
Provide a reference to the node.
void swap(iterator &other)
iterator()
Create a new uninitialised xml::node_set::iterator object.
bool operator==(const iterator &other) const
Compare two iterators.
pointer operator->() const
Provide a pointer to the node.
iterator(node_set *parent, int index)
std::ptrdiff_t difference_type
std::forward_iterator_tag iterator_category
~iterator()
Destroy the object.
The xml::node_set class is used to store xpath query result set.
iterator begin()
Get an iterator that points to the beginning of the xpath query result node set.
bool empty() const
Inform if the xpath query result node set is empty.
size_t size() const
Get the number of nodes in the xpath query result node set.
virtual ~node_set()
Destroy the object and clean up the memory.
node_set & operator=(const node_set &other)
Creates a copy of the xml::node_set object.
iterator end()
Get an iterator that points one past the last node in the xpath query result node set.
node_set()
Create a new empty xml::node_set object.
The xml::node class is used to hold information about one XML node.
The xslt::xpath_object class is used to store extension function arguments and return values.
This file contains the definition of the xml::node class.
XPath expression storage for XmlWrapp.