Ardour  9.0-pre0-582-g084a23a80d
LuaRef.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Nil
 
class  LuaRef
 
class  LuaRef::StackPop
 
class  LuaRef::Proxy
 
struct  LuaRef::FromStack
 
struct  Stack< Nil >
 
struct  Stack< LuaRef >
 
struct  Stack< LuaRef::Proxy >
 

Functions

LuaRef newTable (lua_State *L)
 
LuaRef getGlobal (lua_State *L, char const *name)
 
std::ostream & operator<< (std::ostream &os, LuaRef const &ref)
 
template<class T >
LuaRef_cast (LuaRef const &lr)
 

Function Documentation

◆ getGlobal()

LuaRef getGlobal ( lua_State L,
char const *  name 
)
inline

Create a reference to a value in the global table.

This is a syntactic abbreviation for LuaRef::getGlobal().

Definition at line 1204 of file LuaRef.h.

◆ LuaRef_cast()

template<class T >
T LuaRef_cast ( LuaRef const &  lr)
inline

Definition at line 1226 of file LuaRef.h.

◆ newTable()

LuaRef newTable ( lua_State L)
inline

Create a reference to a new, empty table.

This is a syntactic abbreviation for LuaRef::newTable().

Definition at line 1193 of file LuaRef.h.

◆ operator<<()

std::ostream& operator<< ( std::ostream &  os,
LuaRef const &  ref 
)
inline

Write a LuaRef to a stream.

This allows LuaRef and table proxies to work with streams.

Definition at line 1215 of file LuaRef.h.