Sign in Join
FPDoc Onlineexperiment

TResourceTreeNode class

In unit resourcetree

Abstract class representing a resource tree node.

Declaration

pascal
TResourceTreeNode = class

Descends from it: TRootResTreeNode

Description

This class represents a node in a resource tree.

An object of this class should never be directly instantiated. To create a node, call CreateSubNode method of an already existing node.

Properties

Parentprotected
DescpublicThe description of the node
NamedCountpublicThe number of named sub nodes of the node
NamedEntriespublicIndexed array of named sub nodes of the node
IDCountpublicThe number of ID sub nodes of the node
IDEntriespublicIndexed array of ID sub nodes of the node
NameRVApublicTo be used by readers and writers
SubDirRVApublicTo be used by readers and writers
DataRVApublicTo be used by readers and writers
DatapublicThe resource contained in this node

Methods

GetNamedCountprotected
GetNamedEntryprotected
GetIDCountprotected
GetIDEntryprotected
GetDataprotected
InternalFindprotected
Createprotected
DestroypublicDestroys the object.
AddpublicAdds a new resource to the tree
CreateSubNodepublicCreates a subnode
CreateResourcepublicCreates a new resource
ClearpublicDestroys all sub nodes
RemovepublicRemoves a resource from the tree
FindpublicSearches for a resource
FindFreeIDpublicFind a free ID to be used as a resource name
IsLeafpublicReports whether the node is a leaf node.

Fields

fParentprotected
fNamedEntriesprotected
fIDEntriesprotected
fSubDirRVAprotected
fDataRVAprotected
fNameRvaprotected
fDescprotected

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