Public Types | Public Member Functions | Private Attributes | List of all members
sol::protected_function_result Struct Reference

#include <sol.hpp>

Inheritance diagram for sol::protected_function_result:
Inheritance graph
[legend]

Public Types

typedef stack_iterator< stack_proxy, true > const_iterator
 
typedef std::reverse_iterator< const_iteratorconst_reverse_iterator
 
typedef std::ptrdiff_t difference_type
 
typedef stack_iterator< stack_proxy, false > iterator
 
typedef stack_proxypointer
 
typedef stack_proxy reference_type
 
typedef std::reverse_iterator< iteratorreverse_iterator
 
typedef std::size_t size_type
 
typedef stack_proxy value_type
 

Public Member Functions

void abandon () noexcept
 
iterator begin ()
 
const_iterator begin () const
 
const_iterator cbegin () const
 
const_iterator cend () const
 
const_reverse_iterator crbegin () const
 
const_reverse_iterator crend () const
 
iterator end ()
 
const_iterator end () const
 
template<typename T >
decltype(auto) get (int index_offset=0) const
 
type get_type (int index_offset=0) const noexcept
 
lua_Statelua_state () const noexcept
 
protected_function_resultoperator= (const protected_function_result &)=delete
 
protected_function_resultoperator= (const unsafe_function_result &o)=delete
 
protected_function_resultoperator= (protected_function_result &&o) noexcept
 
protected_function_resultoperator= (unsafe_function_result &&o) noexcept
 
stack_proxy operator[] (difference_type index_offset) const
 
int pop_count () const noexcept
 
 protected_function_result () noexcept
 
 protected_function_result (const protected_function_result &)=delete
 
 protected_function_result (const unsafe_function_result &o)=delete
 
 protected_function_result (lua_State *Ls, int idx=-1, int retnum=0, int popped=0, call_status pferr=call_status::ok) noexcept
 
 protected_function_result (protected_function_result &&o) noexcept
 
 protected_function_result (unsafe_function_result &&o) noexcept
 
reverse_iterator rbegin ()
 
const_reverse_iterator rbegin () const
 
reverse_iterator rend ()
 
const_reverse_iterator rend () const
 
int return_count () const noexcept
 
int stack_index () const noexcept
 
call_status status () const noexcept
 
bool valid () const noexcept
 
 ~protected_function_result ()
 
- Public Member Functions inherited from sol::proxy_base< protected_function_result >
lua_Statelua_state () const
 
 operator std::string () const
 
 operator T () const
 
 operator T& () const
 

Private Attributes

call_status err
 
int index
 
lua_StateL
 
int popcount
 
int returncount
 

Detailed Description

Definition at line 17228 of file sol.hpp.

Member Typedef Documentation

◆ const_iterator

Definition at line 17243 of file sol.hpp.

◆ const_reverse_iterator

Definition at line 17245 of file sol.hpp.

◆ difference_type

Definition at line 17240 of file sol.hpp.

◆ iterator

Definition at line 17242 of file sol.hpp.

◆ pointer

Definition at line 17239 of file sol.hpp.

◆ reference_type

Definition at line 17237 of file sol.hpp.

◆ reverse_iterator

Definition at line 17244 of file sol.hpp.

◆ size_type

Definition at line 17241 of file sol.hpp.

◆ value_type

Definition at line 17238 of file sol.hpp.

Constructor & Destructor Documentation

◆ protected_function_result() [1/6]

sol::protected_function_result::protected_function_result ( )
inlinenoexcept

Definition at line 17247 of file sol.hpp.

◆ 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

Definition at line 17248 of file sol.hpp.

◆ protected_function_result() [3/6]

sol::protected_function_result::protected_function_result ( const protected_function_result )
delete

◆ protected_function_result() [4/6]

sol::protected_function_result::protected_function_result ( protected_function_result &&  o)
inlinenoexcept

Definition at line 17259 of file sol.hpp.

◆ protected_function_result() [5/6]

sol::protected_function_result::protected_function_result ( const unsafe_function_result o)
delete

◆ protected_function_result() [6/6]

sol::protected_function_result::protected_function_result ( unsafe_function_result &&  o)
inlinenoexcept

Definition at line 21169 of file sol.hpp.

◆ ~protected_function_result()

sol::protected_function_result::~protected_function_result ( )
inline

Definition at line 17407 of file sol.hpp.

Member Function Documentation

