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< const bool > Struct Template Reference

Used to get and push const 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

template<>
struct Sqrat::Var< const bool >

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

Constructor & Destructor Documentation

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

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

Parameters
vmTarget VM
idxIndex trying to be read

Member Function Documentation

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

Called by Sqrat::PushVar to put a bool 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: