Luwra
Minimal-overhead Lua wrapper for C++
Public Member Functions | Public Attributes | List of all members
luwra::internal::TableAccessor< Accessor > Struct Template Reference

#include <table.hpp>

Public Member Functions

template<typename Key >
const TableAccessor< Path< Accessor, Key > > access (Key &&subkey) const &&
 
template<typename Type >
 operator Type () const &&
 
template<typename Type >
 operator Type & () const &
 
template<typename Type >
const TableAccessor && operator= (Type &&value) const &&
 
template<typename Key >
const TableAccessor< Path< Accessor, Key > > operator[] (Key &&subkey) const &&
 
template<typename Type >
Type read () const &&
 
template<typename Type >
const TableAccessor && write (Type &&value) const &&
 

Public Attributes

Accessor accessor
 
Statestate
 

Member Function Documentation

◆ access()

template<typename Accessor >
template<typename Key >
const TableAccessor< Path< Accessor, Key > > luwra::internal::TableAccessor< Accessor >::access ( Key &&  subkey) const &&
inline

◆ operator Type()

template<typename Accessor >
template<typename Type >
luwra::internal::TableAccessor< Accessor >::operator Type ( ) const &&
inline

◆ operator Type &()

template<typename Accessor >
template<typename Type >
luwra::internal::TableAccessor< Accessor >::operator Type & ( ) const &
inline

◆ operator=()

template<typename Accessor >
template<typename Type >
const TableAccessor && luwra::internal::TableAccessor< Accessor >::operator= ( Type &&  value) const &&
inline

◆ operator[]()

template<typename Accessor >
template<typename Key >
const TableAccessor< Path< Accessor, Key > > luwra::internal::TableAccessor< Accessor >::operator[] ( Key &&  subkey) const &&
inline

◆ read()

template<typename Accessor >
template<typename Type >
Type luwra::internal::TableAccessor< Accessor >::read ( ) const &&
inline

◆ write()

template<typename Accessor >
template<typename Type >
const TableAccessor && luwra::internal::TableAccessor< Accessor >::write ( Type &&  value) const &&
inline

Member Data Documentation

◆ accessor

template<typename Accessor >
Accessor luwra::internal::TableAccessor< Accessor >::accessor

◆ state

template<typename Accessor >
State* luwra::internal::TableAccessor< Accessor >::state