IRISLIB database
SystemBase Class Reference

Base superclass. More...

Inheritance diagram for SystemBase:

Private Member Functions

 DispatchGetModified (_.Library.String Property)
 Is used to get the value of the modified flag for an unknown property.
 
 DispatchGetProperty (_.Library.String Property)
 Is used to get the value of an unknown property.
 
 DispatchMethod (_.Library.String Method, Args)
 Is used to implement an unknown method call. More...
 
 DispatchSetModified (_.Library.String Property, Val)
 Is used to set the value of the modified flag for an unknown property.
 
 DispatchSetMultidimProperty (_.Library.String Property, Val, Subs)
 Is used to set the value of an unknown multidimensional property.
 
 DispatchSetProperty (_.Library.String Property, Val)
 is used to set the value of an unknown property.
 
_.Library.Status SetModified (_.Library.Integer value)
 Setting the modified state of the object.
 

Static Private Member Functions

_.Library.Boolean ClassIsLatestVersion ()
 Return true if this instance is the latest version of this class, and false. More...
 
_.Library.String ClassName (_.Library.Boolean fullname)
 Returns the object's class name. More...
 
 DispatchClassMethod (_.Library.String Class, _.Library.String Method, Args)
 Is used to implement an unknown class method call.
 
_.Library.Integer Extends (_.Library.String isclass)
 Returns true (1) if this class is inherited either via primary or secondary inheritance from 'isclass'.
 
_.Library.String GetParameter (_.Library.String paramname)
 This method returns the value of a class parameter at runtime.
 
_.Library.Integer IsA (_.Library.String isclass)
 Returns true (1) if instances of this class are also instances of the isclass parameter. More...
 
_.Library.ObjectHandle New (_.Library.RawString initvalue)
 Creates a new instance of object in memory. More...
 
_.Library.String OriginalNamespace ()
 Return the namespace this oref was created in. More...
 
_.Library.String PackageName ()
 Returns the object's package name.
 

Detailed Description

Base superclass.

For internal use only, this is automatically added to all classes as a superclass.

Member Function Documentation

◆ ClassIsLatestVersion()

_.Library.Boolean ClassIsLatestVersion ( )
staticprivate

Return true if this instance is the latest version of this class, and false.

if the class has been recompiled so there is a newer version on disk

◆ ClassName()

_.Library.String ClassName ( _.Library.Boolean  fullname)
staticprivate

Returns the object's class name.

The fullname determines how the

class name is represented. If it is 1 then it returns the full class name including any package qualifier. If it is 0 (the default) then it returns the name of the class without the package, this is mainly for backward compatibility with the pre-package behaviour of ClassName.

◆ DispatchMethod()

DispatchMethod ( _.Library.String  Method,
  Args 
)
private

Is used to implement an unknown method call.

It is also used

to resolve an unknown multidimensional property reference (to get the value of a property) because that syntax is identical to a method call.

Reimplemented in IResultSet.

◆ IsA()

_.Library.Integer IsA ( _.Library.String  isclass)
staticprivate

Returns true (1) if instances of this class are also instances of the isclass parameter.

That is 'isclass' is a primary superclass of this object.

◆ New()

_.Library.ObjectHandle New ( _.Library.RawString  initvalue)
staticprivate

Creates a new instance of object in memory.

<METHOD>New</METHOD> creates an OREF value that refers

to the object instance, registers the OREF with the system along with its class name, and reserves system storage for the properties.

<METHOD>New</METHOD> initializes all the object's properties to their default values and calls the user-provided method, <METHOD>OnNew</METHOD>, if it is present. The optional arguments are passed on to the <METHOD>OnNew</METHOD> method. If the object is persistent, its OID is set to null string ("").

<METHOD>New</METHOD> returns an OREF value that refers to the new object instance or $$$NULLOREF if unable to create the object instance.

◆ OriginalNamespace()

_.Library.String OriginalNamespace ( )
staticprivate

Return the namespace this oref was created in.

This also returns the namespace this class was first referenced in if calling class methods.