Skip to content

TWordBoolHelper

Helper for the WordBool type.

Declaration

Source position: syshelph.inc line 1645

type

  TWordBoolHelper = type helper for WordBool
  public
    class function Parse : Boolean;
    class function Size : Integer;
    class function ToString(const AValue: Boolean; 
                       UseBoolStrs: TUseBoolStrs=TUseBoolStrs.False)
                        : string; overload;
    function ToString(UseBoolStrs: TUseBoolStrs=TUseBoolStrs.False) : string; overload;
    class function TryToParse : Boolean;
    function ToInteger : Integer;
  end;

Inheritance

Description

TWordBoolHelper is a helper type for the WordBool type. It contains mostly conversion routines to and from other types.

Methods

Member Visibility Description
Parse public Convert string value to WordBool value.
Size public Return the size (in bytes) of the.
ToInteger public Convert to an integer value.
ToString public Convert a WordBool value to string.
TryToParse public Try to convert a string to a WordBool value.

See also

Name Description
TStringHelper Helper type for strings.
TShortIntHelper Helper for a ShortInt-typed ordinal value.
TSmallIntHelper Helper for a SmallInt-typed ordinal value.
TWordHelper Helper for a Word-typed ordinal value.
TCardinalHelper Helper for a Cardinal-typed ordinal value.
TIntegerHelper Helper for a Integer-typed ordinal value.
TInt64Helper Helper for a Int64-typed ordinal value.
TQWordHelper Helper for a QWord-typed ordinal value.
TNativeIntHelper Helper for a NativeInt-typed ordinal value.
TByteHelper Helper for a byte-typed ordinal value.
TByteBoolHelper Helper for the ByteBool type.
TWordBoolHelper Helper for the WordBool type.
TLongBoolHelper Helper for the LongBool type.