GemStone::GemFire::Cache::Generic::SelectResultsIterator< TResult > Class Template Reference

Inherits GemStone::GemFire::Cache::Generic::Internal::UMWrap< gemfire::SelectResultsIterator >.


Detailed Description

template<class TResult>
class GemStone::GemFire::Cache::Generic::SelectResultsIterator< TResult >

Iterator for a query result.

Public Member Functions

virtual bool MoveNext ()
TResult Next ()
virtual void Reset ()

Protected Member Functions

void InternalCleanup ()
void SetPtr (gemfire::SelectResultsIterator *nativeptr, bool own)

Properties

virtual TResult Current [get]
bool HasNext [get]
bool Own [get, set]

Member Function Documentation

void GemStone::GemFire::Cache::Generic::Internal::UMWrap< gemfire::SelectResultsIterator >::InternalCleanup (  )  [inline, protected, inherited]

Internal cleanup function invoked by dispose/finalizer.

template<class TResult>
virtual bool GemStone::GemFire::Cache::Generic::SelectResultsIterator< TResult >::MoveNext (  )  [virtual]

Advances the enumerator to the next element of the collection.

Returns:
true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.

template<class TResult>
TResult GemStone::GemFire::Cache::Generic::SelectResultsIterator< TResult >::Next (  ) 

Get the current element and move to the next one.

template<class TResult>
virtual void GemStone::GemFire::Cache::Generic::SelectResultsIterator< TResult >::Reset (  )  [virtual]

Sets the enumerator to its initial position, which is before the first element in the collection.

void GemStone::GemFire::Cache::Generic::Internal::UMWrap< gemfire::SelectResultsIterator >::SetPtr ( gemfire::SelectResultsIterator *  nativeptr,
bool  own 
) [inline, protected, inherited]

Used to set the native pointer to a new object. This should only be used when you know that the underlying object is NULL or you do not own it.


Property Documentation

template<class TResult>
virtual TResult GemStone::GemFire::Cache::Generic::SelectResultsIterator< TResult >::Current [get]

Gets the element in the collection at the current position of the enumerator.

Returns:
The element in the collection at the current position of the enumerator.

template<class TResult>
bool GemStone::GemFire::Cache::Generic::SelectResultsIterator< TResult >::HasNext [get]

Check if there is a next element.

bool GemStone::GemFire::Cache::Generic::Internal::UMWrap< gemfire::SelectResultsIterator >::Own [get, set, protected, inherited]

Get or set the ownership of this object.

Returns:
True if the native object is owned by this object.


GemFire C++ Cache .NET API Documentation