ponder 3.2
C++ reflection library
lua.hpp File Reference

This file contains the user Lua API for Ponder. More...

#include <ponder/class.hpp>
#include <lua.h>
#include <lauxlib.h>

Namespaces

 ponder::lua
 Contains Ponder Lua support public API.
 
 ponder
 Root namespace that encapsulates all of Ponder.
 

Functions

void ponder::lua::expose (lua_State *L, const Class &cls, const IdRef exposeName)
 Expose a single Ponder metaclass to a Lua state. More...
 
void ponder::lua::expose (lua_State *L, const Enum &e, const IdRef exposeName)
 Expose a single Ponder enumeration to a Lua state. More...
 
template<typename T >
void ponder::lua::expose (lua_State *L, const IdRef exposeName)
 Expose a single Ponder type to a Lua state. More...
 
int ponder::lua::pushUserObject (lua_State *L, const UserObject &uobj)
 Push a copy of a UserObject onto the Lua stack. More...
 
bool ponder::lua::runString (lua_State *L, const char *luaCode)
 Expose all existing Ponder registered objects to a Lua state. More...
 

Detailed Description

This file contains the user Lua API for Ponder.