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

CL_Lua Class Reference

#include <lua.h>

List of all members.

Static Public Methods

int dofile (char *filename)
int dostring (char *string)
 param: filename - the script file nameretval: the return code.

void error (char *message)
 param: string - the lua stringretval: the return code.

CL_LuaObject getparam (int number)
 param: message - the error message.

CL_LuaObject getresult (int number)
 param: number: the numberretval: the return code.

CL_LuaObject getglobal (char *var)
 param: number: the numberretval: the return code.

CL_LuaObject setfallback (char *name, lua_CFunction fallback)
 param: var: the name of the global variableretval: the return code.

void record (char *name, lua_CFunction func)
 param: name - the name of the fallbackparam: fallback - pointer to the functionretval: the return code.

CL_LuaObject createObject (lua_Object lo)
 param: name - the name of the functionparam: func - pointer to the function.

void open ()
 param: obj - the objectretval: the return code.

void close ()
void iolibopen (void)
void strlibopen (void)
void mathlibopen (void)
void dblibopen (void)


Member Function Documentation

void CL_Lua::close ( ) [inline, static]
 

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

CL_LuaObject CL_Lua::createObject ( lua_Object lo ) [inline, static]
 

param: name - the name of the functionparam: func - pointer to the function.

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

void CL_Lua::dblibopen ( void ) [inline, static]
 

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

int CL_Lua::dofile ( char * filename ) [inline, static]
 

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

int CL_Lua::dostring ( char * string ) [inline, static]
 

param: filename - the script file nameretval: the return code.

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

void CL_Lua::error ( char * message ) [inline, static]
 

param: string - the lua stringretval: the return code.

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

CL_LuaObject CL_Lua::getglobal ( char * var ) [inline, static]
 

param: number: the numberretval: the return code.

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

CL_LuaObject CL_Lua::getparam ( int number ) [inline, static]
 

param: message - the error message.

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

CL_LuaObject CL_Lua::getresult ( int number ) [inline, static]
 

param: number: the numberretval: the return code.

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

void CL_Lua::iolibopen ( void ) [inline, static]
 

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

void CL_Lua::mathlibopen ( void ) [inline, static]
 

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

void CL_Lua::open ( ) [inline, static]
 

param: obj - the objectretval: the return code.

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

void CL_Lua::record ( char * name,
lua_CFunction func ) [inline, static]
 

param: name - the name of the fallbackparam: fallback - pointer to the functionretval: the return code.

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

CL_LuaObject CL_Lua::setfallback ( char * name,
lua_CFunction fallback ) [inline, static]
 

param: var: the name of the global variableretval: the return code.

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

void CL_Lua::strlibopen ( void ) [inline, static]
 

Definition at line 637 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