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= (protected_function_result &&o) noexcept
 
protected_function_resultoperator= (const unsafe_function_result &o)=delete
 
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=default
 
 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 (const protected_function_result &)=delete
 
 protected_function_result (protected_function_result &&o) noexcept
 
 protected_function_result (const unsafe_function_result &o)=delete
 
 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 15745 of file sol.hpp.

Member Typedef Documentation

Definition at line 15760 of file sol.hpp.

Definition at line 15762 of file sol.hpp.

Definition at line 15757 of file sol.hpp.

Definition at line 15759 of file sol.hpp.

Definition at line 15756 of file sol.hpp.

Definition at line 15754 of file sol.hpp.

Definition at line 15761 of file sol.hpp.

Definition at line 15758 of file sol.hpp.

Definition at line 15755 of file sol.hpp.

Constructor & Destructor Documentation

sol::protected_function_result::protected_function_result ( )
defaultnoexcept
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 15765 of file sol.hpp.

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

Definition at line 15776 of file sol.hpp.

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

Definition at line 19496 of file sol.hpp.

sol::protected_function_result::~protected_function_result ( )
inline

Definition at line 15915 of file sol.hpp.

Member Function Documentation

void sol::protected_function_result::abandon ( )
inlinenoexcept

Definition at line 15908 of file sol.hpp.

iterator sol::protected_function_result::begin ( )
inline

Definition at line 15858 of file sol.hpp.

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

Definition at line 15864 of file sol.hpp.

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

Definition at line 15870 of file sol.hpp.

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

Definition at line 15873 of file sol.hpp.

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

Definition at line 15889 of file sol.hpp.

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

Definition at line 15892 of file sol.hpp.

iterator sol::protected_function_result::end ( )
inline

Definition at line 15861 of file sol.hpp.

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

Definition at line 15867 of file sol.hpp.

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

Definition at line 15810 of file sol.hpp.

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

Definition at line 15850 of file sol.hpp.

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

Definition at line 15896 of file sol.hpp.

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

Definition at line 15783 of file sol.hpp.

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

Definition at line 19504 of file sol.hpp.

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

Definition at line 15854 of file sol.hpp.

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

Definition at line 15905 of file sol.hpp.

reverse_iterator sol::protected_function_result::rbegin ( )
inline

Definition at line 15877 of file sol.hpp.

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

Definition at line 15883 of file sol.hpp.

reverse_iterator sol::protected_function_result::rend ( )
inline

Definition at line 15880 of file sol.hpp.

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

Definition at line 15886 of file sol.hpp.

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

Definition at line 15902 of file sol.hpp.

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

Definition at line 15899 of file sol.hpp.

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

Definition at line 15801 of file sol.hpp.

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

Definition at line 15805 of file sol.hpp.

Member Data Documentation

call_status sol::protected_function_result::err
private

Definition at line 15751 of file sol.hpp.

int sol::protected_function_result::index
private

Definition at line 15748 of file sol.hpp.

lua_State* sol::protected_function_result::L
private

Definition at line 15747 of file sol.hpp.

int sol::protected_function_result::popcount
private

Definition at line 15750 of file sol.hpp.

int sol::protected_function_result::returncount
private

Definition at line 15749 of file sol.hpp.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Dec 6 2020 04:02:52