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 () const &
 
template<typename T >
decltype(auto) get ()&&
 
type get_type () const
 
lua_Statelua_state () const
 
template<typename... Args>
decltype(auto) operator() (Args &&...args)
 
template<typename T >
usertype_proxyoperator= (T &&other)&
 
template<typename T >
usertype_proxy && operator= (T &&other)&&
 
template<typename T >
usertype_proxyoperator= (std::initializer_list< T > other)&
 
template<typename T >
usertype_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 >
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... >) 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::usertype_proxy< Table, Key >

Definition at line 22804 of file sol.hpp.

Member Typedef Documentation

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

Definition at line 22806 of file sol.hpp.

Constructor & Destructor Documentation

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

Definition at line 22843 of file sol.hpp.

Member Function Documentation

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

Definition at line 22912 of file sol.hpp.

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

Definition at line 22882 of file sol.hpp.

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

Definition at line 22888 of file sol.hpp.

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

Definition at line 22941 of file sol.hpp.

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

Definition at line 22952 of file sol.hpp.

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

Definition at line 22922 of file sol.hpp.

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

Definition at line 22862 of file sol.hpp.

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

Definition at line 22867 of file sol.hpp.

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 22872 of file sol.hpp.

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 22877 of file sol.hpp.

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

Definition at line 22894 of file sol.hpp.

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

Definition at line 22900 of file sol.hpp.

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

Definition at line 22906 of file sol.hpp.

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

Definition at line 22933 of file sol.hpp.

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

Definition at line 22937 of file sol.hpp.

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

Definition at line 22848 of file sol.hpp.

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

Definition at line 22855 of file sol.hpp.

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 22809 of file sol.hpp.

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 22814 of file sol.hpp.

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 22819 of file sol.hpp.

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 22829 of file sol.hpp.

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

Definition at line 22926 of file sol.hpp.

Member Data Documentation

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

Definition at line 22840 of file sol.hpp.

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

Definition at line 22839 of file sol.hpp.


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


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