[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'contnrs' (#fcl)

THTOwnedObjectNode

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

Node type for owned objects.

Declaration

Source position: contnrs.pp line 463

type THTOwnedObjectNode = class(THTObjectNode) end;

public

  destructor Destroy; override;

  

Destroys the node and the object.

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 14 2015