#include <sol.hpp>
§ const_iterator
§ const_reverse_iterator
§ difference_type
§ iterator
§ pointer
§ reference_type
§ reverse_iterator
§ size_type
§ value_type
§ protected_function_result() [1/6]
sol::protected_function_result::protected_function_result |
( |
| ) |
|
|
default |
§ protected_function_result() [2/6]
sol::protected_function_result::protected_function_result |
( |
lua_State * |
Ls, |
|
|
int |
idx = -1 , |
|
|
int |
retnum = 0 , |
|
|
int |
popped = 0 , |
|
|
call_status |
pferr = call_status::ok |
|
) |
| |
|
inlinenoexcept |
int popcount
Definition: sol.hpp:12217
int returncount
Definition: sol.hpp:12216
int index
Definition: sol.hpp:12215
call_status err
Definition: sol.hpp:12218
lua_State * L
Definition: sol.hpp:12214
§ protected_function_result() [3/6]
§ protected_function_result() [4/6]
int popcount
Definition: sol.hpp:12217
int returncount
Definition: sol.hpp:12216
int index
Definition: sol.hpp:12215
call_status err
Definition: sol.hpp:12218
lua_State * L
Definition: sol.hpp:12214
§ protected_function_result() [5/6]
§ protected_function_result() [6/6]
int popcount
Definition: sol.hpp:12217
int returncount
Definition: sol.hpp:12216
int index
Definition: sol.hpp:12215
call_status err
Definition: sol.hpp:12218
lua_State * L
Definition: sol.hpp:12214
§ ~protected_function_result()
sol::protected_function_result::~protected_function_result |
( |
| ) |
|
|
inline |
int popcount
Definition: sol.hpp:12217
int index
Definition: sol.hpp:12215
lua_State * L
Definition: sol.hpp:12214
void remove(lua_State *L, int rawindex, int count)
Definition: sol.hpp:6576
§ abandon()
void sol::protected_function_result::abandon |
( |
| ) |
|
|
inlinenoexcept |
int popcount
Definition: sol.hpp:12217
int returncount
Definition: sol.hpp:12216
int index
Definition: sol.hpp:12215
call_status err
Definition: sol.hpp:12218
§ begin() [1/2]
iterator sol::protected_function_result::begin |
( |
| ) |
|
|
inline |
stack_iterator< stack_proxy, false > iterator
Definition: sol.hpp:12267
int return_count() const noexcept
Definition: sol.hpp:12368
int index
Definition: sol.hpp:12215
lua_State * L
Definition: sol.hpp:12214
int stack_index() const noexcept
Definition: sol.hpp:12365
§ begin() [2/2]
int return_count() const noexcept
Definition: sol.hpp:12368
stack_iterator< stack_proxy, true > const_iterator
Definition: sol.hpp:12268
int index
Definition: sol.hpp:12215
lua_State * L
Definition: sol.hpp:12214
int stack_index() const noexcept
Definition: sol.hpp:12365
§ cbegin()
iterator begin()
Definition: sol.hpp:12324
§ cend()
iterator end()
Definition: sol.hpp:12327
§ crbegin()
12356 return std::reverse_iterator<const_iterator>(
cbegin());
const_iterator cbegin() const
Definition: sol.hpp:12336
§ crend()
12359 return std::reverse_iterator<const_iterator>(
cend());
const_iterator cend() const
Definition: sol.hpp:12339
§ end() [1/2]
iterator sol::protected_function_result::end |
( |
| ) |
|
|
inline |
stack_iterator< stack_proxy, false > iterator
Definition: sol.hpp:12267
int return_count() const noexcept
Definition: sol.hpp:12368
lua_State * L
Definition: sol.hpp:12214
int stack_index() const noexcept
Definition: sol.hpp:12365
§ end() [2/2]
int return_count() const noexcept
Definition: sol.hpp:12368
stack_iterator< stack_proxy, true > const_iterator
Definition: sol.hpp:12268
lua_State * L
Definition: sol.hpp:12214
int stack_index() const noexcept
Definition: sol.hpp:12365
§ get()
template<typename T >
decltype(auto) sol::protected_function_result::get |
( |
int |
index_offset = 0 | ) |
const |
|
inline |
12313 return tagged_get(types<meta::unqualified_t<T>>(), index_offset);
decltype(auto) tagged_get(types< optional< T >>, int index_offset) const
Definition: sol.hpp:12221
§ get_type()
int index
Definition: sol.hpp:12215
lua_State * L
Definition: sol.hpp:12214
type type_of(lua_State *L, int index)
Definition: sol.hpp:5358
§ lua_state()
lua_State* sol::protected_function_result::lua_state |
( |
| ) |
const |
|
inlinenoexcept |
lua_State * L
Definition: sol.hpp:12214
§ operator=() [1/4]
§ operator=() [2/4]
int popcount
Definition: sol.hpp:12217
int returncount
Definition: sol.hpp:12216
int index
Definition: sol.hpp:12215
call_status err
Definition: sol.hpp:12218
lua_State * L
Definition: sol.hpp:12214
§ operator=() [3/4]
§ operator=() [4/4]
15424 index = o.stack_index();
int popcount
Definition: sol.hpp:12217
int returncount
Definition: sol.hpp:12216
int index
Definition: sol.hpp:12215
call_status err
Definition: sol.hpp:12218
lua_State * L
Definition: sol.hpp:12214
§ operator[]()
12321 return stack_proxy(
L,
index + static_cast<int>(index_offset));
int index
Definition: sol.hpp:12215
lua_State * L
Definition: sol.hpp:12214
§ pop_count()
int sol::protected_function_result::pop_count |
( |
| ) |
const |
|
inlinenoexcept |
int popcount
Definition: sol.hpp:12217
§ rbegin() [1/2]
12344 return std::reverse_iterator<iterator>(
begin());
iterator begin()
Definition: sol.hpp:12324
§ rbegin() [2/2]
12350 return std::reverse_iterator<const_iterator>(
begin());
iterator begin()
Definition: sol.hpp:12324
§ rend() [1/2]
12347 return std::reverse_iterator<iterator>(
end());
iterator end()
Definition: sol.hpp:12327
§ rend() [2/2]
12353 return std::reverse_iterator<const_iterator>(
end());
iterator end()
Definition: sol.hpp:12327
§ return_count()
int sol::protected_function_result::return_count |
( |
| ) |
const |
|
inlinenoexcept |
int returncount
Definition: sol.hpp:12216
§ stack_index()
int sol::protected_function_result::stack_index |
( |
| ) |
const |
|
inlinenoexcept |
int index
Definition: sol.hpp:12215
§ status()
call_status sol::protected_function_result::status |
( |
| ) |
const |
|
inlinenoexcept |
call_status err
Definition: sol.hpp:12218
§ tagged_get() [1/4]
template<typename T >
decltype(auto) sol::protected_function_result::tagged_get |
( |
types< optional< T >> |
, |
|
|
int |
index_offset |
|
) |
| const |
|
inlineprivate |
12223 int target =
index + index_offset;
12227 return stack::get<optional<T>>(
L, target);
bool valid() const noexcept
Definition: sol.hpp:12307
int index
Definition: sol.hpp:12215
decltype(auto) get(lua_State *L, int index, record &tracking)
Definition: sol.hpp:8053
lua_State * L
Definition: sol.hpp:12214
constexpr nullopt_t nullopt
Definition: sol.hpp:3498
§ tagged_get() [2/4]
template<typename T >
decltype(auto) sol::protected_function_result::tagged_get |
( |
types< T > |
, |
|
|
int |
index_offset |
|
) |
| const |
|
inlineprivate |
12232 int target =
index + index_offset;
12233 #if defined(SOL_SAFE_PROXIES) && SOL_SAFE_PROXIES 12238 #endif // Check Argument Safety 12239 return stack::get<T>(
L, target);
bool valid() const noexcept
Definition: sol.hpp:12307
int type_panic_c_str(lua_State *L, int index, type expected, type actual, const char *message=nullptr) noexcept(false)
Definition: sol.hpp:6343
int index
Definition: sol.hpp:12215
lua_State * L
Definition: sol.hpp:12214
type type_of(lua_State *L, int index)
Definition: sol.hpp:5358
§ tagged_get() [3/4]
12243 int target =
index + index_offset;
const auto direct_error
Definition: sol.hpp:411
bool valid() const noexcept
Definition: sol.hpp:12307
int index
Definition: sol.hpp:12215
lua_State * L
Definition: sol.hpp:12214
constexpr nullopt_t nullopt
Definition: sol.hpp:3498
§ tagged_get() [4/4]
error sol::protected_function_result::tagged_get |
( |
types< error > |
, |
|
|
int |
index_offset |
|
) |
| const |
|
inlineprivate |
12251 int target =
index + index_offset;
12252 #if defined(SOL_SAFE_PROXIES) && SOL_SAFE_PROXIES 12257 #endif // Check Argument Safety const auto direct_error
Definition: sol.hpp:411
bool valid() const noexcept
Definition: sol.hpp:12307
int type_panic_c_str(lua_State *L, int index, type expected, type actual, const char *message=nullptr) noexcept(false)
Definition: sol.hpp:6343
int index
Definition: sol.hpp:12215
lua_State * L
Definition: sol.hpp:12214
type type_of(lua_State *L, int index)
Definition: sol.hpp:5358
§ valid()
bool sol::protected_function_result::valid |
( |
| ) |
const |
|
inlinenoexcept |
call_status status() const noexcept
Definition: sol.hpp:12303
§ err
§ index
int sol::protected_function_result::index |
|
private |
lua_State* sol::protected_function_result::L |
|
private |
§ popcount
int sol::protected_function_result::popcount |
|
private |
§ returncount
int sol::protected_function_result::returncount |
|
private |
The documentation for this struct was generated from the following file: