FDO API Reference Feature Data Objects
Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

FdoIDataReader Class Reference

#include <IDataReader.h>

Inherits FdoIReader.

Inheritance diagram for FdoIDataReader:

[legend]
List of all members.

Detailed Description

The FdoIDataReader interface provides a forward-only, read-only iterator for reading relational table data. A reference to an FdoIDataReader is returned from the SQLCommands ExecuteReader method. The initial position of the FdoIDataReader interface is prior to the first item. Thus, you must call ReadNext to begin accessing any data.

Definition at line 33 of file IDataReader.h.


Public Member Functions

virtual FDO_API FdoDataType GetDataType (FdoString *propertyName)=0
 Gets the data type of the property with the specified name.
virtual FDO_API FdoInt32 GetPropertyCount ()=0
 Gets the number of propertys in the result set.
virtual FDO_API FdoStringGetPropertyName (FdoInt32 index)=0
 Gets the name of the property at the given ordinal position.
virtual FDO_API FdoPropertyType GetPropertyType (FdoString *propertyName)=0
 Gets the FDO property type of a given property. This is used to indicate if a given property is a geometric property or a data property. If the property is a FdoPropertyType_DataProperty, then GetDataType can be used to to find the data type of the property.

Member Function Documentation

virtual FDO_API FdoDataType FdoIDataReader::GetDataType FdoString propertyName  )  [pure virtual]
 

Gets the data type of the property with the specified name.

Parameters:
propertyName Input the property name.
Returns:
Returns the type of the property.

virtual FDO_API FdoInt32 FdoIDataReader::GetPropertyCount  )  [pure virtual]
 

Gets the number of propertys in the result set.

Returns:
Returns the number of propertys.

virtual FDO_API FdoString* FdoIDataReader::GetPropertyName FdoInt32  index  )  [pure virtual]
 

Gets the name of the property at the given ordinal position.

Parameters:
index Input the position of the property.
Returns:
Returns the property name

virtual FDO_API FdoPropertyType FdoIDataReader::GetPropertyType FdoString propertyName  )  [pure virtual]
 

Gets the FDO property type of a given property. This is used to indicate if a given property is a geometric property or a data property. If the property is a FdoPropertyType_DataProperty, then GetDataType can be used to to find the data type of the property.

Parameters:
propertyName Input the property name.
Returns:
Returns the FDO property type.

The documentation for this class was generated from the following file:
Comments or suggestions? Send us feedback.