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. | |
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 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.
|