API Reference OSGeo FDO Provider for SHP
Main Page | Alphabetical List | Class List | File List | Class Members | File Members

ShpIScrollableFeatureReader Class Reference

#include <IScrollableFeatureReader.h>

List of all members.


Public Member Functions

virtual int Count ()=0
virtual unsigned int IndexOf (FdoPropertyValueCollection *key)=0
virtual bool ReadAt (FdoPropertyValueCollection *key)=0
virtual bool ReadAtIndex (unsigned int recordindex)=0
virtual bool ReadFirst ()=0
virtual bool ReadLast ()=0
virtual bool ReadPrevious ()=0

Member Function Documentation

virtual int ShpIScrollableFeatureReader::Count  )  [pure virtual]
 

<summary>Returns the number of records of the query result.</summary> <returns>Returns number of records.</returns>

virtual unsigned int ShpIScrollableFeatureReader::IndexOf FdoPropertyValueCollection *  key  )  [pure virtual]
 

<summary>Given a key of a feature, IndexOf will return the one based index or the record number of the feature within the returned query result. If the record is not found, then zero is retuned. This is the mirror function of the GetAtIndex function. This method does not affect the reader position. GetAtIndex need to be called to move the reader to the returned index.</summary> <param name="key">The key that identifies a record.</param> <returns>Returns true if a record is found or false otherwise.</returns>

virtual bool ShpIScrollableFeatureReader::ReadAt FdoPropertyValueCollection *  key  )  [pure virtual]
 

<summary>provide the ad-hoc access to the query result. It positions the position of the reader at a given record defined by the key. If the record is not found, then the reader position is unset and false value is returned. Once the reader’s position becames unset, the caller needs to call ReadFirst, ReadLast or ReadAt to re-position the reader at a valid location.</returns> <param name="key">The key that identifies a record.</param> <returns>Returns true if a record is found or false otherwise.</returns>

virtual bool ShpIScrollableFeatureReader::ReadAtIndex unsigned int  recordindex  )  [pure virtual]
 

<summary>Provides an ad-hoc access to the query result. The recordindex is the one-based nth item in the query result. If successful, this method will position the reader at the feature identified by the recordindex.</summary> <param name="recordindex">The index of the row.</param> <returns>Returns true if a record is found or false otherwise.</returns>

virtual bool ShpIScrollableFeatureReader::ReadFirst  )  [pure virtual]
 

<summary>Position the reader at the first record of the query result. This method returns false if the query result is empty.</summary> <returns>Returns true if a record is found or false if the result is empty.</returns>

virtual bool ShpIScrollableFeatureReader::ReadLast  )  [pure virtual]
 

<summary>Position the reader at the last record of the query result. This method returns false if the query result is empty.</summary> <returns>Returns true if a record is found or false if the result is empty.</returns>

virtual bool ShpIScrollableFeatureReader::ReadPrevious  )  [pure virtual]
 

<summary>Advances the reader to the previous item and returns true if there is another object to read or false if reading is complete. The default position of the reader is prior to the first item. Therefore you must call ReadFirst or ReadLast to begin accessing any data.</summary> <returns>Returns true if a record is found or false otherwise.</returns>


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