System.SysUtils.TIntegerSet

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

type TIntegerSet = set;

C++

typedef System::Set<System::Int8, 0, 31> TIntegerSet;

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
set
typedef
public
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils System.SysUtils

Beschreibung

TIntegerSet behandelt eine Ganzzahl als eine Bitmenge.

Der Typ TIntegerSet ist eine Menge von 0 bis Bitgröße der Ganzzahl minus 1.

Wenn eine Ganzzahl 4 Byte (= 32 Bit) groß ist, dann ist die Menge 0 bis 31. TIntegerSet wird normalerweise dazu verwendet, eine Ganzzahl als eine Bitmenge zu behandeln. Dazu wird ein ganzzahliger Variablenwert einer TIntegerSet-Variable mithilfe der TIntegerSet-Typumwandlung zugewiesen.