The "TADS Object" intrinsic class. All objects that the program defines with the "class" or "object" statements descend from this class.
intrinsic class
TadsObject : Object
Superclass Tree (in declaration order)
TadsObject
Object
Subclass Tree
(none)
Global Objects
(none)
Summary of Properties
(none)
Summary of Methods
createClone
createInstance
createTransientInstance
setSuperclassList
Inherited from Object
:
getPropList
getPropParams
getSuperclassList
isClass
isTransient
ofKind
propDefined
propInherited
propType
valToSymbol
Properties
(none)
Methods
Create a clone of this object. This creates an exact copy, with the same property values, as the original. This does not call any constructors; it merely instantiates an exact copy of the original.
Note that the clone is a "shallow" copy, which means that any objects it references are not themselves cloned.
Create an instance of this object: in other words, create a new object whose superclass is this object. The arguments provided are passed to the new object's constructor. This method returns a reference to the new object.
Create a transient instance of this object. This works just like createInstance(), but creates a transient instance instead of an ordinary (persistent) instance.
Set the superclass list. scList is a list giving the new superclasses. The superclasses must all be TadsObject objects, with one exception: the list [TadsObject] may be passed to create an object based directly on TadsObject. No other intrinsic classes can be used in the list, and objects of other types cannot be used in the list.
TADS 3 Library Manual
Generated on 7/19/2007 from TADS version 3.0.15.1