xmlwrapp
Lightweight C++ XML parsing library
|
This class implements a read-only view of XML nodes. More...
#include <nodes_view.h>
Public Types | |
typedef std::size_t | size_type |
Size type. More... | |
Public Member Functions | |
const_iterator | begin () const |
Get an iterator that points to the beginning of this view's nodes. More... | |
const_iterator | end () const |
Get an iterator that points one past the last child for this view. More... | |
size_type | size () const |
Returns the number of nodes in this view. More... | |
bool | empty () const |
Is the view empty? More... | |
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.
typedef std::size_t xml::const_nodes_view::size_type |
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.