Unit 'Contnrs' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#fcl]

THTOwnedObjectNode

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Node type for owned objects.

Declaration

Source position: contnrs.pp line 483

type THTOwnedObjectNode = class(THTObjectNode)

public

  destructor Destroy; override;

  

Destroys the node and the object.

end;

Inheritance

THTOwnedObjectNode

  

Node type for owned objects.

|

THTObjectNode

  

Node type for TFPObjectHashTable.

|

THTCustomNode

  

Single item in the hash table.

|

TObject

Description

THTOwnedObjectNode is used instead of THTObjectNode in case TFPObjectHashTable owns it's objects. When this object is destroyed, the associated data object is also destroyed.

See also

TFPObjectHashTable

  

Hash table for object instances.

THTObjectNode

  

Node type for TFPObjectHashTable.

TFPObjectHashTable.OwnsObjects

  

Does the hash table own the objects ?


Documentation generated on: Nov 22 2024