System.Generics.Collections.TStackHelper
Delphi
TStackHelper = record
private
FLH: TListHelper;
function GetFItems: PPointer; inline;
function GetElType: Pointer; inline;
function GetElSize: Integer; inline;
procedure CheckEmpty; inline;
procedure CheckGrow; inline;
procedure InternalGrow;
procedure InternalSetCapacity(Value: Integer);
procedure PopAdjust(const Value; Notification: TCollectionNotification); inline;
procedure InternalDoPopString(Notification: TCollectionNotification; Peek: Boolean; out Item);
procedure InternalDoPopInterface(Notification: TCollectionNotification; Peek: Boolean; out Item);
procedure InternalDoPopDynArray(Notification: TCollectionNotification; Peek: Boolean; out Item);
procedure InternalDoPopByteString(Notification: TCollectionNotification; Peek: Boolean; out Item);
{$IF not Defined(NEXTGEN)}
procedure InternalDoPopWideString(Notification: TCollectionNotification; Peek: Boolean; out Item);
{$ENDIF}
{$IF Defined(AUTOREFCOUNT)}
procedure InternalDoPopObject(Notification: TCollectionNotification; Peek: Boolean; out Item);
{$ENDIF}
procedure InternalDoPop1(Notification: TCollectionNotification; Peek: Boolean; out Item);
procedure InternalDoPop2(Notification: TCollectionNotification; Peek: Boolean; out Item);
procedure InternalDoPop4(Notification: TCollectionNotification; Peek: Boolean; out Item);
procedure InternalDoPop8(Notification: TCollectionNotification; Peek: Boolean; out Item);
procedure InternalDoPopN(Notification: TCollectionNotification; Peek: Boolean; out Item);
procedure InternalDoPopMRef(Notification: TCollectionNotification; Peek: Boolean; out Item; Kind: TTypeKind); inline;
procedure InternalDoPopManaged(Notification: TCollectionNotification; Peek: Boolean; out Item);
procedure InternalClearString;
procedure InternalClearInterface;
procedure InternalClearDynArray;
procedure InternalClearByteString;
{$IF not Defined(NEXTGEN)}
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 PushAdjust(const Value); inline;
procedure InternalPushString(const Value);
procedure InternalPushInterface(const Value);
procedure InternalPushDynArray(const Value);
procedure InternalPushByteString(const Value);
{$IF not Defined(NEXTGEN)}
procedure InternalPushWideString(const Value);
{$ENDIF}
{$IF Defined(AUTOREFCOUNT)}
procedure InternalPushObject(const Value);
{$ENDIF}
procedure InternalPush1(const Value);
procedure InternalPush2(const Value);
procedure InternalPush4(const Value);
procedure InternalPush8(const Value);
procedure InternalPushN(const Value);
procedure InternalPushMRef(const Value; Kind: TTypeKind); inline;
procedure InternalPushManaged(const Value);
property FItems: PPointer read GetFItems;
property ElType: Pointer read GetElType;
property ElSize: Integer read GetElSize;
end;
C++
struct DECLSPEC_DRECORD TStackHelper
{
private:
TListHelper FLH;
System::PPointer __fastcall GetFItems(void);
void * __fastcall GetElType(void);
int __fastcall GetElSize(void);
void __fastcall CheckEmpty(void);
void __fastcall CheckGrow(void);
void __fastcall InternalGrow(void);
void __fastcall InternalSetCapacity(int Value);
void __fastcall PopAdjust(const void *Value, TCollectionNotification Notification);
void __fastcall InternalDoPopString(TCollectionNotification Notification, bool Peek, /* out */ void *Item);
void __fastcall InternalDoPopInterface(TCollectionNotification Notification, bool Peek, /* out */ void *Item);
void __fastcall InternalDoPopDynArray(TCollectionNotification Notification, bool Peek, /* out */ void *Item);
void __fastcall InternalDoPopByteString(TCollectionNotification Notification, bool Peek, /* out */ void *Item);
void __fastcall InternalDoPopWideString(TCollectionNotification Notification, bool Peek, /* out */ void *Item);
void __fastcall InternalDoPop1(TCollectionNotification Notification, bool Peek, /* out */ void *Item);
void __fastcall InternalDoPop2(TCollectionNotification Notification, bool Peek, /* out */ void *Item);
void __fastcall InternalDoPop4(TCollectionNotification Notification, bool Peek, /* out */ void *Item);
void __fastcall InternalDoPop8(TCollectionNotification Notification, bool Peek, /* out */ void *Item);
void __fastcall InternalDoPopN(TCollectionNotification Notification, bool Peek, /* out */ void *Item);
void __fastcall InternalDoPopMRef(TCollectionNotification Notification, bool Peek, /* out */ void *Item, System::TTypeKind Kind);
void __fastcall InternalDoPopManaged(TCollectionNotification Notification, bool Peek, /* out */ void *Item);
void __fastcall InternalClearString(void);
void __fastcall InternalClearInterface(void);
void __fastcall InternalClearDynArray(void);
void __fastcall InternalClearByteString(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 PushAdjust(const void *Value);
void __fastcall InternalPushString(const void *Value);
void __fastcall InternalPushInterface(const void *Value);
void __fastcall InternalPushDynArray(const void *Value);
void __fastcall InternalPushByteString(const void *Value);
void __fastcall InternalPushWideString(const void *Value);
void __fastcall InternalPush1(const void *Value);
void __fastcall InternalPush2(const void *Value);
void __fastcall InternalPush4(const void *Value);
void __fastcall InternalPush8(const void *Value);
void __fastcall InternalPushN(const void *Value);
void __fastcall InternalPushMRef(const void *Value, System::TTypeKind Kind);
void __fastcall InternalPushManaged(const void *Value);
__property System::PPointer FItems = {read=GetFItems};
__property void * ElType = {read=GetElType};
__property int ElSize = {read=GetElSize};
};
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
record struct |
public | System.Generics.Collections.pas System.Generics.Collections.hpp |
System.Generics.Collections | System.Generics.Collections |
説明
TStack インスタンスを処理するための、非ジェネリック メソッドでの内部ヘルパ。