System.Generics.Collections.TQueueHelper

De Appmethod Libraries
Aller à : navigation, rechercher

Object Pascal

  TQueueHelper = record
  private
    FHead, FTail: Integer;
    FLH: TListHelper;
    procedure DynArraySetLength(Value: NativeInt); inline;
    function GetFItems: PPointer; inline;
    function GetElType: Pointer; inline;
    function GetElSize: Integer; inline;
    function GetNewCap: Integer; inline;
    procedure CheckEmpty; inline;
    procedure DequeueAdjust(Notification: TCollectionNotification; const Item); inline;
    procedure InternalDequeueString(Notification: TCollectionNotification; Peek: Boolean; out Item);
    procedure InternalDequeueInterface(Notification: TCollectionNotification; Peek: Boolean; out Item);
{$IF not Defined(NEXTGEN)}
    procedure InternalDequeueAnsiString(Notification: TCollectionNotification; Peek: Boolean; out Item);
    procedure InternalDequeueWideString(Notification: TCollectionNotification; Peek: Boolean; out Item);
{$ENDIF}
{$IF Defined(AUTOREFCOUNT)}
    procedure InternalDequeueObject(Notification: TCollectionNotification; Peek: Boolean; out Item);
{$ENDIF}
    procedure InternalDequeue1(Notification: TCollectionNotification; Peek: Boolean; out Item);
    procedure InternalDequeue2(Notification: TCollectionNotification; Peek: Boolean; out Item);
    procedure InternalDequeue4(Notification: TCollectionNotification; Peek: Boolean; out Item);
    procedure InternalDequeue8(Notification: TCollectionNotification; Peek: Boolean; out Item);
    procedure InternalDequeueN(Notification: TCollectionNotification; Peek: Boolean; out Item);
    procedure InternalDequeueMRef(Notification: TCollectionNotification; Peek: Boolean; out Item; Kind: TTypeKind); inline;
    procedure InternalDequeueManaged(Notification: TCollectionNotification; Peek: Boolean; out Item);
    procedure InternalClearString;
    procedure InternalClearInterface;
{$IF not Defined(NEXTGEN)}
    procedure InternalClearAnsiString;
    procedure InternalClearWideString;
{$ENDIF}
{$IF Defined(AUTOREFCOUNT)}
    procedure InternalClearObject;
{$ENDIF}
    procedure InternalClear1;
    procedure InternalClear2;
    procedure InternalClear4;
    procedure InternalClear8;
    procedure InternalClearN;
    procedure InternalClearMRef(Kind: TTypeKind); inline;
    procedure InternalClearManaged;
    procedure EnqueueAdjust(const Value); inline;
    procedure InternalEnqueueString(const Value);
    procedure InternalEnqueueInterface(const Value);
{$IF not Defined(NEXTGEN)}
    procedure InternalEnqueueAnsiString(const Value);
    procedure InternalEnqueueWideString(const Value);
{$ENDIF}
{$IF Defined(AUTOREFCOUNT)}
    procedure InternalEnqueueObject(const Value);
{$ENDIF}
    procedure InternalEnqueue1(const Value);
    procedure InternalEnqueue2(const Value);
    procedure InternalEnqueue4(const Value);
    procedure InternalEnqueue8(const Value);
    procedure InternalEnqueueN(const Value);
    procedure InternalEnqueueMRef(const Value; Kind: TTypeKind); inline;
    procedure InternalEnqueueManaged(const Value);
    procedure InternalGrow1;
    procedure InternalGrow2;
    procedure InternalGrow4;
    procedure InternalGrow8;
    procedure InternalGrowN;
    procedure InternalGrowMRef;
    procedure InternalGrowManaged;
    procedure InternalSetCapacityInline(Value: Integer; ElemSize: Integer); inline;
    procedure InternalSetCapacity1(Value: Integer);
    procedure InternalSetCapacity2(Value: Integer);
    procedure InternalSetCapacity4(Value: Integer);
    procedure InternalSetCapacity8(Value: Integer);
    procedure InternalSetCapacityN(Value: Integer);
    procedure InternalSetCapacityMRef(Value: Integer);
    procedure InternalSetCapacityManaged(Value: Integer);
    property FItems: PPointer read GetFItems;
    property ElType: Pointer read GetElType;
    property ElSize: Integer read GetElSize;
  end;

C++

