This class implements a view of XML nodes.
More...
#include <nodes_view.h>
This class implements a view of XML nodes.
A view is a container-like class that only allows access to a subset of xml::node's child nodes. The exact content depends on how the view was obtained; typical uses are e.g. a view of all element children or all elements with a given name.
The nodes_view class implements the same container interface that xml::node does: it has begin() and end() methods.
- Since
- 0.6.0
- See Also
- xml::node::elements(), xml::node::elements(const char *)
Get an iterator that points to the beginning of this view's nodes.
Get an iterator that points to the beginning of this view's nodes.
bool xml::nodes_view::empty |
( |
| ) |
const |
|
inline |
Get an iterator that points one past the last child for this view.
Get an iterator that points one past the last child for this view.
Returns the number of nodes in this view.
The documentation for this class was generated from the following file: