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< string > Struct Template Reference

Used to get and push strings to and from the stack (string is usually std::string) More...

#include <sqratTypes.h>

Public Member Functions

 Var (HSQUIRRELVM vm, SQInteger idx)
 

Static Public Member Functions

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

Public Attributes

string value
 The actual value of get operations.
 

Detailed Description

template<>
struct Sqrat::Var< string >

Used to get and push strings to and from the stack (string is usually std::string)

Constructor & Destructor Documentation

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

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

Parameters
vmTarget VM
idxIndex trying to be read

Member Function Documentation

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

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