user manual
62 Chapter 3: Data Management
Parameters iTool Developer’s Guide
method of the IDLitParameter class (of which iTool visualization classes are a
subclass):
self->RegisterParameter,
ParmameterName
, $
TYPES = ['
DataType1
', ..., '
DataTypeN
']
where ParameterName is a string that defines the name of the parameter and the
TYPES keyword is set equal to a string or array of strings specifying the iTool system
data types the parameter can represent. (See “iTool Data Types” on page 54 for
information on iTools data types.)
A typical parameter registration call looks like the following:
self->RegisterParameter, 'Y', /INPUT, TYPES='IDLVECTOR', /OPTARGET
Here, the string argument Y is the name of the parameter being registered. The
INPUT keyword specifies that
Y is an input parameter (specified by the method’s
caller), the TYPES keyword specifies that
Y is a vector, and the OPTARGET
keyword specifies that operations can be performed on the
Y vector.
Additional keywords can be set in the call to RegisterParameter. See the
documentation for “IDLitParameter::RegisterParameter” (IDL Reference Guide) for
additional details.