Provides a way for a function to return a sequence of some type T
that can be iterated over.
More...
#include <zorba/xquery_functions.h>
Detailed Description
template<typename T>
class zorba::Sequence< T >
Provides a way for a function to return a sequence of some type T
that can be iterated over.
- Template Parameters
-
Definition at line 35 of file xquery_functions.h.
Member Typedef Documentation
Constructor & Destructor Documentation
Constructs a new Sequence.
This constructor is intended only for function implementors.
- Parameters
-
i | The iterator that provides the elements of the sequence. Ownership of the iterator is taken. |
Definition at line 51 of file xquery_functions.h.
Copy constructs a Sequence.
- Parameters
-
s | The Sequence to copy from. Note that it is a destructive copy in that the sequence of s is 'i' moved. |
Definition at line 59 of file xquery_functions.h.
Member Function Documentation
Gets the next element in the sequence.
- Parameters
-
result | A pointer to the variable to receive the next element. |
- Returns
true
only if there is a next element.
Definition at line 67 of file xquery_functions.h.
The documentation for this class was generated from the following file: