Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
sol::function_detail::member_variable< T, Function, is_yielding, no_trampoline > 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

template<typename... Args>
 member_variable (function_type v, Args &&... args) noexcept(std::is_nothrow_constructible_v< function_type, function_type > &&std::is_nothrow_constructible_v< T, Args... >)
 
int operator() (lua_State *L) noexcept(std::is_nothrow_copy_assignable_v< T >)
 

Static Public Member Functions

static int call (lua_State *L, member_variable &self) noexcept(std::is_nothrow_copy_assignable_v< T >)
 

Public Attributes

member
 
function_type var
 

Detailed Description

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

Definition at line 19564 of file sol.hpp.

Member Typedef Documentation

◆ args_lists

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

Definition at line 19567 of file sol.hpp.

◆ function_type

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

Definition at line 19565 of file sol.hpp.

◆ M

template<typename T , typename Function , bool is_yielding, bool no_trampoline>
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, no_trampoline >::M

Definition at line 19570 of file sol.hpp.

◆ return_type

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

Definition at line 19566 of file sol.hpp.

Constructor & Destructor Documentation

◆ member_variable()

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

Definition at line 19573 of file sol.hpp.

Member Function Documentation

◆ call()

template<typename T , typename Function , bool is_yielding, bool no_trampoline>
static int sol::function_detail::member_variable< T, Function, is_yielding, no_trampoline >::call ( lua_State L,
member_variable< T, Function, is_yielding, no_trampoline > &  self 
)
inlinestaticnoexcept

Definition at line 19578 of file sol.hpp.

◆ operator()()

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

Definition at line 19602 of file sol.hpp.

Member Data Documentation

◆ member

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

Definition at line 19569 of file sol.hpp.

◆ var

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

Definition at line 19568 of file sol.hpp.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Aug 11 2024 02:24:32