Public Member Functions | Public Attributes | List of all members
sol::detail::protected_handler< ShouldPush, Target > Struct Template Reference

#include <sol.hpp>

Public Member Functions

 protected_handler (lua_State *L_, const Target &target_)
 
 protected_handler (std::false_type, lua_State *L_, const Target &target_)
 
 protected_handler (std::true_type, lua_State *L_, const Target &target_)
 
bool valid () const noexcept
 
 ~protected_handler ()
 

Public Attributes

lua_Statem_L
 
int stack_index
 
const Target & target
 

Detailed Description

template<bool ShouldPush, typename Target = reference>
struct sol::detail::protected_handler< ShouldPush, Target >

Definition at line 20739 of file sol.hpp.

Constructor & Destructor Documentation

◆ protected_handler() [1/3]

template<bool ShouldPush, typename Target = reference>
sol::detail::protected_handler< ShouldPush, Target >::protected_handler ( std::false_type  ,
lua_State L_,
const Target &  target_ 
)
inline

Definition at line 20744 of file sol.hpp.

◆ protected_handler() [2/3]

template<bool ShouldPush, typename Target = reference>
sol::detail::protected_handler< ShouldPush, Target >::protected_handler ( std::true_type  ,
lua_State L_,
const Target &  target_ 
)
inline

Definition at line 20751 of file sol.hpp.

◆ protected_handler() [3/3]

template<bool ShouldPush, typename Target = reference>
sol::detail::protected_handler< ShouldPush, Target >::protected_handler ( lua_State L_,
const Target &  target_ 
)
inline

Definition at line 20757 of file sol.hpp.

◆ ~protected_handler()

template<bool ShouldPush, typename Target = reference>
sol::detail::protected_handler< ShouldPush, Target >::~protected_handler ( )
inline

Definition at line 20764 of file sol.hpp.

Member Function Documentation

◆ valid()

template<bool ShouldPush, typename Target = reference>
bool sol::detail::protected_handler< ShouldPush, Target >::valid ( ) const
inlinenoexcept

Definition at line 20760 of file sol.hpp.

Member Data Documentation

◆ m_L

template<bool ShouldPush, typename Target = reference>
lua_State* sol::detail::protected_handler< ShouldPush, Target >::m_L

Definition at line 20740 of file sol.hpp.

◆ stack_index

template<bool ShouldPush, typename Target = reference>
int sol::detail::protected_handler< ShouldPush, Target >::stack_index

Definition at line 20742 of file sol.hpp.

◆ target

template<bool ShouldPush, typename Target = reference>
const Target& sol::detail::protected_handler< ShouldPush, Target >::target

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