Sign in Join
FPDoc Onlineexperiment

TXMLConfig.SetPathNodeCache procedure

Member of TXMLConfigprotectedIn unit Laz2_XMLCfg

Ensures a DOM node is present in the internal cache for the class instance.

Declaration

pascal
procedure SetPathNodeCache(Index: Integer; aNode: TDOMNode; 
                          aNodeSearchName: string='')

Description

SetPathNodeCache is a procedure used to ensure that the DOM node with the specified position and name is present in the node cache for the class instance. SetPathNodeCache adjusts the length of the internal node cache when needed to accommodate a new DOM node. InvalidateCacheTilEnd is called to refresh the cache when the Node is not found starting at the specified position.

SetPathNodeCache is used in the implementation of the InternalFindNode method.

See also

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.