Ardour  9.0-pre0-582-g084a23a80d
Namespace.h File Reference
#include <memory>
Include dependency graph for Namespace.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Namespace
 
class  Namespace::ClassBase
 
class  Namespace::Class< T >
 
class  Namespace::Array< T >
 
class  Namespace::WSPtrClass< T >
 

Macros

#define CLASSDOC(TYPE, LUANAME, DECL, PARENTDECL)
 
#define PRINTDOC(TYPE, LUANAME, RETVAL, DECL)
 
#define FUNDOC(TYPE, NAME, FUNCTOR)
 
#define DATADOC(TYPE, NAME, FUNCTOR)
 

Functions

Namespace getGlobalNamespace (lua_State *L)
 

Macro Definition Documentation

◆ CLASSDOC

#define CLASSDOC (   TYPE,
  LUANAME,
  DECL,
  PARENTDECL 
)

Definition at line 107 of file Namespace.h.

◆ DATADOC

#define DATADOC (   TYPE,
  NAME,
  FUNCTOR 
)

Definition at line 110 of file Namespace.h.

◆ FUNDOC

#define FUNDOC (   TYPE,
  NAME,
  FUNCTOR 
)

Definition at line 109 of file Namespace.h.

◆ PRINTDOC

#define PRINTDOC (   TYPE,
  LUANAME,
  RETVAL,
  DECL 
)

Definition at line 108 of file Namespace.h.

Function Documentation

◆ getGlobalNamespace()

Namespace getGlobalNamespace ( lua_State L)
inline

Retrieve the global namespace.

It is recommended to put your namespace inside the global namespace, and then add your classes and functions to it, rather than adding many classes and functions directly to the global namespace.

Definition at line 2218 of file Namespace.h.