com.esri.arcgis.geodatabase
Class IEnumTopologyParentProxy
java.lang.Object
com.esri.arcgis.interop.Dispatch
com.esri.arcgis.geodatabase.IEnumTopologyParentProxy
- All Implemented Interfaces:
- IEnumTopologyParent, Externalizable, Serializable
public class IEnumTopologyParentProxy
- extends com.esri.arcgis.interop.Dispatch
- implements IEnumTopologyParent, 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.
Supported Platforms
Windows, Solaris, Linux
- See Also:
- Serialized Form
| Fields inherited from class com.esri.arcgis.interop.Dispatch |
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, E |
| Methods inherited from class com.esri.arcgis.interop.Dispatch |
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, queryInterface, release, setNativeMode, setPropertyByName, toString, vtblInvoke |
IEnumTopologyParentProxy
public IEnumTopologyParentProxy()
IEnumTopologyParentProxy
public IEnumTopologyParentProxy(Object obj)
throws IOException
- Throws:
IOException
IEnumTopologyParentProxy
protected IEnumTopologyParentProxy(Object obj,
String iid)
throws IOException
- Throws:
IOException
addListener
public void addListener(String iidStr,
Object theListener,
Object theSource)
throws IOException
- Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
- Throws:
IOException
removeListener
public void removeListener(String iidStr,
Object theListener)
throws IOException
- Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
- Throws:
IOException
reset
public void reset()
throws IOException,
AutomationException
- Resets this eumerator.
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Supported Platforms
Windows, Solaris, Linux
- Specified by:
reset in interface IEnumTopologyParent
- Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
next
public 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
- Specified by:
next in interface IEnumTopologyParent
- 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
public 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
- Specified by:
getCount in interface IEnumTopologyParent
- Returns:
- The parentCount
- Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal in interface Externalizable- Overrides:
writeExternal in class com.esri.arcgis.interop.Dispatch
- Throws:
IOException
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal in interface Externalizable- Overrides:
readExternal in class com.esri.arcgis.interop.Dispatch
- Throws:
IOException
ClassNotFoundException