All Types

Name Unit Description
AnOptionDirtiedHandler linearc

This type is used to specify a callback routine which is invoked after the options have been parsed and if the option has been set.

AnOptionValueType linearc

This type is used to contain the flags which indicate what type of value is accepted by an instance of ACommandLineOption.

TOptionValueType linearc

This enumeration indicates the types of options that can be accepted on the command line:

  • ovtNone: Indicates an invalid option; not really used

  • ovtFlag: A flag value, which is assumed to be False unless it is specified on the command-line. A flag value might be specified as --flag when passed on the command line. Represented by instances of ACommandLineFlag.

  • ovtSwitch: A switch, which may be True or False. Unlike flag values, the value of a switch must be explicitly set on the command line. A switch might be specified as --switch=y or --switch=false when passed on the command line. Represented by instances of ACommandLineSwitch.

  • ovtNumber: A numeric value, either integer or floating-point. The only constraints on the value are the limits of the int64 or double types. A numeric value might be specified as --value=23 or --value=42.0 when passed on the command line. Represented by instances of ACommandLineNumber.

  • ovtIntegerRange, ovtFloatRange: A numeric value that must fall between a minimum and maximum value. Represented by instances of ACommandLineIntegerRange and ACommandLineFloatRange.

  • ovtString: A string value. A string value might be specified as --value=text or --value="text" when passed on the command line. Represented by instances of ACommandLineString.

  • ovtMultipleChoice: A value that must match one of a list of provided values. Represented by instances of ACommandLineChoice.

  • ovtList: A value that can be specified more than once on the command line; each occurrence is collected into a list of values. Represented by instances of ACommandLineList.

  • ovtRest: An argument that is specified without a name preceding it. These are usually used to indicate file names. This value is combined with one of the above values.


Generated by PasDoc 0.13.0 on 2015-06-25 11:07:51