OOLua  2.0.1
C++ and Lua binding
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
oolua_stack_fwd.h File Reference

Forward declarations of the push and pull methods, which provide simple interaction with the Lua stack. More...

#include "oolua_traits_fwd.h"

Classes

struct  OOLUA::Lua_ref< ID >
 A typed wrapper for a Lua reference. More...
 

Namespaces

 OOLUA
 This is the root namespace of the Library.
 

Functions

bool OOLUA::push (lua_State *const vm, void *lightud)
 Pushes an instance to top of the Lua stack. More...
 
bool OOLUA::push (lua_State *const vm, bool const &value)
 Pushes an instance to top of the Lua stack. More...
 
bool OOLUA::push (lua_State *const vm, char *const &value)
 Pushes an instance to top of the Lua stack. More...
 
bool OOLUA::push (lua_State *const vm, char const *const &value)
 Pushes an instance to top of the Lua stack. More...
 
bool OOLUA::push (lua_State *const vm, double const &value)
 Pushes an instance to top of the Lua stack. More...
 
bool OOLUA::push (lua_State *const vm, float const &value)
 Pushes an instance to top of the Lua stack. More...
 
bool OOLUA::push (lua_State *const vm, oolua_CFunction const &value)
 Pushes an instance to top of the Lua stack. More...
 
bool OOLUA::push (lua_State *const vm, Table const &value)
 Pushes an instance to top of the Lua stack. More...
 
template<typename T >
bool OOLUA::push (lua_State *const vm, T *const &value)
 Pushes an instance to top of the Lua stack. More...
 
template<typename T >
bool OOLUA::push (lua_State *const vm, OOLUA::lua_acquire_ptr< T > const &value)
 Pushes an instance to top of the Lua stack. More...
 
template<typename T >
bool OOLUA::push (lua_State *const vm, T const &value)
 Pushes an instance to top of the Lua stack. More...
 
bool OOLUA::pull (lua_State *const vm, void *&lightud)
 Pulls the top element off the stack and pops it. More...
 
bool OOLUA::pull (lua_State *const vm, bool &value)
 Pulls the top element off the stack and pops it. More...
 
bool OOLUA::pull (lua_State *const vm, double &value)
 Pulls the top element off the stack and pops it. More...
 
bool OOLUA::pull (lua_State *const vm, float &value)
 Pulls the top element off the stack and pops it. More...
 
bool OOLUA::pull (lua_State *const vm, oolua_CFunction &value)
 Pulls the top element off the stack and pops it. More...
 
bool OOLUA::pull (lua_State *const vm, Table &value)
 Pulls the top element off the stack and pops it. More...
 
template<typename T >
bool OOLUA::pull (lua_State *const vm, T *&value)
 Pulls the top element off the stack and pops it. More...
 
template<typename T >
bool OOLUA::pull (lua_State *const vm, T &value)
 Pulls the top element off the stack and pops it. More...
 
template<typename T >
bool OOLUA::pull (lua_State *const vm, cpp_acquire_ptr< T > const &value)
 Pulls the top element off the stack and pops it. More...
 

Detailed Description

Forward declarations of the push and pull methods, which provide simple interaction with the Lua stack.