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

Used to get and push bools to and from the stack. More...

#include <sqratTypes.h>

Public Member Functions

 Var (HSQUIRRELVM vm, SQInteger idx)

Static Public Member Functions

static void push (HSQUIRRELVM vm, const bool &value)

Public Attributes

bool value
 The actual value of get operations.

Detailed Description

struct Sqrat::Var< bool >

Used to get and push bools to and from the stack.

Constructor & Destructor Documentation

Sqrat::Var< bool >::Var ( HSQUIRRELVM  vm,
SQInteger  idx 

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

vmTarget VM
idxIndex trying to be read

Member Function Documentation

static void Sqrat::Var< bool >::push ( HSQUIRRELVM  vm,
const bool &  value 

Called by Sqrat::PushVar to put a bool on the stack

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

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