Public Member Functions | Public Attributes | Private Types | Private Member Functions | List of all members
sol::table_proxy< Table, Key > Struct Template Reference

#include <forward.hpp>

Inheritance diagram for sol::table_proxy< Table, Key >:
Inheritance graph
[legend]

Public Member Functions

template<typename... Ret, typename... Args>
decltype(auto) call (Args &&...args)
 
table_proxyforce ()
 
template<typename T >
decltype(auto) get () const &
 
template<typename T >
decltype(auto) get ()&&
 
template<typename T >
decltype(auto) get_or (T &&otherwise) const
 
template<typename T , typename D >
decltype(auto) get_or (D &&otherwise) const
 
template<typename T >
decltype(auto) get_or_create ()
 
template<typename T , typename Otherwise >
decltype(auto) get_or_create (Otherwise &&other)
 
type get_type () const
 
lua_Statelua_state () const
 
template<typename... Args>
decltype(auto) operator() (Args &&...args)
 
template<typename T >
table_proxyoperator= (T &&other)&
 
template<typename T >
table_proxy && operator= (T &&other)&&
 
template<typename T >
table_proxyoperator= (std::initializer_list< T > other)&
 
template<typename T >
table_proxy && operator= (std::initializer_list< T > other)&&
 
template<typename K >
decltype(auto) operator[] (K &&k) const &
 
template<typename K >
decltype(auto) operator[] (K &&k)&
 
template<typename K >
decltype(auto) operator[] (K &&k)&&
 
int push () const noexcept
 
int push (lua_State *L) const noexcept
 
template<typename T >
table_proxyset (T &&item)&
 
template<typename T >
table_proxy && set (T &&item)&&
 
template<typename... Args>
table_proxyset_function (Args &&...args)&
 
template<typename... Args>
table_proxy && set_function (Args &&...args)&&
 
template<typename T >
 table_proxy (Table table, T &&k)
 
bool valid () const
 
- Public Member Functions inherited from sol::proxy_base< table_proxy< Table, Key > >
lua_Statelua_state () const
 
 operator std::string () const
 
 operator T () const
 
 operator T & () const
 

Public Attributes

key_type key
 
Table tbl
 

Private Types

using key_type = detail::proxy_key_t< Key >
 

Private Member Functions

bool is_valid (std::false_type)
 
auto setup_table (std::true_type)
 
template<typename T , std::size_t... I>
decltype(auto) tuple_get (std::index_sequence< I... >) const &
 
template<typename T , std::size_t... I>
decltype(auto) tuple_get (std::index_sequence< I... >)&&
 
template<std::size_t... I, typename T >
void tuple_set (std::index_sequence< I... >, T &&value)&
 
template<std::size_t... I, typename T >
void tuple_set (std::index_sequence< I... >, T &&value)&&
 

Detailed Description

template<typename Table, typename Key>
struct sol::table_proxy< Table, Key >

Definition at line 624 of file forward.hpp.

Member Typedef Documentation

template<typename Table, typename Key>
using sol::table_proxy< Table, Key >::key_type = detail::proxy_key_t<Key>
private

Definition at line 22971 of file sol.hpp.

Constructor & Destructor Documentation

template<typename Table, typename Key>
template<typename T >
sol::table_proxy< Table, Key >::table_proxy ( Table  table,
T &&  k 
)
inline

Definition at line 23011 of file sol.hpp.

Member Function Documentation

template<typename Table, typename Key>
template<typename... Ret, typename... Args>
decltype(auto) sol::table_proxy< Table, Key >::call ( Args &&...  args)
inline

Definition at line 23133 of file sol.hpp.

template<typename Table, typename Key>
table_proxy& sol::table_proxy< Table, Key >::force ( )
inline

Definition at line 23192 of file sol.hpp.

template<typename Table, typename Key>
template<typename T >
decltype(auto) sol::table_proxy< Table, Key >::get ( ) const
inline

Definition at line 23071 of file sol.hpp.

template<typename Table, typename Key>
template<typename T >
decltype(auto) sol::table_proxy< Table, Key >::get ( )
inline

Definition at line 23077 of file sol.hpp.

template<typename Table, typename Key>
template<typename T >
decltype(auto) sol::table_proxy< Table, Key >::get_or ( T &&  otherwise) const
inline

Definition at line 23083 of file sol.hpp.

template<typename Table, typename Key>
template<typename T , typename D >
decltype(auto) sol::table_proxy< Table, Key >::get_or ( D &&  otherwise) const
inline

Definition at line 23093 of file sol.hpp.

template<typename Table, typename Key>
template<typename T >
decltype(auto) sol::table_proxy< Table, Key >::get_or_create ( )
inline

Definition at line 23102 of file sol.hpp.

template<typename Table, typename Key>
template<typename T , typename Otherwise >
decltype(auto) sol::table_proxy< Table, Key >::get_or_create ( Otherwise &&  other)
inline

