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< Table & > Struct Template Reference

Used to get and push Table instances to and from the stack as references (tables are always references in Squirrel) More...

#include <sqratTable.h>

Public Member Functions

 Var (HSQUIRRELVM vm, SQInteger idx)
 

Static Public Member Functions

static void push (HSQUIRRELVM vm, Table value)
 

Public Attributes

Table value
 The actual value of get operations.
 

Detailed Description

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

Used to get and push Table instances to and from the stack as references (tables are always references in Squirrel)

Constructor & Destructor Documentation

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

Attempts to get the value off the stack at idx as a Table

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< Table & >::push ( HSQUIRRELVM  vm,
Table  value 
)
inlinestatic

Called by Sqrat::PushVarR to put an Table 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: