[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 453

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 ?

The latest version of this document can be found at lazarus-ccr.sourceforge.net.