TFPHashObject class
Hash-list aware object.
Declaration
TFPHashObject = classDescription
TFPHashObject is a
TObject descendent which is aware
of the
TFPHashObjectList class. It has a name property and an
owning list: if the name is changed, it will reposition itself in the list
which owns it. It offers methods to change the owning list: the object will
correctly remove itself from the list which currently owns it, and insert
itself in the new list.See also
Properties
Name | public | Current name of the object. |
Hash | public | Hash value. |
OwnerList | public |
Methods
GetName | protected | |
GetHash | protected | |
CreateNotOwned | public | Create an instance not owned by any list. |
Create | public | Create a named instance, and insert in a hash list. |
ChangeOwner | public | Change the list owning the object. |
ChangeOwnerAndName | public | Simultaneously change the list owning the object and the name of the object. |
Rename | public | Rename the object. |
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
