#include <sqratTypes.h>
Public Member Functions | |
| Var (HSQUIRRELVM vm, SQInteger idx) | |
Static Public Member Functions | |
| static void | push (HSQUIRRELVM vm, const T &value) |
Public Attributes | |
| const T & | value |
| The actual value of get operations. | |
Used to get and push class instances to and from the stack as const references
| T | Type of instance (usually doesnt need to be defined explicitly) |
|
inline |
Attempts to get the value off the stack at idx as the given type
| vm | Target VM |
| idx | Index trying to be read |
|
inlinestatic |
Called by Sqrat::PushVar to put a class object on the stack
| vm | Target VM |
| value | Value to push on to the VM's stack |
1.8.6