#include <ResultImpl.hpp>

Public Member Functions | |
| virtual | ~ResultImpl () |
| virtual Item::Ptr | next (DynamicContext *context)=0 |
| Get the next item from the iterator. Returns null if the is no next value. | |
| virtual void | skip () |
| Performs iterator specific skip of results. | |
| virtual bool | getEffectiveBooleanValue (DynamicContext *context, const LocationInfo *info) |
| Returns the effective boolean value of the sequence. Only works properly before next() has been called. | |
| virtual Sequence | toSequence (DynamicContext *context) |
| Cast operator to a Sequence. Only works properly before next() has been called. | |
| virtual std::string | asString (DynamicContext *context, int indent) const =0 |
| Debug method to visualise the Result. | |
Static Public Member Functions | |
| static bool | getEffectiveBooleanValue (const Item::Ptr &first, const Item::Ptr &second, DynamicContext *context, const LocationInfo *info) |
| Returns the effective boolean value of the sequence. | |
| static std::string | getIndent (int indent) |
Protected Member Functions | |
| ResultImpl (const LocationInfo *o) | |
| Do not allocate this object from a memory manager! It must be created using the heap. | |
| virtual ResultImpl::~ResultImpl | ( | ) | [inline, virtual] |
| ResultImpl::ResultImpl | ( | const LocationInfo * | o | ) | [inline, protected] |
Do not allocate this object from a memory manager! It must be created using the heap.
| virtual Item::Ptr ResultImpl::next | ( | DynamicContext * | context | ) | [pure virtual] |
Get the next item from the iterator. Returns null if the is no next value.
| virtual void ResultImpl::skip | ( | ) | [inline, virtual] |
Performs iterator specific skip of results.
| virtual bool ResultImpl::getEffectiveBooleanValue | ( | DynamicContext * | context, | |
| const LocationInfo * | info | |||
| ) | [virtual] |
Returns the effective boolean value of the sequence. Only works properly before next() has been called.
| static bool ResultImpl::getEffectiveBooleanValue | ( | const Item::Ptr & | first, | |
| const Item::Ptr & | second, | |||
| DynamicContext * | context, | |||
| const LocationInfo * | info | |||
| ) | [static] |
Returns the effective boolean value of the sequence.
| virtual Sequence ResultImpl::toSequence | ( | DynamicContext * | context | ) | [virtual] |
| virtual std::string ResultImpl::asString | ( | DynamicContext * | context, | |
| int | indent | |||
| ) | const [pure virtual] |
Debug method to visualise the Result.
| static std::string ResultImpl::getIndent | ( | int | indent | ) | [static] |
1.5.3