SourceForge.net Logo

ResultImpl Class Reference

A lazily evaluated query result. More...

#include <ResultImpl.hpp>

Inheritance diagram for ResultImpl:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ~ResultImpl ()
ResultgetResultPointer ()
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.
virtual Item::Ptr nextOrTail (Result &tail, DynamicContext *context)
 Gets the next item, or returns a tail call Result which will give the next item.
virtual Sequence toSequence (DynamicContext *context)
 Cast operator to a Sequence. Only works properly before next() has been called.
virtual ResultBufferImpl * toResultBuffer (unsigned int readCount)
 Returns a result buffer of the result.

Protected Member Functions

 ResultImpl (const LocationInfo *o)

Protected Attributes

ResultresultPointer_

Detailed Description

A lazily evaluated query result.


Constructor & Destructor Documentation

virtual ResultImpl::~ResultImpl (  )  [inline, virtual]
ResultImpl::ResultImpl ( const LocationInfo o  )  [protected]

Member Function Documentation

Result* ResultImpl::getResultPointer (  )  [inline]
virtual Item::Ptr ResultImpl::next ( DynamicContext context  )  [virtual]

Get the next item from the iterator. Returns null if the is no next value.

virtual Item::Ptr ResultImpl::nextOrTail ( Result tail,
DynamicContext context 
) [virtual]

Gets the next item, or returns a tail call Result which will give the next item.

Reimplemented in GenerateEventsResult.

void ResultImpl::setResultPointer ( Result p  )  [inline]
virtual ResultBufferImpl* ResultImpl::toResultBuffer ( unsigned int  readCount  )  [virtual]

Returns a result buffer of the result.

virtual Sequence ResultImpl::toSequence ( DynamicContext context  )  [virtual]

Cast operator to a Sequence. Only works properly before next() has been called.


Member Data Documentation


The documentation for this class was generated from the following file:

Generated on Mon Mar 1 21:16:15 2010 for XQilla Simple API by  doxygen 1.6.1