[Overview][Types][Classes][Procedures and functions][Index] | Reference for unit 'AvgLvlTree' (#lcl)

# TAvgLvlTreeNodeMemManager

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

TAvgLvlTreeNodeMemManager - memory manager for TAvgLvlTree nodes

## Declaration

Source position: avglvltree.pas line 111

`type TAvgLvlTreeNodeMemManager = class`
`public`
`procedure DisposeNode();` |  | DisposeNode - method for disposal of a node when it is no longer needed
`function NewNode;` |  | NewNode - returns a new node fo the structure
`property MinimumFreeNode: Integer; [rw]` |  | MinimumFreeNode the value of the smallest (or next) free node
`property MaximumFreeNodeRatio: Integer; [rw]` |  | MaximumFreeNodeRatio - the maximum allowable ratio of free nodes
`property Count: Integer; [r]` |  | Count - the running total of nodes
`procedure Clear;` |  | Clear - remove all the nodes and leave an empty structure
`constructor Create;` |  | Create - constructor for TAvgLvlTreeNodeMemManager: calls inherited Create then initialises the counters
`destructor Destroy; override;` |  | Destroy - destructor for memory manager: calls Clear then performs inherited Destroy
`end;`

## Inheritance

`TAvgLvlTreeNodeMemManager` |  | TAvgLvlTreeNodeMemManager - memory manager for TAvgLvlTree nodes
`TObject`

The latest version of this document can be found at lazarus-ccr.sourceforge.net.