sqrat  0.9
sqrat
 All Classes Functions Variables Enumerations Enumerator Pages
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Sqrat::Var< Object & > Struct Template Reference

Used to get and push Object instances to and from the stack as references (Object is always a reference) More...

#include <sqratObject.h>

Public Member Functions

 Var (HSQUIRRELVM vm, SQInteger idx)
 

Static Public Member Functions

static void push (HSQUIRRELVM vm, Object &value)
 

Public Attributes

Object value
 The actual value of get operations.
 

Detailed Description

template<>
struct Sqrat::Var< Object & >

Used to get and push Object instances to and from the stack as references (Object is always a reference)

Constructor & Destructor Documentation

Sqrat::Var< Object & >::Var ( HSQUIRRELVM  vm,
SQInteger  idx 
)
inline

Attempts to get the value off the stack at idx as an Object

Parameters
vmTarget VM
idxIndex trying to be read
Remarks
This function MUST have its Error handled if it occurred.

Member Function Documentation

static void Sqrat::Var< Object & >::push ( HSQUIRRELVM  vm,
Object value 
)
inlinestatic

Called by Sqrat::PushVarR to put an Object on the stack

Parameters
vmTarget VM
valueValue to push on to the VM's stack

The documentation for this struct was generated from the following file: