TObject
What: class
File: _Common
Layer: 0
Platforms: C++, C#, Javascript, Pascal (All), PHP, Python
This abstract class serves as the base class of all non-COM classes used in the subroutine
library. It consists of the following methods:
Method: Attach()
This method increments the reference count for the object. This is only available
in C++ and Pascal since the other languages support inherent reference counting.
Method: Detach()
This method decrements the reference count for the object. This is only available
in C++ and Pascal since the other languages support inherent reference counting.
Method: Classname()
This method returns a string containing the name of the class. Each descendent class
should override this.
Method: Is_Class(string Name)
This method returns a boolean indicating if the passed name matches the class name,
or the name of any ancestor classes.
Method: Get_Memory_Type()
This method returns the memory type where the object was allocated. This is either
a TMemory_Type enumeration value or integer constant, depending on language. It returns
one of the following values:
MT_Code
MT_Data
MT_Heap
MT_Stack
MT_Unknown