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

#include <sol.hpp>

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

Public Member Functions

template<typename... Ret, typename... Args>
decltype(auto) call (Args &&... args)
 
template<typename T >
decltype(auto) get () &&
 
template<typename T >
decltype(auto) get () const &
 
type get_type () const
 
lua_Statelua_state () const
 
template<typename... Args>
decltype(auto) operator() (Args &&... args)
 
template<typename T >
usertype_proxyoperator= (std::initializer_list< T > other) &
 
template<typename T >
usertype_proxy && operator= (std::initializer_list< T > other) &&
 
template<typename T >
usertype_proxyoperator= (T &&other) &
 
template<typename T >
usertype_proxy && operator= (T &&other) &&
 
template<typename K >
decltype(auto) operator[] (K &&k) &
 
template<typename K >
decltype(auto) operator[] (K &&k) &&
 
template<typename K >
decltype(auto) operator[] (K &&k) const &
 
int push () const noexcept
 
int push (lua_State *L) const noexcept
 
template<typename T >
usertype_proxyset (T &&item) &
 
template<typename T >
usertype_proxy && set (T &&item) &&
 
template<typename T >
 usertype_proxy (Table table, T &&k)
 
bool valid () const
 
- Public Member Functions inherited from sol::proxy_base< usertype_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

template<typename T , std::size_t... I>
decltype(auto) tuple_get (std::index_sequence< I... >) &&
 
template<typename T , std::size_t... I>
decltype(auto) tuple_get (std::index_sequence< I... >) const &
 
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::usertype_proxy< Table, Key >

Definition at line 24557 of file sol.hpp.

Member Typedef Documentation

◆ key_type

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

Definition at line 24559 of file sol.hpp.

Constructor & Destructor Documentation

◆ usertype_proxy()

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

Definition at line 24596 of file sol.hpp.

Member Function Documentation

◆ call()

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

Definition at line 24664 of file sol.hpp.

◆ get() [1/2]

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

Definition at line 24640 of file sol.hpp.

◆ get() [2/2]

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

Definition at line 24634 of file sol.hpp.

◆ get_type()

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

Definition at line 24693 of file sol.hpp.

◆ lua_state()

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

Definition at line 24704 of file sol.hpp.

◆ operator()()

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

Definition at line 24674 of file sol.hpp.

◆ operator=() [1/4]

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

Definition at line 24624 of file sol.hpp.

◆ operator=() [2/4]

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

Definition at line 24629 of file sol.hpp.

◆ operator=() [3/4]

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

Definition at line 24614 of file sol.hpp.

◆ operator=() [4/4]

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

Definition at line 24619 of file sol.hpp.

◆ operator[]() [1/3]

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

Definition at line 24652 of file sol.hpp.

◆ operator[]() [2/3]

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

Definition at line 24658 of file sol.hpp.

◆ operator[]() [3/3]

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

Definition at line 24646 of file sol.hpp.

◆ push() [1/2]

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

Definition at line 24685 of file sol.hpp.

◆ push() [2/2]

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

Definition at line 24689 of file sol.hpp.

◆ set() [1/2]

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

Definition at line 24600 of file sol.hpp.

◆ set() [2/2]

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

Definition at line 24607 of file sol.hpp.

◆ tuple_get() [1/2]

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

Definition at line 24567 of file sol.hpp.

◆ tuple_get() [2/2]

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

Definition at line 24562 of file sol.hpp.

◆ tuple_set() [1/2]

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

Definition at line 24572 of file sol.hpp.

◆ tuple_set() [2/2]

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

Definition at line 24582 of file sol.hpp.

◆ valid()

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

Definition at line 24678 of file sol.hpp.

Member Data Documentation

◆ key

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

Definition at line 24593 of file sol.hpp.

◆ tbl

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

Definition at line 24592 of file sol.hpp.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:53