#include "kernel/system.h"
#include "kernel/object.h"
#include "kernel/kernelserver.h"
Functions | |
| static void | s_GetClassName (void *o, Cmd *cmd) |
| static void | s_GetClasses (void *o, Cmd *cmd) |
| static void | s_IsA (void *o, Cmd *cmd) |
| static void | s_IsInstanceOf (void *o, Cmd *cmd) |
| static void | s_GetCommands (void *o, Cmd *cmd) |
| static void | s_GetInstanceSize (void *o, Cmd *cmd) |
| void | s_InitObject_cmds (Class *cl) |
| static void s_GetClasses | ( | void * | o, | |
| Cmd * | cmd | |||
| ) | [static] |
Returns the list of classes which the object is an instance of.
| static void s_GetClassName | ( | void * | o, | |
| Cmd * | cmd | |||
| ) | [static] |
Returns name of class which the object is an instance of.
| static void s_GetCommands | ( | void * | o, | |
| Cmd * | cmd | |||
| ) | [static] |
Returns a list of all script command prototypes the object accepts.
| static void s_GetInstanceSize | ( | void * | o, | |
| Cmd * | cmd | |||
| ) | [static] |
Gets byte size of this object. This may or may not accurate, depending on whether the object uses external allocated memory, and if the object's class takes this into account.
| void s_InitObject_cmds | ( | Class * | cl | ) |
| static void s_IsA | ( | void * | o, | |
| Cmd * | cmd | |||
| ) | [static] |
Checkes whether the object is instantiated or derived from the class given by its name.
| static void s_IsInstanceOf | ( | void * | o, | |
| Cmd * | cmd | |||
| ) | [static] |
Checkes whether the object is an instance of the class given by its name.
1.5.3