#include <pugixml.hpp>
Public Types | |
typedef const xpath_node * | const_iterator |
typedef const xpath_node * | iterator |
enum | type_t { type_unsorted, type_sorted, type_sorted_reverse } |
Public Member Functions | |
const_iterator | begin () const |
bool | empty () const |
const_iterator | end () const |
xpath_node | first () const |
xpath_node_set & | operator= (const xpath_node_set &ns) |
const xpath_node & | operator[] (size_t index) const |
size_t | size () const |
void | sort (bool reverse=false) |
type_t | type () const |
xpath_node_set () | |
xpath_node_set (const_iterator begin, const_iterator end, type_t type=type_unsorted) | |
xpath_node_set (const xpath_node_set &ns) | |
~xpath_node_set () | |
Private Member Functions | |
void | _assign (const_iterator begin, const_iterator end, type_t type) |
void | _move (xpath_node_set &rhs) |
Private Attributes | |
xpath_node * | _begin |
xpath_node * | _end |
xpath_node | _storage |
type_t | _type |
Definition at line 1253 of file pugixml.hpp.
typedef const xpath_node* pugi::xpath_node_set::const_iterator |
Definition at line 1265 of file pugixml.hpp.
typedef const xpath_node* pugi::xpath_node_set::iterator |
Definition at line 1268 of file pugixml.hpp.
Definition at line 1257 of file pugixml.hpp.
Definition at line 11778 of file pugixml.cpp.
PUGI__FN pugi::xpath_node_set::xpath_node_set | ( | const_iterator | begin, |
const_iterator | end, | ||
type_t | type = type_unsorted |
||
) |
Definition at line 11782 of file pugixml.cpp.
Definition at line 11787 of file pugixml.cpp.
PUGI__FN pugi::xpath_node_set::xpath_node_set | ( | const xpath_node_set & | ns | ) |
Definition at line 11793 of file pugixml.cpp.
PUGI__FN void pugi::xpath_node_set::_assign | ( | const_iterator | begin, |
const_iterator | end, | ||
type_t | type | ||
) | [private] |
Definition at line 11720 of file pugixml.cpp.
void pugi::xpath_node_set::_move | ( | xpath_node_set & | rhs | ) | [private] |
Definition at line 11847 of file pugixml.cpp.
PUGI__FN bool pugi::xpath_node_set::empty | ( | ) | const |
Definition at line 11836 of file pugixml.cpp.
Definition at line 11852 of file pugixml.cpp.
PUGI__FN xpath_node pugi::xpath_node_set::first | ( | ) | const |
Definition at line 11862 of file pugixml.cpp.
PUGI__FN xpath_node_set & pugi::xpath_node_set::operator= | ( | const xpath_node_set & | ns | ) |
Definition at line 11798 of file pugixml.cpp.
PUGI__FN const xpath_node & pugi::xpath_node_set::operator[] | ( | size_t | index | ) | const |
Definition at line 11841 of file pugixml.cpp.
PUGI__FN size_t pugi::xpath_node_set::size | ( | ) | const |
Definition at line 11831 of file pugixml.cpp.
PUGI__FN void pugi::xpath_node_set::sort | ( | bool | reverse = false | ) |
Definition at line 11857 of file pugixml.cpp.
Definition at line 11826 of file pugixml.cpp.
xpath_node* pugi::xpath_node_set::_begin [private] |
Definition at line 1316 of file pugixml.hpp.
xpath_node* pugi::xpath_node_set::_end [private] |
Definition at line 1317 of file pugixml.hpp.
xpath_node pugi::xpath_node_set::_storage [private] |
Definition at line 1314 of file pugixml.hpp.
type_t pugi::xpath_node_set::_type [private] |
Definition at line 1312 of file pugixml.hpp.