Class TSetOption

Unit

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

Source: source/component/PasDoc_OptionParser.pas (line 200).

Hierarchy

Overview

Fields

Protected FPossibleValues: TStringList;
Protected FValues: TStringList;

Methods

Protected function GetPossibleValues: string;
Protected procedure SetPossibleValues(const Value: string);
Protected function CheckValue(const AString: String): Boolean; override;
Protected function GetValues: string;
Protected procedure SetValues(const Value: string);
Public constructor CreateEx(const AShort: Char; const ALong: String; const AShortCaseSensitive, ALongCaseSensitive: Boolean); override;
Public destructor Destroy; override;
Public function HasValue(const AValue: string): boolean;

Properties

Public property PossibleValues: string read GetPossibleValues write SetPossibleValues;
Public property Values: string read GetValues write SetValues;

Description

Fields

Protected FPossibleValues: TStringList;

This item has no description.

Source: source/component/PasDoc_OptionParser.pas (line 203).

Protected FValues: TStringList;

This item has no description.

Source: source/component/PasDoc_OptionParser.pas (line 203).

Methods

Protected function GetPossibleValues: string;

This item has no description.

Source: source/component/PasDoc_OptionParser.pas (line 204).

Protected procedure SetPossibleValues(const Value: string);

This item has no description.

Source: source/component/PasDoc_OptionParser.pas (line 205).

Protected function CheckValue(const AString: String): Boolean; override;

This item has no description.

Source: source/component/PasDoc_OptionParser.pas (line 206).

Protected function GetValues: string;

This item has no description.

Source: source/component/PasDoc_OptionParser.pas (line 211).

Protected procedure SetValues(const Value: string);

This item has no description.

Source: source/component/PasDoc_OptionParser.pas (line 212).

Public constructor CreateEx(const AShort: Char; const ALong: String; const AShortCaseSensitive, ALongCaseSensitive: Boolean); override;

This item has no description.

Source: source/component/PasDoc_OptionParser.pas (line 215).

Public destructor Destroy; override;

This item has no description.

Source: source/component/PasDoc_OptionParser.pas (line 217).

Public function HasValue(const AValue: string): boolean;

This item has no description.

Source: source/component/PasDoc_OptionParser.pas (line 219).

Properties

Public property PossibleValues: string read GetPossibleValues write SetPossibleValues;

This item has no description.

Source: source/component/PasDoc_OptionParser.pas (line 214).

Public property Values: string read GetValues write SetValues;

This item has no description.

Source: source/component/PasDoc_OptionParser.pas (line 221).


Generated by PasDoc 0.17.0.snapshot.