Class TDSSEnum
Unit
Declaration
type TDSSEnum = class(TObject)
Description
Hierarchy
- TObject
- TDSSEnum
Overview
Fields
Sequential: Boolean; |
|
MinOrdinal: Integer; |
|
MaxOrdinal: Integer; |
|
MinChars: Integer; |
|
MaxChars: Integer; |
|
Names: Array of String; |
|
LowerNames: Array of String; |
|
Ordinals: Array of Integer; |
|
Name: String; |
|
DefaultValue: Integer; |
|
UseFirstFound: Boolean; |
|
AllowLonger: Boolean; |
|
Hybrid: Boolean; |
Methods
constructor Create(EnumName: String; IsSequential: Boolean; MinCh, MaxCh: Integer; EnumNames: Array of String; EnumOrds: Array of Integer); |
|
destructor Destroy; override; |
|
function OrdinalToString(Value: Integer): String; |
|
function StringToOrdinal(Value: String): Integer; |
|
function IsOrdinalValid(Value: Integer): Boolean; |
Description
Fields
Sequential: Boolean; |
|
MinOrdinal: Integer; |
|
are the main ordinals (without aliases) sequential/contiguous? |
MaxOrdinal: Integer; |
|
MinChars: Integer; |
|
MaxChars: Integer; |
|
Names: Array of String; |
|
minimum and maximum number of chars that are required to disambiguate strings |
LowerNames: Array of String; |
|
minimum and maximum number of chars that are required to disambiguate strings |
Ordinals: Array of Integer; |
|
Name: String; |
|
DefaultValue: Integer; |
|
public |
UseFirstFound: Boolean; |
|
AllowLonger: Boolean; |
|
Hybrid: Boolean; |
|
Methods
constructor Create(EnumName: String; IsSequential: Boolean; MinCh, MaxCh: Integer; EnumNames: Array of String; EnumOrds: Array of Integer); |
|
destructor Destroy; override; |
|
function OrdinalToString(Value: Integer): String; |
|
function StringToOrdinal(Value: String): Integer; |
|
function IsOrdinalValid(Value: Integer): Boolean; |
|
Generated by PasDoc 0.16.0.