The Conroy & Conroy Subroutine Library (2021.3 edition)

TCOM_Generic_Method
What: class TCommon_COM_Interface
File: _GenVal
Layer: 0
Platforms: C++, Pascal (D2)

This is the abstract base class for representing composite data types. All of the methods are stdcall.

C_Order
bool C_Order()
function C_Order : boolean
Returns true if the method uses the C calling convention.

Compile_Time
bool Compile_Time()
function Compile_Time : boolean
Returns true if the routine can be evaluated at compile-time.

Execute
TGeneric_Value* Execute( TGeneric_Value* Parameters )
function Execute( Parameters : TGeneric_Value ) : TGeneric_Value
Execute the method.

Is_Abstract
bool Is_Abstract()
function Is_Abstract : boolean
Returns true if the method is abstract (pure virtual).

Is_Constructor
bool Is_Constructor()
function Is_Constructor : boolean
Return true if this method is a constructor.

Is_Destructor
bool Is_Destructor()
function Is_Destructor : boolean
Returns true if this method is a destructor.

Is_Virtual
bool Is_Virtual()
function Is_Virtual : boolean
Returns true if this method is virtual.

Standard
bool Standard()
function Standard : boolean
Returns true if the method is standard (stack) calling convention.

Static
bool Static()
function Static : boolean
Returns true if this is a static method.

Count
int32 Count()
function Count : longint
Returns number of parameters (run-time).

Max_Count
int32 Max_Count()
function Max_Count : longint
Returns maximum potential number of parameters.

Method_Class
TMethod_Class Method_Class()
function Method_Class : TMethod_Class
Returns true if the method uses the C calling convention.

Parameter
TGeneric_Value* Parameter( int Index )
function Parameter( Index : integer ) : TGeneric_Value
Returns parameter for specified index.

Target
bool Target()
function Target : boolean
Returns true if a target function.