com.esri.arcgis.geodatabase
Interface IEnumTopologyParent

All Superinterfaces:
Serializable
All Known Implementing Classes:
IEnumTopologyParentProxy

public interface IEnumTopologyParent
extends Serializable

Provides access to the set of parents of a topology element.

Remarks

Unlike most enumerators in the Geodatabase API, the Next method of this interface does not return objects, but esriTopologyParent structs. Since structs are a value types, checking whether a return value is null should not be used as a conditional statement to iterate through the enumerator's values (it will never be null). However, this interface provides a Count property, which can be used to iterate through the values a specific number of times, instead of checking for a terminating condition such as a null value.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 int getCount()
          The count of parents of this topology element.
 tagesriTopologyParent next()
          Returns the next parent of this topology element.
 void reset()
          Resets this eumerator.
 

Method Detail

reset

void reset()
           throws IOException,
                  AutomationException
Resets this eumerator.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

next

tagesriTopologyParent next()
                           throws IOException,
                                  AutomationException
Returns the next parent of this topology element.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Returns:
A Structure: com.esri.arcgis.geodatabase.tagesriTopologyParent (A com.esri.arcgis.geodatabase.tagesriTopologyParent COM typedef)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCount

int getCount()
             throws IOException,
                    AutomationException
The count of parents of this topology element.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Returns:
The parentCount
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.