A lazily evaluated query result. More...
#include <ResultImpl.hpp>
Public Member Functions | |
virtual | ~ResultImpl () |
Result * | getResultPointer () |
void | setResultPointer (Result *p) |
virtual Item::Ptr | next (DynamicContext *context) |
Get the next item from the iterator. Returns null if the is no next value. More... | |
virtual Item::Ptr | nextOrTail (Result &tail, DynamicContext *context) |
Gets the next item, or returns a tail call Result which will give the next item. More... | |
virtual Sequence | toSequence (DynamicContext *context) |
Cast operator to a Sequence. More... | |
virtual void | toResultBuffer (unsigned int readCount, ResultBuffer &buffer) |
Returns a result buffer of the result. More... | |
virtual void | skip (unsigned count, DynamicContext *context) |
Skip ahead. More... | |
![]() | |
LocationInfo () | |
Constructor that sets the information to 0. More... | |
LocationInfo (const XMLCh *file, unsigned int line, unsigned int column) | |
Constructor that takes the initial information. More... | |
const XMLCh * | getFile () const |
The file that the query was parsed from. More... | |
unsigned int | getLine () const |
The line in the query. More... | |
unsigned int | getColumn () const |
The column in the query. More... | |
void | setLocationInfo (const XMLCh *file, unsigned int line, unsigned int column) |
Sets the location to the given information. More... | |
void | setLocationInfo (const LocationInfo *o) |
Sets the location with the information in the given LocationInfo object. More... | |
Protected Member Functions | |
ResultImpl (const LocationInfo *o) | |
Protected Attributes | |
Result * | resultPointer_ |
A lazily evaluated query result.
|
inlinevirtual |
|
protected |
|
inline |
|
virtual |
Get the next item from the iterator. Returns null if the is no next value.
|
virtual |
Gets the next item, or returns a tail call Result which will give the next item.
|
inline |
|
virtual |
Skip ahead.
|
virtual |
Returns a result buffer of the result.
|
virtual |
Cast operator to a Sequence.
|
protected |