Ardour
9.0-pre0-822-g12e3bc5c20
|
Public Member Functions | |
ClassBase (lua_State *L_) | |
ClassBase (ClassBase const &other) | |
~ClassBase () | |
Protected Member Functions | |
void | createConstTable (char const *name) |
void | createClassTable (char const *name) |
void | createStaticTable (char const *name) |
void | pop (int n) const |
Static Protected Member Functions | |
static int | indexMetaMethod (lua_State *L) |
static int | newindexMetaMethod (lua_State *L) |
template<class Params , class C > | |
static int | ctorContainerProxy (lua_State *L) |
template<class Params , class T > | |
static int | ctorPlacementProxy (lua_State *L) |
template<class Params , class T , class C > | |
static int | ctorPtrPlacementProxy (lua_State *L) |
template<class T > | |
static int | ctorNilPtrPlacementProxy (lua_State *L) |
Protected Attributes | |
lua_State *const | L |
int | m_stackSize |
Private Member Functions | |
ClassBase & | operator= (ClassBase const &other) |
Friends | |
class | Namespace |
Factored base to reduce template instantiations.
Definition at line 184 of file Namespace.h.
|
inlineexplicit |
Definition at line 513 of file Namespace.h.
|
inline |
Copy Constructor.
Definition at line 523 of file Namespace.h.
|
inline |
Definition at line 535 of file Namespace.h.
|
inlineprotected |
Create the class table.
The Lua stack should have the const table on top.
Definition at line 378 of file Namespace.h.
|
inlineprotected |
Create the const table.
Definition at line 349 of file Namespace.h.
|
inlineprotected |
Create the static table.
The Lua stack should have: -1 class table -2 const table -3 enclosing namespace
Definition at line 418 of file Namespace.h.
|
inlinestaticprotected |
lua_CFunction to construct a class object wrapped in a container.
Definition at line 456 of file Namespace.h.
|
inlinestaticprotected |
Definition at line 487 of file Namespace.h.
|
inlinestaticprotected |
lua_CFunction to construct a class object in-place in the userdata.
Definition at line 470 of file Namespace.h.
|
inlinestaticprotected |
Definition at line 478 of file Namespace.h.
|
inlinestaticprotected |
__index metamethod for a class.
This implements member functions, data members, and property members. Functions are stored in the metatable and const metatable. Data members and property members are in the __propget table.
If the key is not found, the search proceeds up the hierarchy of base classes.
Definition at line 212 of file Namespace.h.
|
inlinestaticprotected |
__newindex metamethod for classes.
This supports writable variables and properties on class objects. The corresponding object is passed in the first parameter to the set function.
Definition at line 303 of file Namespace.h.
|
inlineprotected |
Pop the Lua stack.
Definition at line 498 of file Namespace.h.
|
friend |
Definition at line 190 of file Namespace.h.
|
protected |
Definition at line 192 of file Namespace.h.
|
mutableprotected |
Definition at line 193 of file Namespace.h.