TValue
Base class for an immutable object that stores a value of a certain
TType
.Inheritance
Level | Ancestor | Description |
---|---|---|
1 | TObject | Ultimate ancestor in a class hierarchy |
2 | TBaseObject | A base class for objects that can be used instead of TObject . |
3 | TReferenceCountedObject | Object that keeps track of the number of times it is referenced from other objects |
4 | TValue |
Source
Value.pas (26)
Description
An implementation of TValue
stores a value, like a number or a text, as an object
and allows object oriented features to be used with that value. Every instance of TValue
should be final and immutable in order to preserve true value semantics.
Methods
Scope | Visibility | Result | Name | Description |
---|---|---|---|---|
Global | public | Create() | ||
Global | public | Destroy() |