|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface INAResult
Provides access to the results of an analysis.
INAResult has been superseded by INAResult2.
Method Summary | |
---|---|
void |
emptyAll()
Clear out all existing rows from any previous analysis. |
INAContext |
getNAContext()
The context for the result. |
String |
getName()
The name of the result. |
IPropertySet |
getOutputProperties()
The properties of the output. |
void |
initialize(String name,
INAContext nAContext,
boolean isScratch)
Set up for a new analysis. |
boolean |
isHasValidResult()
Indicates if the current result is valid. |
void |
setHasValidResult(boolean pFlag)
Indicates if the current result is valid. |
Method Detail |
---|
void initialize(String name, INAContext nAContext, boolean isScratch) throws IOException, AutomationException
This method has been deprecated and should not be used. Instead, use INAResult2.Create to initialize a result object after creating it.
name
- The name (in)nAContext
- A reference to a com.esri.arcgis.networkanalyst.INAContext (in)isScratch
- The isScratch (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IPropertySet getOutputProperties() throws IOException, AutomationException
The OutputProperties property returns a PropertySet that may contain information about the results of the network analysis.
The contents of the property set is up to the individual solver. For the solvers that ESRI has released, HasGapsInEdgeCumulativeImpedances returns True if there are impedance values on the junction elements that were traversed. This is important because measures are not generated on the resulting polyline feature class (Route, CFLines, SALines) in this case.
Closest Facility:
HasGapsInEdgeCumulativeImpedances True/False
Route:
HasGapsInEdgeCumulativeImpedances True/False
Service Area:
HasGapsInEdgeCumulativeImpedances True/False
TravelDirection TRAVEL_FROM/TRAVEL_TO
Origin Destination Cost Matrix:
** No TraversalResult generated
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isHasValidResult() throws IOException, AutomationException
The HasValidResult property denotes if network analysis has been performed and the result object has been populated with valid information.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setHasValidResult(boolean pFlag) throws IOException, AutomationException
The HasValidResult property denotes if network analysis has been performed and the result object has been populated with valid information.
pFlag
- The pFlag (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void emptyAll() throws IOException, AutomationException
Clears the traversal result.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getName() throws IOException, AutomationException
The Name property returns the name of the traversal result that was set during the call to Create.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.INAContext getNAContext() throws IOException, AutomationException
The NAContext returns the context that this traversal result was based upon.
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 |