Definition at line 23107 of file sol.hpp.

template<typename Table, typename Key>
type sol::table_proxy< Table, Key >::get_type ( ) const
inline

Definition at line 23177 of file sol.hpp.

template<typename Table, typename Key>
bool sol::table_proxy< Table, Key >::is_valid ( std::false_type  )
inlineprivate

Definition at line 22999 of file sol.hpp.

template<typename Table, typename Key>
lua_State* sol::table_proxy< Table, Key >::lua_state ( ) const
inline

Definition at line 23188 of file sol.hpp.

template<typename Table, typename Key>
template<typename... Args>
decltype(auto) sol::table_proxy< Table, Key >::operator() ( Args &&...  args)
inline

Definition at line 23142 of file sol.hpp.

template<typename Table, typename Key>
template<typename T >
table_proxy& sol::table_proxy< Table, Key >::operator= ( T &&  other)
inline

Definition at line 23039 of file sol.hpp.

template<typename Table, typename Key>
template<typename T >
table_proxy&& sol::table_proxy< Table, Key >::operator= ( T &&  other)
inline

Definition at line 23050 of file sol.hpp.

template<typename Table, typename Key>
template<typename T >
table_proxy& sol::table_proxy< Table, Key >::operator= ( std::initializer_list< T >  other)
inline

Definition at line 23061 of file sol.hpp.

template<typename Table, typename Key>
template<typename T >
table_proxy&& sol::table_proxy< Table, Key >::operator= ( std::initializer_list< T >  other)
inline

Definition at line 23066 of file sol.hpp.

template<typename Table, typename Key>
template<typename K >
decltype(auto) sol::table_proxy< Table, Key >::operator[] ( K &&  k) const
inline

Definition at line 23115 of file sol.hpp.

template<typename Table, typename Key>
template<typename K >
decltype(auto) sol::table_proxy< Table, Key >::operator[] ( K &&  k)
inline

Definition at line 23121 of file sol.hpp.

template<typename Table, typename Key>
template<typename K >
decltype(auto) sol::table_proxy< Table, Key >::operator[] ( K &&  k)
inline

Definition at line 23127 of file sol.hpp.

template<typename Table, typename Key>
int sol::table_proxy< Table, Key >::push ( ) const
inlinenoexcept

Definition at line 23153 of file sol.hpp.

template<typename Table, typename Key>
int sol::table_proxy< Table, Key >::push ( lua_State L) const
inlinenoexcept

Definition at line 23157 of file sol.hpp.

template<typename Table, typename Key>
template<typename T >
table_proxy& sol::table_proxy< Table, Key >::set ( T &&  item)
inline

Definition at line 23015 of file sol.hpp.

template<typename Table, typename Key>
template<typename T >
table_proxy&& sol::table_proxy< Table, Key >::set ( T &&  item)
inline

Definition at line 23021 of file sol.hpp.

template<typename Table, typename Key>
template<typename... Args>
table_proxy& sol::table_proxy< Table, Key >::set_function ( Args &&...  args)
inline

Definition at line 23027 of file sol.hpp.

template<typename Table, typename Key>
template<typename... Args>
table_proxy&& sol::table_proxy< Table, Key >::set_function ( Args &&...  args)
inline

Definition at line 23033 of file sol.hpp.

template<typename Table, typename Key>
auto sol::table_proxy< Table, Key >::setup_table ( std::true_type  )
inlineprivate

Definition at line 22993 of file sol.hpp.

template<typename Table, typename Key>
template<typename T , std::size_t... I>
decltype(auto) sol::table_proxy< Table, Key >::tuple_get ( std::index_sequence< I... >  ) const
inlineprivate

Definition at line 22974 of file sol.hpp.

template<typename Table, typename Key>
template<typename T , std::size_t... I>
decltype(auto) sol::table_proxy< Table, Key >::tuple_get ( std::index_sequence< I... >  )
inlineprivate

Definition at line 22979 of file sol.hpp.

template<typename Table, typename Key>
template<std::size_t... I, typename T >
void sol::table_proxy< Table, Key >::tuple_set ( std::index_sequence< I... >  ,
T &&  value 
)
inlineprivate

Definition at line 22984 of file sol.hpp.

template<typename Table, typename Key>
template<std::size_t... I, typename T >
void sol::table_proxy< Table, Key >::tuple_set ( std::index_sequence< I... >  ,
T &&  value 
)
inlineprivate

Definition at line 22989 of file sol.hpp.

template<typename Table, typename Key>
bool sol::table_proxy< Table, Key >::valid ( ) const
inline

Definition at line 23146 of file sol.hpp.

Member Data Documentation

template<typename Table, typename Key>
key_type sol::table_proxy< Table, Key >::key

Definition at line 23008 of file sol.hpp.

template<typename Table, typename Key>
Table sol::table_proxy< Table, Key >::tbl

Definition at line 23007 of file sol.hpp.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Dec 6 2020 04:02:52