|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IGPValue
Provides access to members of a GPValue.
The IGPValue interface provides access to the property and methods required to create and define a Value object.
Values are the actual inputs to a tool containing scalars or paths to the data.
An array of values is created, based on the same order of the parameter definiton of a geoprocessing tool. This array of values is then used as input to both the Validate and Execute methods of the tool.
A complete example to create a geoprocessing function tool, including the use of IGPValue, is available here: Building Geoprocessing Function Tools .
See also IGPDataType
| Method Summary | |
|---|---|
void |
empty()
Clears the value object. |
String |
getAsText()
Provides the value of the value object. |
IGPDataType |
IGPValue_getDataType()
The data type of the value object. |
boolean |
isEmpty()
Indicates if the value object is empty. |
IGPMessage |
setAsText(String text)
Provides the value of the value object with the given string value. |
| Method Detail |
|---|
IGPDataType IGPValue_getDataType()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
boolean isEmpty()
throws IOException,
AutomationException
The IsEmpty method returns if this Value object has been set or not.
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void empty()
throws IOException,
AutomationException
The Empty method clears this Value object and releases any associated objects.
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
String getAsText()
throws IOException,
AutomationException
The GetAsText method returns this Value object as a text string. For DataElement value objects it is the NameString. For simple value objects it is the text string for the scalar value.
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IGPMessage setAsText(String text)
throws IOException,
AutomationException
The SetAsText method sets the value of this Value object as a text string. For DataElement value objects it is the NameString. For simple value objects it is the text string representing the scalar value.
text - The text (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 | ||||||||