Skip to content

THTOwnedObjectNode

Node type for owned objects.

Declaration

Source position: contnrs.pp line 486

type

  THTOwnedObjectNode = class(THTObjectNode)
  public
    destructor Destroy;
  end;

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.

Methods

Member Visibility Description
Destroy public Destroys the node and the object.
See all Methods

See also

Name Description
TFPObjectHashTable Hash table for object instances.
THTObjectNode Node type for TFPObjectHashTable.
TFPObjectHashTable.OwnsObjects Does the hash table own the objects ?