File Geodatabase API
FileGDBAPI::EnumRows Class Reference

An enumerator of rows. Used as a return type for table queries. More...

Public Member Functions

fgdbError Next (Row &row)
 Returns the next available row in the enumerator, or null if no rows remain. More...
 
void Close ()
 Closes the enumerator and releases any resources it is holding.
 
fgdbError GetFieldInformation (FieldInfo &fieldInfo) const
 Return information about the fields in the row. More...
 
fgdbError GetFields (std::vector< FieldDef > &fieldDefs) const
 Returns an array of FieldDef objects of the table's field collection. More...
 
Constructors and destructors
 EnumRows ()
 The class constructor.
 
 ~EnumRows ()
 The class destructor.
 

Detailed Description

An enumerator of rows. Used as a return type for table queries.

Member Function Documentation

fgdbError FileGDBAPI::EnumRows::Next ( Row row)

Returns the next available row in the enumerator, or null if no rows remain.

Parameters
[out]rowThe next row in the enumerator.
Returns
Error code indicating whether the method finished successfully.
fgdbError FileGDBAPI::EnumRows::GetFieldInformation ( FieldInfo fieldInfo) const

Return information about the fields in the row.

Parameters
[out]fieldInfoThe field information.
Returns
Error code indicating whether the method finished successfully.
fgdbError FileGDBAPI::EnumRows::GetFields ( std::vector< FieldDef > &  fieldDefs) const

Returns an array of FieldDef objects of the table's field collection.

Parameters
[out]fieldDefsAn array of FieldDef objects containing a collection of field definitions.
Returns
Error code indicating whether the method finished successfully.