System.Generics.Collections.TListHelper

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TListHelper = record

C++

struct DECLSPEC_DRECORD TListHelper
{
    template <typename T> friend class DELPHICLASS TList__1;
    template <typename T> friend class DELPHICLASS TStack__1;
    template <typename T> friend class DELPHICLASS TQueue__1;
private:
    typedef void __fastcall (*TInternalNotifyProc)(System::TObject* ASelf, const void *AItem, TCollectionNotification AAction);
    typedef int __fastcall (*TInternalCompareFunc)(System::TObject* ASelf, const void *ALeft, const void *ARight);
    __interface DELPHIINTERFACE TInternalEmptyFunc;
    typedef System::DelphiInterface<TInternalEmptyFunc> _di_TInternalEmptyFunc;
    __interface TInternalEmptyFunc  : public System::IInterface
    {
        virtual bool __fastcall Invoke(const void *Item) = 0 ;
    };
    typedef System::DynamicArray<System::Byte> *PBytes;
private:
    void *FItems;
    System::NativeInt FCount;
    void *FTypeInfo;
    System::TObject* FListObj;
    TInternalNotifyProc FNotify;
    TInternalCompareFunc FCompare;
    void * __fastcall GetElType();
    System::NativeInt __fastcall GetElSize();
    bool __fastcall CheckDeleteRange(System::NativeInt AIndex, System::NativeInt ACount);
    void __fastcall CheckItemRange(System::NativeInt AIndex);
    void __fastcall CheckInsertRange(System::NativeInt AIndex);
    System::NativeInt __fastcall DoIndexOfFwd1(const void *Value);
    System::NativeInt __fastcall DoIndexOfFwd2(const void *Value);
    System::NativeInt __fastcall DoIndexOfFwd4(const void *Value);
    System::NativeInt __fastcall DoIndexOfFwd8(const void *Value);
    System::NativeInt __fastcall DoIndexOfFwdN(const void *Value);
    System::NativeInt __fastcall DoIndexOfFwdMRef(const void *Value);
    System::NativeInt __fastcall DoIndexOfFwdString(const void *Value);
    System::NativeInt __fastcall DoIndexOfFwd1UsingComparer(const void *Value);
    System::NativeInt __fastcall DoIndexOfFwd2UsingComparer(const void *Value);
    System::NativeInt __fastcall DoIndexOfFwd4UsingComparer(const void *Value);
    System::NativeInt __fastcall DoIndexOfFwd8UsingComparer(const void *Value);
    System::NativeInt __fastcall DoIndexOfFwdMRefUsingComparer(const void *Value);
    System::NativeInt __fastcall DoIndexOfFwdStringUsingComparer(const void *Value);
    System::NativeInt __fastcall DoIndexOfRev1(const void *Value);
    System::NativeInt __fastcall DoIndexOfRev2(const void *Value);
    System::NativeInt __fastcall DoIndexOfRev4(const void *Value);
    System::NativeInt __fastcall DoIndexOfRev8(const void *Value);
    System::NativeInt __fastcall DoIndexOfRevN(const void *Value);
    System::NativeInt __fastcall DoIndexOfRevMRef(const void *Value);
    System::NativeInt __fastcall DoIndexOfRevString(const void *Value);
    System::NativeInt __fastcall DoIndexOfRev1UsingComparer(const void *Value);
    System::NativeInt __fastcall DoIndexOfRev2UsingComparer(const void *Value);
    System::NativeInt __fastcall DoIndexOfRev4UsingComparer(const void *Value);
    System::NativeInt __fastcall DoIndexOfRev8UsingComparer(const void *Value);
    System::NativeInt __fastcall DoIndexOfRevMRefUsingComparer(const void *Value);
    System::NativeInt __fastcall DoIndexOfRevStringUsingComparer(const void *Value);
    void __fastcall DoExtractItemFwd1(const void *Value, /* out */ void *Item);
    void __fastcall DoExtractItemFwd2(const void *Value, /* out */ void *Item);
    void __fastcall DoExtractItemFwd4(const void *Value, /* out */ void *Item);
    void __fastcall DoExtractItemFwd8(const void *Value, /* out */ void *Item);
    void __fastcall DoExtractItemFwdN(const void *Value, /* out */ void *Item);
    void __fastcall DoExtractItemFwdString(const void *Value, /* out */ void *Item);
    void __fastcall DoExtractItemFwdInterface(const void *Value, /* out */ void *Item);
    void __fastcall DoExtractItemFwdVariant(const void *Value, /* out */ void *Item);
    void __fastcall DoExtractItemFwdByteString(const void *Value, /* out */ void *Item);
    void __fastcall DoExtractItemFwdWideString(const void *Value, /* out */ void *Item);
    void __fastcall DoExtractItemFwdManaged(const void *Value, /* out */ void *Item);
    void __fastcall DoExtractItemFwdWeak(const void *Value, /* out */ void *Item);
    void __fastcall DoExtractItemRev1(const void *Value, /* out */ void *Item);
    void __fastcall DoExtractItemRev2(const void *Value, /* out */ void *Item);
    void __fastcall DoExtractItemRev4(const void *Value, /* out */ void *Item);
    void __fastcall DoExtractItemRev8(const void *Value, /* out */ void *Item);
    void __fastcall DoExtractItemRevN(const void *Value, /* out */ void *Item);
    void __fastcall DoExtractItemRevString(const void *Value, /* out */ void *Item);
    void __fastcall DoExtractItemRevInterface(const void *Value, /* out */ void *Item);
    void __fastcall DoExtractItemRevVariant(const void *Value, /* out */ void *Item);
    void __fastcall DoExtractItemRevByteString(const void *Value, /* out */ void *Item);
    void __fastcall DoExtractItemRevWideString(const void *Value, /* out */ void *Item);
    void __fastcall DoExtractItemRevManaged(const void *Value, /* out */ void *Item);
    void __fastcall DoExtractItemRevWeak(const void *Value, /* out */ void *Item);
    void __fastcall DoExchangeStringInline(System::NativeInt Index1, System::NativeInt Index2);
    void __fastcall DoExchangeInterfaceInline(System::NativeInt Index1, System::NativeInt Index2);
    void __fastcall DoExchangeVariantInline(System::NativeInt Index1, System::NativeInt Index2);
    void __fastcall DoExchangeDynArrayInline(System::NativeInt Index1, System::NativeInt Index2);
    void __fastcall DoExchangeByteStringInline(System::NativeInt Index1, System::NativeInt Index2);
    void __fastcall DoExchangeWideStringInline(System::NativeInt Index1, System::NativeInt Index2);
    void __fastcall DoExchangeString(System::NativeInt Index1, System::NativeInt Index2);
    void __fastcall DoExchangeInterface(System::NativeInt Index1, System::NativeInt Index2);
    void __fastcall DoExchangeVariant(System::NativeInt Index1, System::NativeInt Index2);
    void __fastcall DoExchangeDynArray(System::NativeInt Index1, System::NativeInt Index2);
    void __fastcall DoExchangeByteString(System::NativeInt Index1, System::NativeInt Index2);
    void __fastcall DoExchangeWideString(System::NativeInt Index1, System::NativeInt Index2);
    System::NativeInt __fastcall DoRemoveFwd1(const void *Value);
    System::NativeInt __fastcall DoRemoveFwd2(const void *Value);
    System::NativeInt __fastcall DoRemoveFwd4(const void *Value);
    System::NativeInt __fastcall DoRemoveFwd8(const void *Value);
    System::NativeInt __fastcall DoRemoveFwdN(const void *Value);
    System::NativeInt __fastcall DoRemoveFwdMRef(const void *Value);
    System::NativeInt __fastcall DoRemoveFwdString(const void *Value);
    System::NativeInt __fastcall DoRemoveFwdManaged(const void *Value);
    System::NativeInt __fastcall DoRemoveFwdWeak(const void *Value);
    System::NativeInt __fastcall DoRemoveRev1(const void *Value);
    System::NativeInt __fastcall DoRemoveRev2(const void *Value);
    System::NativeInt __fastcall DoRemoveRev4(const void *Value);
    System::NativeInt __fastcall DoRemoveRev8(const void *Value);
    System::NativeInt __fastcall DoRemoveRevN(const void *Value);
    System::NativeInt __fastcall DoRemoveRevMRef(const void *Value);
    System::NativeInt __fastcall DoRemoveRevString(const void *Value);
    System::NativeInt __fastcall DoRemoveRevManaged(const void *Value);
    System::NativeInt __fastcall DoRemoveRevWeak(const void *Value);
    void __fastcall SetItem1(const void *Value, System::NativeInt AIndex);
    void __fastcall SetItem2(const void *Value, System::NativeInt AIndex);
    void __fastcall SetItem4(const void *Value, System::NativeInt AIndex);
    void __fastcall SetItem8(const void *Value, System::NativeInt AIndex);
    void __fastcall SetItemManaged(const void *Value, System::NativeInt AIndex);
    void __fastcall SetItemN(const void *Value, System::NativeInt AIndex);
    void __fastcall DoInsertByteString(System::NativeInt AIndex, const void *Value);
    void __fastcall DoSetItemByteString(const void *Value, System::NativeInt AIndex);
    System::NativeInt __fastcall DoAddByteString(const void *Value);
    void __fastcall DoInsertWideString(System::NativeInt AIndex, const void *Value);
    void __fastcall DoSetItemWideString(const void *Value, System::NativeInt AIndex);
    System::NativeInt __fastcall DoAddWideString(const void *Value);
    void __fastcall DoInsertInterface(System::NativeInt AIndex, const void *Value);
    void __fastcall DoSetItemInterface(const void *Value, System::NativeInt AIndex);
    void __fastcall DoInsertString(System::NativeInt AIndex, const void *Value);
    void __fastcall DoSetItemString(const void *Value, System::NativeInt AIndex);
    void __fastcall DoInsertDynArray(System::NativeInt AIndex, const void *Value);
    void __fastcall DoSetItemDynArray(const void *Value, System::NativeInt AIndex);
    void __fastcall SetItemVariant(const void *Value, System::NativeInt AIndex);
    void __fastcall SetItemMRef(const void *Value, System::NativeInt AIndex, System::TTypeKind TypeKind);
    System::NativeInt __fastcall DoAddInterface(const void *Value);
    System::NativeInt __fastcall DoAddString(const void *Value);
    System::NativeInt __fastcall DoAddDynArray(const void *Value);
    void __fastcall DoReverseMRef(System::TTypeKind Kind);
    void __fastcall DoReverseString();
    void __fastcall DoReverseInterface();
    void __fastcall DoReverseVariant();
    void __fastcall DoReverseDynArray();
    void __fastcall DoReverseByteString();
    void __fastcall DoReverseWideString();
    System::NativeInt __fastcall InternalAdd1(const void *Value);
    System::NativeInt __fastcall InternalAdd2(const void *Value);
    System::NativeInt __fastcall InternalAdd4(const void *Value);
    System::NativeInt __fastcall InternalAdd8(const void *Value);
    System::NativeInt __fastcall InternalAddN(const void *Value);
    System::NativeInt __fastcall InternalAddVariant(const void *Value);
    System::NativeInt __fastcall InternalAddMRef(const void *Value, System::TTypeKind TypeKind);
    System::NativeInt __fastcall InternalAddManaged(const void *Value);
    void __fastcall InternalGrow(System::NativeInt ANewCount);
    void __fastcall InternalGrowCheck(System::NativeInt ANewCount);
    void __fastcall InternalDeleteRange1(System::NativeInt AIndex, System::NativeInt ACount);
    void __fastcall InternalDeleteRange2(System::NativeInt AIndex, System::NativeInt ACount);
    void __fastcall InternalDeleteRange4(System::NativeInt AIndex, System::NativeInt ACount);
    void __fastcall InternalDeleteRange8(System::NativeInt AIndex, System::NativeInt ACount);
    void __fastcall InternalDeleteRangeN(System::NativeInt AIndex, System::NativeInt ACount);
    void __fastcall InternalDeleteRangeMRef(System::NativeInt AIndex, System::NativeInt ACount);
    void __fastcall InternalDeleteRangeManaged(System::NativeInt AIndex, System::NativeInt ACount);
    void __fastcall InternalDeleteRangeWeak(System::NativeInt AIndex, System::NativeInt ACount);
    void __fastcall InternalDoDelete1(System::NativeInt AIndex, TCollectionNotification Action);
    void __fastcall InternalDoDelete2(System::NativeInt AIndex, TCollectionNotification Action);
    void __fastcall InternalDoDelete4(System::NativeInt AIndex, TCollectionNotification Action);
    void __fastcall InternalDoDelete8(System::NativeInt AIndex, TCollectionNotification Action);
    void __fastcall InternalDoDeleteN(System::NativeInt AIndex, TCollectionNotification Action);
    void __fastcall InternalDoDeleteMRef(System::NativeInt AIndex, TCollectionNotification Action);
    void __fastcall InternalDoDeleteManaged(System::NativeInt AIndex, TCollectionNotification Action);
    void __fastcall InternalDoDeleteWeak(System::NativeInt AIndex, TCollectionNotification Action);
    void __fastcall InternalSetCapacity(System::NativeInt Value);
    void __fastcall InternalSetCount1(System::NativeInt Value);
    void __fastcall InternalSetCount2(System::NativeInt Value);
    void __fastcall InternalSetCount4(System::NativeInt Value);
    void __fastcall InternalSetCount8(System::NativeInt Value);
    void __fastcall InternalSetCountN(System::NativeInt Value);
    void __fastcall InternalSetCountMRef(System::NativeInt Value);
    void __fastcall InternalSetCountManaged(System::NativeInt Value);
    void __fastcall InternalSetCountWeak(System::NativeInt Value);
    void __fastcall InternalClear1();
    void __fastcall InternalClear2();
    void __fastcall InternalClear4();
    void __fastcall InternalClear8();
    void __fastcall InternalClearN();
    void __fastcall InternalClearMRef();
    void __fastcall InternalClearManaged();
    void __fastcall InternalClearWeak();
    void __fastcall InternalInsert1(System::NativeInt AIndex, const void *Value);
    void __fastcall InternalInsert2(System::NativeInt AIndex, const void *Value);
    void __fastcall InternalInsert4(System::NativeInt AIndex, const void *Value);
    void __fastcall InternalInsert8(System::NativeInt AIndex, const void *Value);
    void __fastcall InternalInsertN(System::NativeInt AIndex, const void *Value);
    void __fastcall InternalInsertVariant(System::NativeInt AIndex, const void *Value);
    void __fastcall InternalInsertMRef(System::NativeInt AIndex, const void *Value, System::TTypeKind TypeKind);
    void __fastcall InternalInsertManaged(System::NativeInt AIndex, const void *Value);
    void __fastcall InternalInsertWeak(System::NativeInt AIndex, const void *Value);
    void __fastcall InternalInsertRange1(System::NativeInt AIndex, void * Values, System::NativeInt ACount);
    void __fastcall InternalInsertRange2(System::NativeInt AIndex, void * Values, System::NativeInt ACount);
    void __fastcall InternalInsertRange4(System::NativeInt AIndex, void * Values, System::NativeInt ACount);
    void __fastcall InternalInsertRange8(System::NativeInt AIndex, void * Values, System::NativeInt ACount);
    void __fastcall InternalInsertRangeN(System::NativeInt AIndex, void * Values, System::NativeInt ACount);
    void __fastcall InternalInsertRangeManaged(System::NativeInt AIndex, void * Values, System::NativeInt ACount);
    void __fastcall InternalInsertRangeWeak(System::NativeInt AIndex, void * Values, System::NativeInt ACount);
    System::NativeInt __fastcall InternalIndexOf1(const void *Value, System::Byte Direction);
    System::NativeInt __fastcall InternalIndexOf2(const void *Value, System::Byte Direction);
    System::NativeInt __fastcall InternalIndexOf4(const void *Value, System::Byte Direction);
    System::NativeInt __fastcall InternalIndexOf8(const void *Value, System::Byte Direction);
    System::NativeInt __fastcall InternalIndexOfN(const void *Value, System::Byte Direction);
    System::NativeInt __fastcall InternalIndexOfMRef(const void *Value, System::Byte Direction);
    System::NativeInt __fastcall InternalIndexOfString(const void *Value, System::Byte Direction);
    void __fastcall InternalExtractItem1(const void *Value, /* out */ void *Item, System::Byte Direction);
    void __fastcall InternalExtractItem2(const void *Value, /* out */ void *Item, System::Byte Direction);
    void __fastcall InternalExtractItem4(const void *Value, /* out */ void *Item, System::Byte Direction);
    void __fastcall InternalExtractItem8(const void *Value, /* out */ void *Item, System::Byte Direction);
    void __fastcall InternalExtractItemN(const void *Value, /* out */ void *Item, System::Byte Direction);
    void __fastcall InternalExtractItemMRef(const void *Value, System::TTypeKind Kind, /* out */ void *Item, System::Byte Direction);
    void __fastcall InternalExtractItemVariant(const void *Value, /* out */ void *Item, System::Byte Direction);
    void __fastcall InternalExtractItemManaged(const void *Value, /* out */ void *Item, System::Byte Direction);
    void __fastcall InternalExtractItemWeak(const void *Value, /* out */ void *Item, System::Byte Direction);
    void __fastcall InternalExchange1(System::NativeInt Index1, System::NativeInt Index2);
    void __fastcall InternalExchange2(System::NativeInt Index1, System::NativeInt Index2);
    void __fastcall InternalExchange4(System::NativeInt Index1, System::NativeInt Index2);
    void __fastcall InternalExchange8(System::NativeInt Index1, System::NativeInt Index2);
    void __fastcall InternalExchangeN(System::NativeInt Index1, System::NativeInt Index2);
    void __fastcall InternalExchangeMRef(System::NativeInt Index1, System::NativeInt Index2, System::TTypeKind Kind);
    void __fastcall InternalExchangeManaged(System::NativeInt Index1, System::NativeInt Index2);
    void __fastcall InternalMove1(System::NativeInt CurIndex, System::NativeInt NewIndex);
    void __fastcall InternalMove2(System::NativeInt CurIndex, System::NativeInt NewIndex);
    void __fastcall InternalMove4(System::NativeInt CurIndex, System::NativeInt NewIndex);
    void __fastcall InternalMove8(System::NativeInt CurIndex, System::NativeInt NewIndex);
    void __fastcall InternalMoveN(System::NativeInt CurIndex, System::NativeInt NewIndex);
    void __fastcall InternalMoveMRef(System::NativeInt CurIndex, System::NativeInt NewIndex);
    void __fastcall InternalMoveManaged(System::NativeInt CurIndex, System::NativeInt NewIndex);
    void __fastcall InternalPackInline(const _di_TInternalEmptyFunc IsEmpty);
    void __fastcall InternalPack1(const _di_TInternalEmptyFunc IsEmpty);
    void __fastcall InternalPack2(const _di_TInternalEmptyFunc IsEmpty);
    void __fastcall InternalPack4(const _di_TInternalEmptyFunc IsEmpty);
    void __fastcall InternalPack8(const _di_TInternalEmptyFunc IsEmpty);
    void __fastcall InternalPackN(const _di_TInternalEmptyFunc IsEmpty);
    void __fastcall InternalPackManaged(const _di_TInternalEmptyFunc IsEmpty);
    System::NativeInt __fastcall InternalRemove1(const void *Value, System::Byte Direction);
    System::NativeInt __fastcall InternalRemove2(const void *Value, System::Byte Direction);
    System::NativeInt __fastcall InternalRemove4(const void *Value, System::Byte Direction);
    System::NativeInt __fastcall InternalRemove8(const void *Value, System::Byte Direction);
    System::NativeInt __fastcall InternalRemoveN(const void *Value, System::Byte Direction);
    System::NativeInt __fastcall InternalRemoveMRef(const void *Value, System::Byte Direction);
    System::NativeInt __fastcall InternalRemoveString(const void *Value, System::Byte Direction);
    System::NativeInt __fastcall InternalRemoveManaged(const void *Value, System::Byte Direction);
    System::NativeInt __fastcall InternalRemoveWeak(const void *Value, System::Byte Direction);
    void __fastcall InternalReverse1();
    void __fastcall InternalReverse2();
    void __fastcall InternalReverse4();
    void __fastcall InternalReverse8();
    void __fastcall InternalReverseN();
    void __fastcall InternalReverseMRef(System::TTypeKind Kind);
    void __fastcall InternalReverseManaged();
    void __fastcall InternalToArray(void * &Dest);
    void __fastcall InternalToArrayManaged(void * &Dest);
    __property void * ElType = {read=GetElType};
    __property System::NativeInt ElSize = {read=GetElSize};
};

Properties

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

Description

Internal helper with non-generic methods to handle TList instances.

See Also