Sign in Join
FPDoc Onlineexperiment

TNodePool class

In unit Laz2_DOM

Provides custom memory management when DOM Nodes are created.

Declaration

pascal
TNodePool = class(TObject)

Inheritance

  1. TNodePool
  2. TObject

Description

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.

See also

Methods

CreatepublicConstructor for the class instance.
DestroypublicDestructor for the class instance.
AllocNodepublicCreates a new DOM node instance and stores it in the node pool.
FreeNodepublicFrees the specified DOM node and removes it from the node pool.

Inherited

From TObject (40)

AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.