Class
Represents a runtime class
Operations
GetMethodNumber
Returns the number of methods associated with the class
method : public : GetMethodNumber() ~ Int
Return
Type | Description |
---|---|
Int | number of methods associated with the class |
GetMethods
Returns an array of associated methods
method : public : GetMethods() ~ Method[]
Return
Type | Description |
---|---|
Method | array of associated methods |
GetName
Returns the type name of the class
method : public : GetName() ~ String
Return
Type | Description |
---|---|
String | type name of the class |
Instance
Creates an instance of the given class. The class must have a zero-parameter constructor to support this operation.
function : Instance(name:System.String) ~ System.Base
Parameters
Name | Type | Description |
---|---|---|
name | String | class type name |
Return
Type | Description |
---|---|
Base | newly instantiated object instance |
IsLoaded
Checks rather the class has been loaded
method : public : IsLoaded() ~ Bool
Return
Type | Description |
---|---|
Bool | returns true if the class has been loaded, false otherwise |