Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

CL_LuaObject Class Reference

#include <lua.h>

Inheritance diagram for CL_LuaObject:

Inheritance graph
[legend]
Collaboration diagram for CL_LuaObject:

Collaboration graph
[legend]
List of all members.

Public Methods

 CL_LuaObject (void)
 CL_LuaObject (const CL_LuaObject &org)
virtual ~CL_LuaObject (void)
CL_LuaObject& operator= (const CL_LuaObject &value)
CL_LuaObject& operator= (const CL_LuaValue &value)
virtual lua_Object getobject (void) const
void push (void) const
int isNil (void) const
int isNumber (void) const
int isString (void) const
int isFunction (void) const
int isUserData (void) const
int isTable (void) const
int type (void) const
 operator float () const
 operator char * () const
 operator const char * () const
 operator void * () const
 operator const void * () const
CL_LuaObject operator[] (const CL_LuaValue &index)
CL_LuaObject operator[] (int index)
int operator() (void) const
int operator() (const CL_LuaValue &arg1)
int operator() (const CL_LuaValue &arg1, const CL_LuaValue &arg2)
int operator() (const CL_LuaValue &arg1, const CL_LuaValue &arg2, const CL_LuaValue &arg3)
int operator() (const CL_LuaValue &arg1, const CL_LuaValue &arg2, const CL_LuaValue &arg3, const CL_LuaValue &arg4)
int operator() (const CL_LuaValue &arg1, const CL_LuaValue &arg2, const CL_LuaValue &arg3, const CL_LuaValue &arg4, const CL_LuaValue &arg5)

Protected Methods

 CL_LuaObject (lua_Object lo)
 CL_LuaObject (int ref, int mark)

Private Methods

 CL_LuaObject (lua_Object lo, const CL_LuaValue &v)

Private Attributes

lua_Object d_table

Friends

class  CL_Lua

Constructor & Destructor Documentation

CL_LuaObject::CL_LuaObject ( lua_Object lo,
const CL_LuaValue & v ) [inline, private]
 

Definition at line 218 of file Lua/lua.h.

CL_LuaObject::CL_LuaObject ( lua_Object lo ) [inline, protected]
 

Definition at line 225 of file Lua/lua.h.

CL_LuaObject::CL_LuaObject ( int ref,
int mark ) [inline, protected]
 

Definition at line 229 of file Lua/lua.h.

CL_LuaObject::CL_LuaObject ( void ) [inline]
 

Definition at line 236 of file Lua/lua.h.

Referenced by CL_Lua::createObject(), CL_Lua::getglobal(), CL_Lua::getparam(), CL_Lua::getresult(), operator[](), and CL_Lua::setfallback().

CL_LuaObject::CL_LuaObject ( const CL_LuaObject & org ) [inline]
 

Definition at line 243 of file Lua/lua.h.

CL_LuaObject::~CL_LuaObject ( void ) [inline, virtual]
 

Definition at line 245 of file Lua/lua.h.


Member Function Documentation

lua_Object CL_LuaObject::getobject ( void ) const [inline, virtual]
 

Definition at line 276 of file Lua/lua.h.

Referenced by isFunction(), isNil(), isNumber(), isString(), isTable(), isUserData(), operator char *(), operator const char *(), operator const void *(), operator float(), operator void *(), operator()(), operator[](), and type().

int CL_LuaObject::isFunction ( void ) const [inline, virtual]
 

Reimplemented from CL_LuaValue.

Definition at line 336 of file Lua/lua.h.

int CL_LuaObject::isNil ( void ) const [inline, virtual]
 

Reimplemented from CL_LuaValue.

Definition at line 312 of file Lua/lua.h.

int CL_LuaObject::isNumber ( void ) const [inline, virtual]
 

Reimplemented from CL_LuaValue.

Definition at line 320 of file Lua/lua.h.

int CL_LuaObject::isString ( void ) const [inline, virtual]
 

