TInterfacedPersistent
[Properties (by Name)][Methods (by Name)][Events (by Name)]
TPersistent descendant which implements the IInterface interface
Declaration
Source position: classesh.inc line 455
Type
TInterfacedPersistent = class (TPersistent, IInterface)
private
FOwnerInterface : IInterface;
protected
function _AddRef : LongInt;
function _Release : LongInt;
public
function QueryInterface(const IID: TGuid; out Obj) : HRESULT; Virtual;
procedure AfterConstruction; Override;
end
;
Description
TInterfacedPersistent is a direct descendant of TPersistent which implements the #rtl.system.IInterface interface. In particular, it implements the QueryInterface as a public method.
Members
| Member | Type | Visibility | Description |
|---|---|---|---|
| AfterConstruction | Method | public | Overrides the standard AfterConstruction method. |
| FOwnerInterface | Field | private | |
| QueryInterface | Method | public | Implementation of IInterface.QueryInterface |
| _AddRef | Method | protected | |
| _Release | Method | protected |
Inheritance
| Class | Description |
|---|---|
| TInterfacedPersistent(IInterface) | TPersistent descendant which implements the IInterface interface |
See also
| Name | Description |
|---|---|
| IInterface | Basic interface for all COM based interfaces |
| IInterface | Basic interface for all COM based interfaces |