Units
Class Hierarchy
Classes, Interfaces and Objects
Types
Variables
Constants
Functions and Procedures
Identifiers

Class TIFPSInterface

Unit

ifpscomp

Declaration

type TIFPSInterface = class(TObject)

Description

Interface type info

Methods

Overview

Public constructor Create(Owner: TIFPSPascalCompiler; InheritedFrom: TIFPSInterface; Guid: TGuid; const Name: string; aType: TIFPSType);
Public destructor Destroy; override;
Public function CastToType(IntoType: TIFPSType; var ProcNo: Cardinal): Boolean;
Public function Func_Call(Index: Cardinal; var ProcNo: Cardinal): Boolean;
Public function Func_Find(const Name: string; var Index: Cardinal): Boolean;
Public function IsCompatibleWith(aType: TIFPSType): Boolean;
Public procedure RegisterDummyMethod;
Public function RegisterMethod(const Declaration: string; const cc: TIFPSCallingConvention): Boolean;
Public function SetNil(var ProcNo: Cardinal): Boolean;

Description

Public constructor Create(Owner: TIFPSPascalCompiler; InheritedFrom: TIFPSInterface; Guid: TGuid; const Name: string; aType: TIFPSType);

 

Public destructor Destroy; override;

 

Public function CastToType(IntoType: TIFPSType; var ProcNo: Cardinal): Boolean;

Cast an interface to a different type

Public function Func_Call(Index: Cardinal; var ProcNo: Cardinal): Boolean;

Call a function

Public function Func_Find(const Name: string; var Index: Cardinal): Boolean;

Find a function

Public function IsCompatibleWith(aType: TIFPSType): Boolean;

Check if this interface is compatible with atype

Public procedure RegisterDummyMethod;

Register a method that cannot be called, but will hold an empty space This can be used for methods that cannot be registered (for example for functions that use pointer parameters).

Public function RegisterMethod(const Declaration: string; const cc: TIFPSCallingConvention): Boolean;

Register a method

Public function SetNil(var ProcNo: Cardinal): Boolean;

returns the procno for nilling an interface

Properties

Overview

Public property Guid: TGuid;
Public property InheritedFrom: TIFPSInterface;
Public property Name: string;
Public property NameHash: Longint;

Description

Public property Guid: TGuid;

The GUID for this interface

Public property InheritedFrom: TIFPSInterface;

This interface inherits from ...

Public property Name: string;

The name of this interface

Public property NameHash: Longint;

Hash of the name of this interface