sqrat  0.9
 All Classes Functions Variables Enumerations Enumerator Pages
Public Member Functions | List of all members
Sqrat::RootTable Class Reference

#include <sqratTable.h>

Inheritance diagram for Sqrat::RootTable:
Sqrat::TableBase Sqrat::Object

Public Member Functions

 RootTable (HSQUIRRELVM v=DefaultVM::Get())
- Public Member Functions inherited from Sqrat::TableBase
 TableBase (HSQUIRRELVM v=DefaultVM::Get())
 TableBase (const Object &obj)
 TableBase (HSQOBJECT o, HSQUIRRELVM v=DefaultVM::Get())
void Bind (const SQChar *name, Object &obj)
TableBaseSquirrelFunc (const SQChar *name, SQFUNCTION func)
template<class V >
TableBaseSetValue (const SQChar *name, const V &val)
template<class V >
TableBaseSetValue (const SQInteger index, const V &val)
template<class V >
TableBaseSetInstance (const SQChar *name, V *val)
template<class V >
TableBaseSetInstance (const SQInteger index, V *val)
template<class F >
TableBaseFunc (const SQChar *name, F method)
template<class F >
TableBaseOverload (const SQChar *name, F method)
template<typename T >
SharedPtr< T > GetValue (const SQChar *name)
template<typename T >
SharedPtr< T > GetValue (int index)
Function GetFunction (const SQChar *name)
Function GetFunction (const SQInteger index)
- Public Member Functions inherited from Sqrat::Object
 Object ()
 Object (const Object &so)
 Object (HSQOBJECT o, HSQUIRRELVM v=DefaultVM::Get())
template<class T >
 Object (T *instance, HSQUIRRELVM v=DefaultVM::Get())
virtual ~Object ()
Objectoperator= (const Object &so)
SQObjectType GetType () const
bool IsNull () const
virtual HSQOBJECT GetObject () const
virtual HSQOBJECT & GetObject ()
 operator HSQOBJECT & ()
void Release ()
Object GetSlot (const SQChar *slot) const
Object GetSlot (SQInteger index) const
template<class T >
Cast () const
template<class T >
Object operator[] (T slot)
SQInteger GetSize () const
bool Next (iterator &iter) const

Detailed Description

Table that is a reference to the Squirrel root table for a given VM The Squirrel root table is usually where all globals are stored by the Squirrel language.

Constructor & Destructor Documentation

Sqrat::RootTable::RootTable ( HSQUIRRELVM  v = DefaultVM::Get())

Constructs a RootTable object to represent the given VM's root table

vVM to get the RootTable for

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