TResourceTreeNode class
Abstract class representing a resource tree node.
Declaration
TResourceTreeNode = classDescends 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
Parent | protected | |
Desc | public | The description of the node |
NamedCount | public | The number of named sub nodes of the node |
NamedEntries | public | Indexed array of named sub nodes of the node |
IDCount | public | The number of ID sub nodes of the node |
IDEntries | public | Indexed array of ID sub nodes of the node |
NameRVA | public | To be used by readers and writers |
SubDirRVA | public | To be used by readers and writers |
DataRVA | public | To be used by readers and writers |
Data | public | The resource contained in this node |
Methods
GetNamedCount | protected | |
GetNamedEntry | protected | |
GetIDCount | protected | |
GetIDEntry | protected | |
GetData | protected | |
InternalFind | protected | |
Create | protected | |
Destroy | public | Destroys the object. |
Add | public | Adds a new resource to the tree |
CreateSubNode | public | Creates a subnode |
CreateResource | public | Creates a new resource |
Clear | public | Destroys all sub nodes |
Remove | public | Removes a resource from the tree |
Find | public | Searches for a resource |
FindFreeID | public | Find a free ID to be used as a resource name |
IsLeaf | public | Reports whether the node is a leaf node. |
Fields
fParent | protected | |
fNamedEntries | protected | |
fIDEntries | protected | |
fSubDirRVA | protected | |
fDataRVA | protected | |
fNameRva | protected | |
fDesc | protected |
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
