Class TObjectList

Unit

Declaration

type TObjectList<T:class> = class(TList<T>)

Description

No description available, ancestor TList description follows
No description available, ancestor TCustomListWithPointers description follows
No description available, ancestor TCustomList description follows

More info: http://stackoverflow.com/questions/5232198/about-vectors-growth TODO: custom memory managers (as constraints) ˜approximation to golden ratio: n = n * 1.5 } {$DEFINE CUSTOM_LIST_CAPACITY_INC := Result * 2} // standard inc

Hierarchy

Overview

Fields

Private FObjectsOwner: Boolean;

Methods

Protected procedure Notify(constref AValue: T; ACollectionNotification: TCollectionNotification); override;
Public constructor Create(AOwnsObjects: Boolean = True); overload;
Public constructor Create(const AComparer: IComparer<T>; AOwnsObjects: Boolean = True); overload;
Public constructor Create(ACollection: TEnumerable<T>; AOwnsObjects: Boolean = True); overload;

Properties

Public property OwnsObjects: Boolean read FObjectsOwner write FObjectsOwner;

Description

Fields

Private FObjectsOwner: Boolean;
 

Methods

Protected procedure Notify(constref AValue: T; ACollectionNotification: TCollectionNotification); override;
 
Public constructor Create(AOwnsObjects: Boolean = True); overload;
 
Public constructor Create(const AComparer: IComparer<T>; AOwnsObjects: Boolean = True); overload;
 
Public constructor Create(ACollection: TEnumerable<T>; AOwnsObjects: Boolean = True); overload;
 

Properties

Public property OwnsObjects: Boolean read FObjectsOwner write FObjectsOwner;
 

Generated by PasDoc 0.15.0.