|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface INetworkFunctionEvaluator
Provides access to members that specify the properties of a function evaluator.
This interface is new at ArcGIS 9.3.
The INetworkFunctionEvaluator interface is used to access the arguments and operator assigned by this NetworkFunctionEvaluator object.
The FirstArgument must be the name of a NetworkAttribute or a constant value.
The SecondArgument must be the name of a NetworkAttributeParameter or a constant value.
If the FirstArgument or SecondArgument is a constant value, it should be of the same DataType for the network attribute to which this evaluator is assigned.
The Operator must be set to one of the operators returned in GetOperators.
Example: Set a numeric network attribute equal to the DriveTime network attribute multiplied by 1.25.
Example: Set a restriction network attribute equal to True when the Vehicle Height network parameter exceeds the MaxHeight network attribute.
Method Summary | |
---|---|
Object |
getFirstArgument()
The attribute name or constant value representing the first argument of the function. |
String |
getOperator()
The operator used in the function. |
IEnumBSTR |
getOperators(int returnDataType)
Get the list of supported binary operator names. |
Object |
getSecondArgument()
The parameter name or constant value representing the second argument of the function. |
void |
setFirstArgument(Object arg1)
The attribute name or constant value representing the first argument of the function. |
void |
setOperator(String op)
The operator used in the function. |
void |
setSecondArgument(Object arg2)
The parameter name or constant value representing the second argument of the function. |
Method Detail |
---|
void setFirstArgument(Object arg1) throws IOException, AutomationException
arg1
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.Object getFirstArgument() throws IOException, AutomationException
The FirstArgument must be the name of a NetworkAttribute or a constant value.
If the FirstArgument is a constant value, it should be of the same DataType for the network attribute to which this evaluator is assigned.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setOperator(String op) throws IOException, AutomationException
op
- The op (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getOperator() throws IOException, AutomationException
The Operator must be set to one of the operators returned in GetOperators.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setSecondArgument(Object arg2) throws IOException, AutomationException
The SecondArgument must be the name of a NetworkAttributeParameter or a constant value.
If the SecondArgument is a constant value, it should be of the same DataType for the network attribute to which this evaluator is assigned.
arg2
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.Object getSecondArgument() throws IOException, AutomationException
The SecondArgument must be the name of a NetworkAttributeParameter or a constant value.
If the SecondArgument is a constant value, it should be of the same DataType for the network attribute to which this evaluator is assigned.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IEnumBSTR getOperators(int returnDataType) throws IOException, AutomationException
GetOperators returned the list of valid operators that can be used in a NetworkFunctionEvaluator for a given network attribute DataType.
For numeric data types, the valid operators are:
For the Boolean data type, the valid operators are
returnDataType
- A com.esri.arcgis.geodatabase.esriNetworkAttributeDataType constant (in)
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 |