Reimplemented from CL_LuaValue.

Definition at line 328 of file Lua/lua.h.

int CL_LuaObject::isTable ( void ) const [inline, virtual]
 

Reimplemented from CL_LuaValue.

Definition at line 352 of file Lua/lua.h.

int CL_LuaObject::isUserData ( void ) const [inline, virtual]
 

Reimplemented from CL_LuaValue.

Definition at line 344 of file Lua/lua.h.

CL_LuaObject::operator char * ( ) const [inline, virtual]
 

Reimplemented from CL_LuaValue.

Definition at line 378 of file Lua/lua.h.

CL_LuaObject::operator const char * ( ) const [inline, virtual]
 

Reimplemented from CL_LuaValue.

Definition at line 388 of file Lua/lua.h.

CL_LuaObject::operator const void * ( ) const [inline, virtual]
 

Reimplemented from CL_LuaValue.

Definition at line 408 of file Lua/lua.h.

CL_LuaObject::operator float ( ) const [inline, virtual]
 

Reimplemented from CL_LuaValue.

Definition at line 368 of file Lua/lua.h.

CL_LuaObject::operator void * ( ) const [inline, virtual]
 

Reimplemented from CL_LuaValue.

Definition at line 398 of file Lua/lua.h.

int CL_LuaObject::operator() ( const CL_LuaValue & arg1,
const CL_LuaValue & arg2,
const CL_LuaValue & arg3,
const CL_LuaValue & arg4,
const CL_LuaValue & arg5 ) [inline]
 

Definition at line 487 of file Lua/lua.h.

int CL_LuaObject::operator() ( const CL_LuaValue & arg1,
const CL_LuaValue & arg2,
const CL_LuaValue & arg3,
const CL_LuaValue & arg4 ) [inline]
 

Definition at line 476 of file Lua/lua.h.

int CL_LuaObject::operator() ( const CL_LuaValue & arg1,
const CL_LuaValue & arg2,
const CL_LuaValue & arg3 ) [inline]
 

Definition at line 466 of file Lua/lua.h.

int CL_LuaObject::operator() ( const CL_LuaValue & arg1,
const CL_LuaValue & arg2 ) [inline]
 

Definition at line 458 of file Lua/lua.h.

int CL_LuaObject::operator() ( const CL_LuaValue & arg1 ) [inline]
 

Definition at line 450 of file Lua/lua.h.

int CL_LuaObject::operator() ( void ) const [inline]
 

Definition at line 443 of file Lua/lua.h.

CL_LuaObject & CL_LuaObject::operator= ( const CL_LuaValue & value ) [inline]
 

Reimplemented from CL_LuaValue.

Definition at line 257 of file Lua/lua.h.

CL_LuaObject & CL_LuaObject::operator= ( const CL_LuaObject & value ) [inline]
 

Reimplemented from CL_LuaValue.

Definition at line 247 of file Lua/lua.h.

CL_LuaObject CL_LuaObject::operator[] ( int index ) [inline]
 

Definition at line 429 of file Lua/lua.h.

CL_LuaObject CL_LuaObject::operator[] ( const CL_LuaValue & index ) [inline]
 

Definition at line 420 of file Lua/lua.h.

void CL_LuaObject::push ( void ) const [inline, virtual]
 

Reimplemented from CL_LuaValue.

Definition at line 293 of file Lua/lua.h.

Referenced by CL_LuaReference::ref().

int CL_LuaObject::type ( void ) const [inline, virtual]
 

Reimplemented from CL_LuaValue.

Definition at line 360 of file Lua/lua.h.


Friends And Related Function Documentation

friend class CL_Lua [friend]
 

Definition at line 223 of file Lua/lua.h.


Member Data Documentation

lua_Object CL_LuaObject::d_table [private]
 

Definition at line 215 of file Lua/lua.h.


The documentation for this class was generated from the following file:
Generated at Wed Apr 4 19:57:07 2001 for ClanLib by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001