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

Class TIFPSCompileTimeClass

Unit

ifpscomp

Declaration

type TIFPSCompileTimeClass = class

Description

Compiletime class

Methods

Overview

Public constructor Create(ClassName: string; aOwner: TIFPSPascalCompiler; aType: TIFPSType);
Public destructor Destroy; override;
Public function CastToType(IntoType: TIFPSType; var ProcNo: Cardinal): Boolean;
Public function ClassFunc_Call(Index: Cardinal; var ProcNo: Cardinal): Boolean;
Public function ClassFunc_Find(const Name: string; var Index: Cardinal): Boolean;
Public class function CreateC(FClass: TClass; aOwner: TIFPSPascalCompiler; aType: TIFPSType): TIFPSCompileTimeClass;
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 function Property_Find(const Name: string; var Index: Cardinal): Boolean;
Public function Property_Get(Index: Cardinal; var ProcNo: Cardinal): Boolean;
Public function Property_GetHeader(Index: Cardinal; Dest: TIFPSParametersDecl): Boolean;
Public function Property_Set(Index: Cardinal; var ProcNo: Cardinal): Boolean;
Public function RegisterMethod(const Decl: string): Boolean;
Public procedure RegisterProperty(const PropertyName, PropertyType: string; PropAC: TIFPSPropType);
Public procedure RegisterPublishedProperties;
Public function RegisterPublishedProperty(const Name: string): Boolean;
Public procedure SetDefaultPropery(const Name: string);
Public function SetNil(var ProcNo: Cardinal): Boolean;

Description

Public constructor Create(ClassName: string; aOwner: TIFPSPascalCompiler; aType: TIFPSType);

create an instance of this class without using the actual class

Public destructor Destroy; override;

 

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

 

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

 

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

 

Public class function CreateC(FClass: TClass; aOwner: TIFPSPascalCompiler; aType: TIFPSType): TIFPSCompileTimeClass;

create an instance of this class and use the actual class information

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 function Property_Find(const Name: string; var Index: Cardinal): Boolean;

 

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

 

Public function Property_GetHeader(Index: Cardinal; Dest: TIFPSParametersDecl): Boolean;

 

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

 

Public function RegisterMethod(const Decl: string): Boolean;

Register a method/constructor

Public procedure RegisterProperty(const PropertyName, PropertyType: string; PropAC: TIFPSPropType);

Register a property

Public procedure RegisterPublishedProperties;

Register all published properties

Public function RegisterPublishedProperty(const Name: string): Boolean;

Register a published property

Public procedure SetDefaultPropery(const Name: string);

Set the default (array) property, this function will raise an exception if the property doesn't exists or if it's not an array property

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

 

Properties

Overview

Public property aType: TIFPSType;
Public property ClassInheritsFrom: TIFPSCompileTimeClass;
Public property Count: Longint;
Public property IsAbstract: Boolean;
Public property Items[i: Longint]: TIFPSDelphiClassItem;

Description

Public property aType: TIFPSType;

 

Public property ClassInheritsFrom: TIFPSCompileTimeClass;

 

Public property Count: Longint;

 

Public property IsAbstract: Boolean;

 

Public property Items[i: Longint]: TIFPSDelphiClassItem;