TadsObjectclass | systype.h[242] |
Superclass Tree | Subclass Tree | Global Objects | Property Summary | Method Summary | Property Details | Method Details |
intrinsic class
TadsObject : Object
TadsObject
Object
createClone
createInstance
createTransientInstance
getMethod
setMethod
setSuperclassList
Inherited from Object
:
getPropList
getPropParams
getSuperclassList
isClass
isTransient
ofKind
propDefined
propInherited
propType
valToSymbol
createClone ( ) | systype.h[260] |
Note that the clone is a "shallow" copy, which means that any objects it references are not themselves cloned.
createInstance (...) | systype.h[250] |
createTransientInstance (...) | systype.h[267] |
getMethod (prop) | systype.h[330] |
The returned function pointer can be called like an ordinary function, but such a call will have no 'self' value, so the disembodied method won't be able to refer to properties or methods of 'self'. The main use of this method is to get a method of one object to assign as a method of another object using setMethod().
setMethod (prop, func) | systype.h[341] |
The function can be an ordinary named function, or a method pointer retrieved from this object or from another object with getMethod(). Anonymous functions are NOT allowed here.
setSuperclassList (scList) | systype.h[317] |