Sign in Join
FPDoc Onlineexperiment

TQWordHelper helper

In unit sysutils

Helper for a QWord-typed ordinal value.

Declaration

pascal
TQWordHelper = class

Descends from it: TQwordSysHelper

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

Properties

BitspublicRead or write a bit.
NibblespublicRead or write a nibble.
BytespublicRead or write a byte.
WordspublicRead or write a word.
DWordspublicRead or write a dword.

Methods

ParsepublicConvert from a string.
SizepublicSize, in bytes, of the QWord value.
ToStringpublicConvert the value to string.
TryParsepublicTry to convert a string to a QWord, report success or failure.
GetBitprotected
PutBitprotected
GetNibbleprotected
PutNibbleprotected
GetByteprotected
PutByteprotected
GetWordprotected
PutWordprotected
GetDwordprotected
PutDwordprotected
ToBooleanpublicConvert to a boolean value.
ToDoublepublicConvert to a double-sized floating point value.
ToExtendedpublicConvert to an extended-sized floating point value.
ToBinStringpublicConvert to a binary string representation.
ToHexStringpublicConvert to a hexadecimal string representation.
ToSinglepublicConvert to an single-sized floating point value.
SetBitpublicSet bit to 1.
ClearBitpublicSet bit to 0.
ToggleBitpublicInvert bit.
TestBitpublicCheck bit.
ClearpublicSet value to 0.
HighestSetBitPospublicReturn the position of the leftmost bit set.
LowestSetBitPospublicReturn the position of the rightmost bit set.
SetBitsCountpublicCount number of bits set.

Types and constants

MaxValueMaximum value for a QWord.
MinValueMinimum value for a QWord.
MaxBitMaximum value for a bit.
MinBitMinimum value for a bit.
MaxNibbleMaximum value for a nibble.
MinNibbleMinimum value for a nibble.
MaxByteMaximum value for a byte.
MinByteMinimum value for a byte.
MaxWordMaximum value for a word.
MinWordMinimum value for a word.
MaxDwordMaximum value for a dword.
MinDwordMinimum value for a dword.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.