Record TSCUxSizeRecordHelper
Unit
Declaration
type TSCUxSizeRecordHelper = record helper for TSCUxSizeRecord
Description
Overview
Methods
![]() |
class function GetIntValue(const ASize: TSCUSize): Integer; static; |
![]() |
class function GetSizeValue(const AValue: Integer): TSCUSize; static; |
![]() |
class function IsValidSizeValue(const AValue: Integer): Boolean; static; |
![]() |
class function GetSCUxSizeFromSCU(const InputSCU: Integer; const MaxSize: Integer): TSCUxSizeRecord; static; overload; |
![]() |
class function GetSCUxSizeFromSCU(const InputSCU: Integer; const MaxSize: TSCUSize): TSCUxSizeRecord; static; overload; |
![]() |
class procedure SetSCUxSizeFromSCU(const InputSCU: Integer; const MaxSize: Integer; var ASCUxSize: TSCUxSizeRecord); static; overload; |
![]() |
class procedure SetSCUxSizeFromSCU(const InputSCU: Integer; const MaxSize: TSCUSize; var ASCUxSize: TSCUxSizeRecord); static; overload; |
Description
Methods
![]() |
class function GetIntValue(const ASize: TSCUSize): Integer; static; |
|
Returns the integer value associated with a TSCUSize (e.g. eSCUSize32 -> 32). | |
![]() |
class function GetSizeValue(const AValue: Integer): TSCUSize; static; |
|
Returns the TSCUSize associated with an Integer (e.g. 32 -> eSCUSize32). Generates an error if the input is invalid. | |
![]() |
class function IsValidSizeValue(const AValue: Integer): Boolean; static; |
|
Returns True if an Integer has an associated TSCUSize, False otherwise. | |
![]() |
class function GetSCUxSizeFromSCU(const InputSCU: Integer; const MaxSize: Integer): TSCUxSizeRecord; static; overload; |
|
Returns a TSCUxSizeRecord initialised with the number of crates needed to reach | |
![]() |
class function GetSCUxSizeFromSCU(const InputSCU: Integer; const MaxSize: TSCUSize): TSCUxSizeRecord; static; overload; |
|
Returns a TSCUxSizeRecord initialised with the number of crates needed to reach | |
![]() |
class procedure SetSCUxSizeFromSCU(const InputSCU: Integer; const MaxSize: Integer; var ASCUxSize: TSCUxSizeRecord); static; overload; |
|
Initialise the TSCUxSizeRecord with the number of crates needed to reach | |
![]() |
class procedure SetSCUxSizeFromSCU(const InputSCU: Integer; const MaxSize: TSCUSize; var ASCUxSize: TSCUxSizeRecord); static; overload; |
|
Initialise the TSCUxSizeRecord with the number of crates needed to reach | |
