|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IEnumNetEID
Provides access to members that iterate through an enumeration of network element IDs (EIDs).
The IEnumNetEID interface is returned by various methods on the logical network. It contains a set of EIDs from a given network. For example, calling the method INetwork::CreateNetBrowser returns a reference to the IEnumNetEID interface containing a set of EIDs based on the specified type of network element requested. INetElements::GetEIDs also returns an enumerator of this type.
Many of the trace tasks on the TraceFlowSolver object return this enumerator as well.
Method Summary | |
---|---|
int |
getCount()
Number of network elements in this enumeration. |
int |
getElementType()
Type of network elements in this enumeration. |
INetwork |
getNetwork()
Network from which these elements came. |
int |
last()
Forces the enumerator pointing at the last element in the enumeration and returns the last element. |
int |
next()
Moves the enumerator forward and returns the network element pointed by the enumerator. |
int |
prev()
Returns the network element pointed by the enumerator and moves the enumerator backward. |
void |
reset()
Forces the enumerator pointing before first network element; a subsequent next gives the first network element in the enumeration. |
Method Detail |
---|
INetwork getNetwork() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getCount() throws IOException, AutomationException
Returns the number of elements in the enumeration.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getElementType() throws IOException, AutomationException
The element type is a value from the esriElementType enumeration. Note that turns are only available for street networks and not utility networks.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void reset() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int next() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int last() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int prev() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |