#include <lua.h>
#include <lauxlib.h>
#include <lualib.h>
#include <luabind/luabind.hpp>
#include <luabind/tag_function.hpp>
#include <boost/function.hpp>
#include <vector>
#include <map>
#include <boost/shared_ptr.hpp>
#include "lua_state.h"
Go to the source code of this file.
|
| FullPhysics |
| Contains classes to abstract away details in various Spurr Radiative Transfer software.
|
|
◆ REGISTER_LUA_CLASS
#define REGISTER_LUA_CLASS |
( |
|
X | ) |
|
Value:void register_lua_##X(lua_State *ls) { \
luabind::module(ls) [ luabind::class_< X,boost::shared_ptr< X > >(#X) \
.
def(
"__tostring", &X::print_to_string)
Contains classes to abstract away details in various Spurr Radiative Transfer software.
def(luabind::constructor< int >()) .def("rows"
Definition at line 116 of file register_lua.h.
◆ REGISTER_LUA_CLASS_NAME
#define REGISTER_LUA_CLASS_NAME |
( |
|
X, |
|
|
|
Y |
|
) |
| |
Value:void register_lua_##Y(lua_State *ls) { \
luabind::module(ls) [ luabind::class_< X,boost::shared_ptr< X > >(#Y)
Contains classes to abstract away details in various Spurr Radiative Transfer software.
Definition at line 129 of file register_lua.h.
◆ REGISTER_LUA_CLASS_NAME_WITH_GENERIC_OBJECT_BASE
#define REGISTER_LUA_CLASS_NAME_WITH_GENERIC_OBJECT_BASE |
( |
|
X, |
|
|
|
Y |
|
) |
| |
Value:void register_lua_##Y(lua_State *ls) { \
luabind::module(ls) [ luabind::class_< X,boost::shared_ptr< X > >(#Y)
Contains classes to abstract away details in various Spurr Radiative Transfer software.
Definition at line 123 of file register_lua.h.
◆ REGISTER_LUA_DERIVED_CLASS
#define REGISTER_LUA_DERIVED_CLASS |
( |
|
X, |
|
|
|
Y |
|
) |
| |
Value:void register_lua_##X(lua_State *ls) { \
luabind::module(ls) [ luabind::class_<X,Y,boost::shared_ptr<Y> >(#X)
Contains classes to abstract away details in various Spurr Radiative Transfer software.
Definition at line 136 of file register_lua.h.
◆ REGISTER_LUA_END
#define REGISTER_LUA_END |
( |
| ) |
]; } } |
◆ REGISTER_LUA_LIST
#define REGISTER_LUA_LIST |
( |
|
X | ) |
void register_lua_##X(lua_State*); register_lua_##X(ls) |