[Overview][Classes][Procedures and functions][Index] Reference for unit 'Laz2_XMLCfg' (#lazutils)

TXMLConfig.InvalidateCacheTilEnd

Removes DOM nodes from the internal cache starting at the specified ordinal position.

Declaration

Source position: laz2_xmlcfg.pas line 92

protected procedure TXMLConfig.InvalidateCacheTilEnd(

  StartIndex: Integer

);

Arguments

StartIndex

  

Initial position in the cache affected in the method.

Description

InvalidateCacheTilEnd iterates over the TNodeCache items in PathNodeCache stating at the position in StartIndex, and sets the node references to Nil to invalidate the DOM node in the cache.

InvalidateCacheTilEnd is used in the implementation of the InvalidatePathCache, SetPathNodeCache, and FindChildNode methods.

See also

TXMLConfig.SetPathNodeCache

  

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

TXMLConfig.InvalidatePathCache

  

Removes cached DOM nodes for paths in the XML configuration file.

TXMLConfig.FindChildNode

  

Finds (and optionally caches) a child node starting at the specified index position using the specified XPath node name and position.

TXmlConfig.TNodeCache

  

Advanced record type used to implement an array-based TDomNode cache.


Version 4.0 Generated 2025-05-03 Home