ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

A list of arguments to be passed to a Lua function. More...

#include <lua.h>

Collaboration diagram for Grim::LuaObjects:

List of all members.

Classes

struct  Obj
 The struct wrapping the value and the type of the objects. More...

Public Member Functions

void add (float number)
void add (int number)
void add (const PoolObjectBase *obj)
void add (const char *str)
void addNil ()

Private Member Functions

void pushObjects () const
 Pushes all the objects to Lua, in the same order as they were added.

Private Attributes

Common::List< Obj_objects

Friends

class LuaBase

Detailed Description

A list of arguments to be passed to a Lua function.

This is a convenience class to pass arguments to a Lua function, using LuaBase::callback(const char *name, const LuaObjects &objects).

Definition at line 68 of file lua.h.


Member Function Documentation

void Grim::LuaObjects::add ( float  number  ) 

Definition at line 52 of file lua.cpp.

void Grim::LuaObjects::add ( int  number  ) 

Definition at line 59 of file lua.cpp.

void Grim::LuaObjects::add ( const char *  str  ) 

Definition at line 73 of file lua.cpp.

void Grim::LuaObjects::add ( const PoolObjectBase obj  ) 

Definition at line 66 of file lua.cpp.

void Grim::LuaObjects::addNil (  ) 

Definition at line 80 of file lua.cpp.

void Grim::LuaObjects::pushObjects (  )  const [private]

Pushes all the objects to Lua, in the same order as they were added.

Definition at line 86 of file lua.cpp.


Friends And Related Function Documentation

friend class LuaBase [friend]

Definition at line 100 of file lua.h.


Member Data Documentation

Definition at line 98 of file lua.h.


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


Generated on Sat Nov 16 2019 05:03:11 for ResidualVM by doxygen 1.7.1
curved edge   curved edge