◆ abandon()

void sol::protected_function_result::abandon ( )
inlinenoexcept

Definition at line 17400 of file sol.hpp.

◆ begin() [1/2]

iterator sol::protected_function_result::begin ( )
inline

Definition at line 17350 of file sol.hpp.

◆ begin() [2/2]

const_iterator sol::protected_function_result::begin ( ) const
inline

Definition at line 17356 of file sol.hpp.

◆ cbegin()

const_iterator sol::protected_function_result::cbegin ( ) const
inline

Definition at line 17362 of file sol.hpp.

◆ cend()

const_iterator sol::protected_function_result::cend ( ) const
inline

Definition at line 17365 of file sol.hpp.

◆ crbegin()

const_reverse_iterator sol::protected_function_result::crbegin ( ) const
inline

Definition at line 17381 of file sol.hpp.

◆ crend()

const_reverse_iterator sol::protected_function_result::crend ( ) const
inline

Definition at line 17384 of file sol.hpp.

◆ end() [1/2]

iterator sol::protected_function_result::end ( )
inline

Definition at line 17353 of file sol.hpp.

◆ end() [2/2]

const_iterator sol::protected_function_result::end ( ) const
inline

Definition at line 17359 of file sol.hpp.

◆ get()

template<typename T >
decltype(auto) sol::protected_function_result::get ( int  index_offset = 0) const
inline

Definition at line 17298 of file sol.hpp.

◆ get_type()

type sol::protected_function_result::get_type ( int  index_offset = 0) const
inlinenoexcept

Definition at line 17342 of file sol.hpp.

◆ lua_state()

lua_State* sol::protected_function_result::lua_state ( ) const
inlinenoexcept

Definition at line 17388 of file sol.hpp.

◆ operator=() [1/4]

protected_function_result& sol::protected_function_result::operator= ( const protected_function_result )
delete

◆ operator=() [2/4]

protected_function_result& sol::protected_function_result::operator= ( const unsafe_function_result o)
delete

◆ operator=() [3/4]

protected_function_result& sol::protected_function_result::operator= ( protected_function_result &&  o)
inlinenoexcept

Definition at line 17266 of file sol.hpp.

◆ operator=() [4/4]

protected_function_result & sol::protected_function_result::operator= ( unsafe_function_result &&  o)
inlinenoexcept

Definition at line 21177 of file sol.hpp.

◆ operator[]()

stack_proxy sol::protected_function_result::operator[] ( difference_type  index_offset) const
inline

Definition at line 17346 of file sol.hpp.

◆ pop_count()

int sol::protected_function_result::pop_count ( ) const
inlinenoexcept

Definition at line 17397 of file sol.hpp.

◆ rbegin() [1/2]

reverse_iterator sol::protected_function_result::rbegin ( )
inline

Definition at line 17369 of file sol.hpp.

◆ rbegin() [2/2]

const_reverse_iterator sol::protected_function_result::rbegin ( ) const
inline

Definition at line 17375 of file sol.hpp.

◆ rend() [1/2]

reverse_iterator sol::protected_function_result::rend ( )
inline

Definition at line 17372 of file sol.hpp.

◆ rend() [2/2]

const_reverse_iterator sol::protected_function_result::rend ( ) const
inline

Definition at line 17378 of file sol.hpp.

◆ return_count()

int sol::protected_function_result::return_count ( ) const
inlinenoexcept

Definition at line 17394 of file sol.hpp.

◆ stack_index()

int sol::protected_function_result::stack_index ( ) const
inlinenoexcept

Definition at line 17391 of file sol.hpp.

◆ status()

call_status sol::protected_function_result::status ( ) const
inlinenoexcept

Definition at line 17284 of file sol.hpp.

◆ valid()

bool sol::protected_function_result::valid ( ) const
inlinenoexcept

Definition at line 17288 of file sol.hpp.

Member Data Documentation

◆ err

call_status sol::protected_function_result::err
private

Definition at line 17234 of file sol.hpp.

◆ index

int sol::protected_function_result::index
private

Definition at line 17231 of file sol.hpp.

◆ L

lua_State* sol::protected_function_result::L
private

Definition at line 17230 of file sol.hpp.

◆ popcount

int sol::protected_function_result::popcount
private

Definition at line 17233 of file sol.hpp.

◆ returncount

int sol::protected_function_result::returncount
private

Definition at line 17232 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:31