Skip to content

TByteBoolHelper

Helper for the ByteBool type.

Declaration

Source position: syshelph.inc line 1634

type

  TByteBoolHelper = type helper for ByteBool
  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

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

Methods

Member Visibility Description
Parse public Convert string value to ByteBool value.
Size public Return the size (in bytes) of the.
ToInteger public Convert to an integer value.
ToString public Convert a ByteBool value to string.
TryToParse public Try to convert a string to a ByteBool 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.