struct DECLSPEC_DRECORD TQueueHelper
{
private:
    int FHead;
    int FTail;
    TListHelper FLH;
    void __fastcall DynArraySetLength(NativeInt Value);
    System::PPointer __fastcall GetFItems(void);
    void * __fastcall GetElType(void);
    int __fastcall GetElSize(void);
    int __fastcall GetNewCap(void);
    void __fastcall CheckEmpty(void);
    void __fastcall DequeueAdjust(TCollectionNotification Notification, const void *Item);
    void __fastcall InternalDequeueString(TCollectionNotification Notification, bool Peek, /* out */ void *Item);
    void __fastcall InternalDequeueInterface(TCollectionNotification Notification, bool Peek, /* out */ void *Item);
    void __fastcall InternalDequeueAnsiString(TCollectionNotification Notification, bool Peek, /* out */ void *Item);
    void __fastcall InternalDequeueWideString(TCollectionNotification Notification, bool Peek, /* out */ void *Item);
    void __fastcall InternalDequeue1(TCollectionNotification Notification, bool Peek, /* out */ void *Item);
    void __fastcall InternalDequeue2(TCollectionNotification Notification, bool Peek, /* out */ void *Item);
    void __fastcall InternalDequeue4(TCollectionNotification Notification, bool Peek, /* out */ void *Item);
    void __fastcall InternalDequeue8(TCollectionNotification Notification, bool Peek, /* out */ void *Item);
    void __fastcall InternalDequeueN(TCollectionNotification Notification, bool Peek, /* out */ void *Item);
    void __fastcall InternalDequeueMRef(TCollectionNotification Notification, bool Peek, /* out */ void *Item, System::TTypeKind Kind);
    void __fastcall InternalDequeueManaged(TCollectionNotification Notification, bool Peek, /* out */ void *Item);
    void __fastcall InternalClearString(void);
    void __fastcall InternalClearInterface(void);
    void __fastcall InternalClearAnsiString(void);
    void __fastcall InternalClearWideString(void);
    void __fastcall InternalClear1(void);
    void __fastcall InternalClear2(void);
    void __fastcall InternalClear4(void);
    void __fastcall InternalClear8(void);
    void __fastcall InternalClearN(void);
    void __fastcall InternalClearMRef(System::TTypeKind Kind);
    void __fastcall InternalClearManaged(void);
    void __fastcall EnqueueAdjust(const void *Value);
    void __fastcall InternalEnqueueString(const void *Value);
    void __fastcall InternalEnqueueInterface(const void *Value);
    void __fastcall InternalEnqueueAnsiString(const void *Value);
    void __fastcall InternalEnqueueWideString(const void *Value);
    void __fastcall InternalEnqueue1(const void *Value);
    void __fastcall InternalEnqueue2(const void *Value);
    void __fastcall InternalEnqueue4(const void *Value);
    void __fastcall InternalEnqueue8(const void *Value);
    void __fastcall InternalEnqueueN(const void *Value);
    void __fastcall InternalEnqueueMRef(const void *Value, System::TTypeKind Kind);
    void __fastcall InternalEnqueueManaged(const void *Value);
    void __fastcall InternalGrow1(void);
    void __fastcall InternalGrow2(void);
    void __fastcall InternalGrow4(void);
    void __fastcall InternalGrow8(void);
    void __fastcall InternalGrowN(void);
    void __fastcall InternalGrowMRef(void);
    void __fastcall InternalGrowManaged(void);
    void __fastcall InternalSetCapacityInline(int Value, int ElemSize);
    void __fastcall InternalSetCapacity1(int Value);
    void __fastcall InternalSetCapacity2(int Value);
    void __fastcall InternalSetCapacity4(int Value);
    void __fastcall InternalSetCapacity8(int Value);
    void __fastcall InternalSetCapacityN(int Value);
    void __fastcall InternalSetCapacityMRef(int Value);
    void __fastcall InternalSetCapacityManaged(int Value);
    __property System::PPointer FItems = {read=GetFItems};
    __property void * ElType = {read=GetElType};
    __property int ElSize = {read=GetElSize};
};

Propriétés

Type Visibilité  Source Unité  Parent
record
struct
public
System.Generics.Collections.pas
System.Generics.Collections.hpp
System.Generics.Collections System.Generics.Collections

Description

Embarcadero Technologies ne possède pas d'informations supplémentaires pour le moment. Veuillez nous aider à documenter cette rubrique en utilisant la page Discussion !