Public Types | |
typedef const xpath_node * | const_iterator |
Constant iterator type. | |
enum | type_t { type_unsorted, type_sorted, type_sorted_reverse } |
Collection type. More... | |
Public Member Functions | |
xpath_node_set () | |
Default ctor Constructs empty set. | |
~xpath_node_set () | |
Dtor. | |
xpath_node_set (const xpath_node_set &ns) | |
Copy ctor. | |
xpath_node_set & | operator= (const xpath_node_set &ns) |
Assignment operator. | |
type_t | type () const |
Get collection type. | |
size_t | size () const |
Get collection size. | |
xpath_node | operator[] (size_t index) const |
Get element with the specified index. | |
const_iterator | begin () const |
Get begin constant iterator for collection. | |
const_iterator | end () const |
Get end iterator for collection. | |
void | sort (bool reverse=false) |
Sort the collection in ascending/descending order by document order. | |
xpath_node | first () const |
Get first node in the collection by document order. | |
bool | empty () const |
Return true if collection is empty. | |
Friends | |
class | xpath_ast_node |
|
Collection type.
|
|
Copy ctor.
|
|
Assignment operator.
|
|
Get collection type.
|
|
Get collection size.
|
|
Get element with the specified index.
|
|
Get begin constant iterator for collection.
|
|
Get end iterator for collection.
|
|
Sort the collection in ascending/descending order by document order.
|
|
Get first node in the collection by document order.
|
|
Return true if collection is empty.
|