ug4
ug::LuaTableHandle Class Reference

Handle for a lua reference. More...

#include <lua_table_handle.h>

Public Member Functions

ug::Variant get (int const &key) const
 
ug::Variant get (std::string const &key) const
 
 LuaTableHandle ()=delete
 
 LuaTableHandle (lua_State *ref, int idx)
 
 LuaTableHandle (LuaTableHandle &&)
 
 LuaTableHandle (LuaTableHandle const &)
 
LuaTableHandleoperator= (LuaTableHandle &&)
 
LuaTableHandleoperator= (LuaTableHandle const &)
 
size_t size () const
 
 ~LuaTableHandle ()
 

Private Attributes

impl::LuaTableHandle__data
 

Detailed Description

Handle for a lua reference.

Constructor & Destructor Documentation

◆ LuaTableHandle() [1/4]

ug::LuaTableHandle::LuaTableHandle ( )
delete

◆ LuaTableHandle() [2/4]

ug::LuaTableHandle::LuaTableHandle ( LuaTableHandle const &  p)

◆ LuaTableHandle() [3/4]

ug::LuaTableHandle::LuaTableHandle ( LuaTableHandle &&  p)

◆ LuaTableHandle() [4/4]

ug::LuaTableHandle::LuaTableHandle ( lua_State ref,
int  idx 
)
explicit

◆ ~LuaTableHandle()

ug::LuaTableHandle::~LuaTableHandle ( )

Member Function Documentation

◆ get() [1/2]

ug::Variant ug::LuaTableHandle::get ( int const &  key) const

◆ get() [2/2]

ug::Variant ug::LuaTableHandle::get ( std::string const &  key) const

◆ operator=() [1/2]

◆ operator=() [2/2]

LuaTableHandle & ug::LuaTableHandle::operator= ( LuaTableHandle const &  p)

◆ size()

size_t ug::LuaTableHandle::size ( ) const

Member Data Documentation

◆ _data

impl::LuaTableHandle_* ug::LuaTableHandle::_data
private

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