Skip to content

TAbstractResourceWriter.GetTree

Gets the internal resource tree of a TResources object

Declaration

Source position: resource.pp line 316

protected 
function TAbstractResourceWriter.GetTree(aResources: TResources)
                                         : TObject;

Description

This protected method can be used by descendents of TAbstractResourceWriter to obtain the internal resource tree used by a TResources object. The internal resource tree is an instance of TRootResTreeNode.

Some resource writers need to order resources with a tree structure before writing them to a file. Instead of doing this work themselves, they can use the already-ordered internal resource tree of the TResources object they must write.

See also

Name Description
TRootResTreeNode The root node in a resource tree