[Overview][Constants][Types][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Provides custom memory management when DOM Nodes are created.
Source position: laz2_dom.pas line 831
type TNodePool = class(TObject) |
||
public |
||
constructor Create(); |
|
Constructor for the class instance. |
destructor Destroy; override; |
|
Destructor for the class instance. |
function AllocNode(); |
|
Creates a new DOM node instance and stores it in the node pool. |
procedure FreeNode(); |
|
Frees the specified DOM node and removes it from the node pool. |
end; |
|
Provides custom memory management when DOM Nodes are created. |
|
| | ||
TObject |
TNodePool is a class used to provide custom memory management when DOM nodes are created in a DOM document. Each TNodePool instance manages objects with the same instance size (and may be a different class types). TDOMDocument provides an internal array of TNodePool instances that are maintained when DOM nodes are created in its Alloc method.
|
Specifies an array of TNodePool instances. |
|
|
Ensures the DOM node class type is allocated using the Node pool for the document. |
|
|
Implements the DOM Node interface. |
Version 3.2 | Generated 2024-02-25 | Home |