|
xmlwrapp
Lightweight C++ XML parsing library
|
This class implements a read-only view of XML nodes. More...
#include <nodes_view.h>
Public Types | |
| using | size_type = std::size_t |
| Size type. | |
Public Member Functions | |
| const_iterator | begin () const |
| Get an iterator that points to the beginning of this view's nodes. | |
| const_iterator | end () const |
| Get an iterator that points one past the last child for this view. | |
| size_type | size () const |
| Returns the number of nodes in this view. | |
| bool | empty () const |
| Is the view empty? | |
This class implements a read-only view of XML nodes.
The only difference from xml::nodes_view is that it doesn't allow modifications of the nodes, it is otherwise identical.
| using xml::const_nodes_view::size_type = std::size_t |
Size type.
|
inline |
Get an iterator that points to the beginning of this view's nodes.
|
inline |
Is the view empty?
|
inline |
Get an iterator that points one past the last child for this view.
| size_type xml::const_nodes_view::size | ( | ) | const |
Returns the number of nodes in this view.