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

#include <sqratTable.h>

Inheritance diagram for Sqrat::RegistryTable:
Sqrat::TableBase Sqrat::Object

Public Member Functions

 RegistryTable (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)
 
HSQUIRRELVM & GetVM ()
 
HSQUIRRELVM GetVM () const
 
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 registry table for a given VM The Squirrel registry table is where non-Squirrel code can store Squirrel objects without worrying about Squirrel code messing with them.

Constructor & Destructor Documentation

Sqrat::RegistryTable::RegistryTable ( HSQUIRRELVM  v = DefaultVM::Get())
inline

Constructs a RegistryTable object to represent the given VM's registry table

Parameters
vVM to get the RegistryTable for

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