Public Types | Public Member Functions | Public Attributes | List of all members
sol::function_detail::member_variable< T, Function, is_yielding > Struct Template Reference

#include <sol.hpp>

Public Types

typedef meta::bind_traits< function_type >::args_list args_lists
 
typedef std::remove_pointer_t< std::decay_t< Function > > function_type
 
typedef std::add_lvalue_reference_t< meta::unwrapped_t< std::remove_reference_t< decltype(detail::deref(member))> > > M
 
typedef meta::bind_traits< function_type >::return_type return_type
 

Public Member Functions

int call (lua_State *L)
 
template<typename... Args>
 member_variable (function_type v, Args &&...args)
 
int operator() (lua_State *L)
 

Public Attributes

member
 
function_type var
 

Detailed Description

template<typename T, typename Function, bool is_yielding>
struct sol::function_detail::member_variable< T, Function, is_yielding >

Definition at line 17955 of file sol.hpp.

Member Typedef Documentation

template<typename T , typename Function , bool is_yielding>
typedef meta::bind_traits<function_type>::args_list sol::function_detail::member_variable< T, Function, is_yielding >::args_lists

Definition at line 17958 of file sol.hpp.

template<typename T , typename Function , bool is_yielding>
typedef std::remove_pointer_t<std::decay_t<Function> > sol::function_detail::member_variable< T, Function, is_yielding >::function_type

Definition at line 17956 of file sol.hpp.

template<typename T , typename Function , bool is_yielding>
typedef std::add_lvalue_reference_t<meta::unwrapped_t<std::remove_reference_t<decltype(detail::deref(member))> > > sol::function_detail::member_variable< T, Function, is_yielding >::M

Definition at line 17961 of file sol.hpp.

template<typename T , typename Function , bool is_yielding>
typedef meta::bind_traits<function_type>::return_type sol::function_detail::member_variable< T, Function, is_yielding >::return_type

Definition at line 17957 of file sol.hpp.

Constructor & Destructor Documentation

template<typename T , typename Function , bool is_yielding>
template<typename... Args>
sol::function_detail::member_variable< T, Function, is_yielding >::member_variable ( function_type  v,
Args &&...  args 
)
inline

Definition at line 17964 of file sol.hpp.

Member Function Documentation

template<typename T , typename Function , bool is_yielding>
int sol::function_detail::member_variable< T, Function, is_yielding >::call ( lua_State L)
inline

Definition at line 17968 of file sol.hpp.

template<typename T , typename Function , bool is_yielding>
int sol::function_detail::member_variable< T, Function, is_yielding >::operator() ( lua_State L)
inline

Definition at line 17992 of file sol.hpp.

Member Data Documentation

template<typename T , typename Function , bool is_yielding>
T sol::function_detail::member_variable< T, Function, is_yielding >::member

Definition at line 17960 of file sol.hpp.

template<typename T , typename Function , bool is_yielding>
function_type sol::function_detail::member_variable< T, Function, is_yielding >::var

Definition at line 17959 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