Class TSetOption
Unit
PasDoc_OptionParser
Declaration
type TSetOption = class(TValueOption)
Description
useful for making a choice of things
Values must not have a + or - sign as the last character as that can be used to add/remove items from the default set, specifying items without +/- at the end clears the default and uses only specified items
Hierarchy
Overview
Fields
Methods
|
function GetPossibleValues: string; |
|
procedure SetPossibleValues(const Value: string); |
|
function CheckValue(const AString: String): Boolean; override; |
|
function GetValues: string; |
|
procedure SetValues(const Value: string); |
|
constructor CreateEx(const AShort: Char; const ALong: String; const AShortCaseSensitive, ALongCaseSensitive: Boolean); override; |
|
destructor Destroy; override; |
|
function HasValue(const AValue: string): boolean; |
Properties
Description
Fields
|
FPossibleValues: TStringList; |
|
|
FValues: TStringList; |
|
Methods
|
function GetPossibleValues: string; |
|
|
procedure SetPossibleValues(const Value: string); |
|
|
function CheckValue(const AString: String): Boolean; override; |
|
|
function GetValues: string; |
|
|
procedure SetValues(const Value: string); |
|
|
constructor CreateEx(const AShort: Char; const ALong: String; const AShortCaseSensitive, ALongCaseSensitive: Boolean); override; |
|
|
destructor Destroy; override; |
|
|
function HasValue(const AValue: string): boolean; |
|
Properties
Generated by PasDoc 0.15.0.
|