xoreos  0.0.5
Classes | Typedefs | Enumerations | Functions
Aurora::Lua Namespace Reference

Classes

class  DefaultDeleter
 
class  FunctionRef
 A reference to a Lua function. More...
 
class  ScriptManager
 Lua script manager. More...
 
class  Stack
 A Lua stack wrapper. More...
 
class  StackGuard
 Lua stack guard. More...
 
class  TableRef
 A reference to a Lua table. More...
 
class  Variable
 

Typedefs

typedef std::vector< VariableVariables
 

Enumerations

enum  Type {
  kTypeNone = 0, kTypeNil, kTypeBoolean, kTypeNumber,
  kTypeString, kTypeTable, kTypeFunction, kTypeUserType
}
 

Functions

void * getRawCppObjectFromStack (const Stack &stack, int index)
 
void * getRawCppObjectFromVariable (const Variable &var)
 
template<typename T >
T * getCppObjectFromStack (const Stack &stack, int index)
 
template<typename T >
T * getCppObjectFromVariable (const Variable &var)
 

Typedef Documentation

◆ Variables

typedef std::vector<Variable> Aurora::Lua::Variables

Definition at line 50 of file types.h.

Enumeration Type Documentation

◆ Type

Enumerator
kTypeNone 
kTypeNil 
kTypeBoolean 
kTypeNumber 
kTypeString 
kTypeTable 
kTypeFunction 
kTypeUserType 

Definition at line 36 of file types.h.

Function Documentation

◆ getCppObjectFromStack()

template<typename T >
T* Aurora::Lua::getCppObjectFromStack ( const Stack stack,
int  index 
)

Definition at line 41 of file util.h.

References getRawCppObjectFromStack().

Here is the call graph for this function:

◆ getCppObjectFromVariable()

template<typename T >
T* Aurora::Lua::getCppObjectFromVariable ( const Variable var)

Definition at line 46 of file util.h.

References getRawCppObjectFromVariable().

Here is the call graph for this function:

◆ getRawCppObjectFromStack()

void * Aurora::Lua::getRawCppObjectFromStack ( const Stack stack,
int  index 
)

◆ getRawCppObjectFromVariable()

void * Aurora::Lua::getRawCppObjectFromVariable ( const Variable var)