The Conroy & Conroy Subroutine Library (2021.3 edition)

TSType_Information
What: class TObject
File: _GenVal
Layer: 0
Platforms: C++, C#, Javascript, Pascal (Delphi), PHP, Python

This is the abstract base class for representing composite data types.

Address
int32 Address()
function Address : longint
Returns 0 if undefined, type, or parameter.

Character_Information
TGeneric_Character* Character_Information()
function Character_Information : TGeneric_Character
Returns nil if not character/string.

Collection_Information
TGeneric_Collection* Collection_Information()
function Collection_Information : TGeneric_Collection
Returns nil if not a composite (eg array).

Composite_Information
TGeneric_Composite* Composite_Information()
function Composite_Information : TGeneric_Composite
Returns nil if not an object/record.

High_Range
TGeneric_Value* High_Range()
function High_Range : TGeneric_Value
Returns the high range of a range limited type.

Is_Collection
bool Is_Collection()
function Is_Collection : boolean
Returns true if the type is a collection.

Is_Composite
bool Is_Composite()
function Is_Composite : boolean
Returns true if the type is composite.

Low_Range
TGeneric_Value* Low_Range()
function Low_Range : TGeneric_Value
Returns the low range of a range limited type.

Memory_Type
TMemory_Type Memory_Type()
function Memory_Type : TMemory_Type
Returns the memory type.

Method
TGeneric_Method* Method()
function Method : TGeneric_Method
Returns nil if not a method/procedure.

Numeric_Information
TGeneric_Number* Numeric_Information()
function Numeric_Information : TGeneric_Number
Returns nil if not numeric.

_Property
TProperty_Information* _Property()
function _Property : TProperty_Information
Returns nil if not a property.

Parameter
TGeneric_Parameter* Parameter()
function Parameter : TGeneric_Parameter
Returns nil if not a parameter.

Range_Limited
bool Range_Limited()
function Range_Limited : boolean
Returns true if value is limited to a range of values. This is always true for scalars.

Value_Name
string Value_Name( int32 Value )
function Value_Name( Value : longint ) : string
Returns the name for given ordinal value. Returns null string if not a scalara or if Value is out of range.