#include <Object.h>
|
void * | vTable |
| Pointer to the class's virtual table.
|
Class Object
Inherits from Object
Serves as the base class for all other classes in the engine.
Definition at line 658 of file Object.h.
# constructor()
void Object::constructor |
( |
| ) |
|
Class' constructor.
Definition at line 200 of file Object.c.
# getCast()
Cast an object at runtime to a give class.
- Parameters
-
object | Object to cast |
targetClassGetClassMethod | pointer to the target class' identifier method |
baseClassGetClassMethod | pointer to the object's base class' identifier method |
- Returns
- Pointer to the object if the cast succeeds, NULL otherwhise.
Definition at line 27 of file Object.c.
# getVTable()
const void * Object::getVTable |
( |
| ) |
|
Retrieve the object's virtual table pointer
- Returns
- Pointer to the object's virtual table pointer
Definition at line 219 of file Object.c.
# mutateTo()
bool Object::mutateTo |
( |
const void * | targetClass | ) |
|
Converts the object into an instance of the target class if object's class is in the hierarchy of the target class.
- Parameters
-
targetClass | pointer to the target class' virtual table |
- Returns
- True if successful
Definition at line 226 of file Object.c.
# vTable
Pointer to the class's virtual table.
Definition at line 665 of file Object.h.
The documentation for this class was generated from the following files: