Unit 'sysutils' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

TQWordHelper

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Helper for a QWord-typed ordinal value.

Declaration

Source position: syshelph.inc line 1273

type TQWordHelper = type helper

default

const

  MaxValue = High(qword)

  

Maximum value for a QWord.

  MinValue = Low(qword)

  

Minimum value for a QWord.

  MaxBit = High(TQwordBitIndex)

  

Maximum value for a bit.

  MinBit = Low(TQwordBitIndex)

  

Minimum value for a bit.

  MaxNibble = High(TQwordNibbleIndex)

  

Maximum value for a nibble.

  MinNibble = Low(TQwordNibbleIndex)

  

Minimum value for a nibble.

  MaxByte = High(TQwordByteIndex)

  

Maximum value for a byte.

  MinByte = Low(TQwordByteIndex)

  

Minimum value for a byte.

  MaxWord = High(TQwordWordIndex)

  

Maximum value for a word.

  MinWord = Low(TQwordWordIndex)

  

Minimum value for a word.

  MaxDword = High(TQwordDwordIndex)

  

Maximum value for a dword.

  MinDword = Low(TQwordDwordIndex)

  

Minimum value for a dword.

public

  class function Parse();

  

Convert from a string.

  class function Size;

  

Size, in bytes, of the QWord value.

  class function ToString();

  

Convert the value to string.

  class function TryParse();

  

Try to convert a string to a QWord, report success or failure.

  function ToBoolean;

  

Convert to a boolean value.

  function ToDouble;

  

Convert to a double-sized floating point value.

  function ToExtended;

  

Convert to an extended-sized floating point value.

  function ToBinString;

  

Convert to a binary string representation.

  function ToHexString();

  

Convert to a hexadecimal string representation.

  function ToSingle;

  

Convert to an single-sized floating point value.

  function SetBit();

  

Set bit to 1.

  function ClearBit();

  

Set bit to 0.

  function ToggleBit();

  

Invert bit.

  function TestBit();

  

Check bit.

  procedure Clear;

  

Set value to 0.

  function HighestSetBitPos;

  

Return the position of the leftmost bit set.

  function LowestSetBitPos;

  

Return the position of the rightmost bit set.

  function SetBitsCount;

  

Count number of bits set.

  property Bits []: Boolean; [rw]

  

Read or write a bit.

  property Nibbles []: nibble; [rw]

  

Read or write a nibble.

  property Bytes []: Byte; [rw]

  

Read or write a byte.

  property Words []: Word; [rw]

  

Read or write a word.

  property DWords []: DWord; [rw]

  

Read or write a dword.

end;

Inheritance

TQWordHelper

  

Helper for a QWord-typed ordinal value.

Description

TQWordHelper contains some auxiliary routines for a QWord-typed ordinal value. It consists mainly of conversion routines to and from other types.

See also

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.

TByteHelper

  

Helper for a byte-typed ordinal value.

TNativeIntHelper

  

Helper for a NativeInt-typed ordinal value.

TNativeUIntHelper

  

Helper for a NativeUInt-typed ordinal value.


Documentation generated on: Oct 02 2024