Public Member Functions | Static Public Attributes | List of all members
sol::stack::field_getter< T, global, raw, typename > Struct Template Reference

#include <sol.hpp>

Public Member Functions

template<typename Key >
void get (lua_State *L, Key &&key, int tableindex=default_table_index)
 

Static Public Attributes

static constexpr int default_table_index = meta::conditional_t<stack_detail::is_get_direct_v<T, global, raw>, std::integral_constant<int, -1>, std::integral_constant<int, -2>>::value
 

Detailed Description

template<typename T, bool global, bool raw, typename>
struct sol::stack::field_getter< T, global, raw, typename >

Definition at line 11431 of file sol.hpp.

Member Function Documentation

◆ get()

template<typename T , bool global, bool raw, typename >
template<typename Key >
void sol::stack::field_getter< T, global, raw, typename >::get ( lua_State L,
Key &&  key,
int  tableindex = default_table_index 
)
inline

Definition at line 16107 of file sol.hpp.

Member Data Documentation

◆ default_table_index

template<typename T , bool global, bool raw, typename >
constexpr int sol::stack::field_getter< T, global, raw, typename >::default_table_index = meta::conditional_t<stack_detail::is_get_direct_v<T, global, raw>, std::integral_constant<int, -1>, std::integral_constant<int, -2>>::value
inlinestaticconstexpr

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