Pioneer
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ScopedTable Class Reference

#include <LuaTable.h>

Inheritance diagram for ScopedTable:
Inheritance graph
[legend]
Collaboration diagram for ScopedTable:
Collaboration graph
[legend]

Public Member Functions

 ScopedTable (const LuaTable &t)
 
 ScopedTable (lua_State *l)
 
 ScopedTable (const LuaRef &r)
 
 ~ScopedTable ()
 
- Public Member Functions inherited from LuaTable
 LuaTable (const LuaTable &ref)
 
 LuaTable (lua_State *l, int index)
 
 LuaTable (lua_State *l)
 
 LuaTable (lua_State *l, int array_s, int hash_s)
 
 ~LuaTable ()
 
const LuaTableoperator= (const LuaTable &ref)
 
template<class Key >
LuaTable PushValueToStack (const Key &key) const
 
template<class Value , class Key >
Value Get (const Key &key) const
 
template<class Key >
LuaTable Sub (const Key &key) const
 
template<class Value , class Key >
Value Get (const Key &key, Value default_value) const
 
template<class Value , class Key >
LuaTable Set (const Key &key, const Value &value) const
 
template<class Ret , class Key , class... Args>
Ret Call (const Key &key, const Args &... args) const
 
template<class Key , class... Args>
void Call (const Key &key, const Args &... args) const
 
template<class Ret1 , class Ret2 , class... Ret, class Key , class... Args>
std::tuple< Ret1, Ret2, Ret... > Call (const Key &key, const Args &... args) const
 
template<class Key , class... Args>
void CallMethod (const Key &key, const Args &... args) const
 
template<class Ret , class Key , class... Args>
Ret CallMethod (const Key &key, const Args &... args) const
 
template<class Ret1 , class Ret2 , class... Ret, class Key , class... Args>
std::tuple< Ret1, Ret2, Ret... > CallMethod (const Key &key, const Args &... args) const
 
template<class PairIterator >
LuaTable LoadMap (PairIterator beg, PairIterator end) const
 
template<class ValueIterator >
LuaTable LoadVector (ValueIterator beg, ValueIterator end) const
 
template<class Key , class Value >
std::map< Key, Value > GetMap () const
 
lua_State * GetLua () const
 
int GetIndex () const
 
size_t Size () const
 
template<class Value >
VecIter< Value > Begin ()
 
template<class Value >
VecIter< Value > End ()
 

Additional Inherited Members

- Protected Member Functions inherited from LuaTable
 LuaTable ()
 
- Protected Attributes inherited from LuaTable
lua_State * m_lua
 
int m_index
 

Constructor & Destructor Documentation

◆ ScopedTable() [1/3]

ScopedTable::ScopedTable ( const LuaTable t)
inline

◆ ScopedTable() [2/3]

ScopedTable::ScopedTable ( lua_State *  l)
inline

◆ ScopedTable() [3/3]

ScopedTable::ScopedTable ( const LuaRef r)
inline
Here is the call graph for this function:

◆ ~ScopedTable()

ScopedTable::~ScopedTable ( )
inline

The documentation for this class was generated from the following file: