Public Member Functions | Private Attributes | List of all members
sol::stack_reference Class Reference

#include <sol.hpp>

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

Public Member Functions

void abandon ()
 
type get_type () const noexcept
 
lua_Statelua_state () const noexcept
 
stack_referenceoperator= (const stack_reference &) noexcept=default
 
stack_referenceoperator= (stack_reference &&) noexcept=default
 
const void * pointer () const noexcept
 
void pop () const noexcept
 
void pop (lua_State *L_, int pop_count_=1) const noexcept
 
int push () const noexcept
 
int push (lua_State *L_) const noexcept
 
 stack_reference () noexcept=default
 
 stack_reference (const stack_reference &) noexcept=default
 
 stack_reference (lua_nil_t) noexcept
 
 stack_reference (lua_State *L, absolute_index i) noexcept
 
 stack_reference (lua_State *L, const reference &r) noexcept=delete
 
 stack_reference (lua_State *L, const stack_reference &r) noexcept
 
 stack_reference (lua_State *L, int i) noexcept
 
 stack_reference (lua_State *L, lua_nil_t) noexcept
 
 stack_reference (lua_State *L, raw_index i) noexcept
 
 stack_reference (lua_State *L, ref_index i) noexcept=delete
 
 stack_reference (stack_reference &&o) noexcept=default
 
bool valid () const noexcept
 
- Public Member Functions inherited from sol::stateless_stack_reference
void abandon (lua_State *=nullptr) noexcept
 
stateless_stack_reference copy (lua_State *L_) const noexcept
 
void copy_assign (lua_State *, const stateless_stack_reference &right) noexcept
 
bool equals (lua_State *L_, const stateless_stack_reference &r) const noexcept
 
bool equals (lua_State *L_, lua_nil_t) const noexcept
 
type get_type (lua_State *L_) const noexcept
 
stateless_stack_referenceoperator= (const stateless_stack_reference &) noexcept=default
 
stateless_stack_referenceoperator= (stateless_stack_reference &&) noexcept=default
 
const void * pointer (lua_State *L_) const noexcept
 
void pop (lua_State *L_, int pop_count=1) const noexcept
 
int push (lua_State *L_) const noexcept
 
void reset (lua_State *) noexcept
 
void reset (lua_State *L_, int index_) noexcept
 
int stack_index () const noexcept
 
 stateless_stack_reference () noexcept=default
 
 stateless_stack_reference (absolute_index index_) noexcept
 
 stateless_stack_reference (const reference &) noexcept=delete
 
 stateless_stack_reference (const stateless_stack_reference &) noexcept=default
 
 stateless_stack_reference (lua_nil_t) noexcept
 
 stateless_stack_reference (lua_State *, absolute_index index_) noexcept
 
 stateless_stack_reference (lua_State *, raw_index index_) noexcept
 
 stateless_stack_reference (lua_State *, ref_index) noexcept=delete
 
 stateless_stack_reference (lua_State *L_, int index_) noexcept
 
 stateless_stack_reference (raw_index index_) noexcept
 
 stateless_stack_reference (ref_index) noexcept=delete
 
 stateless_stack_reference (stateless_stack_reference &&o) noexcept=default
 
bool valid (lua_State *L) const noexcept
 

Private Attributes

lua_Stateluastate = nullptr
 

Detailed Description

Definition at line 9750 of file sol.hpp.

Constructor & Destructor Documentation

◆ stack_reference() [1/11]

sol::stack_reference::stack_reference ( )
defaultnoexcept

◆ stack_reference() [2/11]

sol::stack_reference::stack_reference ( lua_nil_t  )
inlinenoexcept

Definition at line 9756 of file sol.hpp.

◆ stack_reference() [3/11]

sol::stack_reference::stack_reference ( lua_State L,
lua_nil_t   
)
inlinenoexcept

Definition at line 9757 of file sol.hpp.

◆ stack_reference() [4/11]

sol::stack_reference::stack_reference ( lua_State L,
int  i 
)
inlinenoexcept

Definition at line 9759 of file sol.hpp.

◆ stack_reference() [5/11]

sol::stack_reference::stack_reference ( lua_State L,
absolute_index  i 
)
inlinenoexcept

Definition at line 9761 of file sol.hpp.

◆ stack_reference() [6/11]

sol::stack_reference::stack_reference ( lua_State L,
raw_index  i 
)
inlinenoexcept

Definition at line 9763 of file sol.hpp.

◆ stack_reference() [7/11]

sol::stack_reference::stack_reference ( lua_State L,
ref_index  i 
)
deletenoexcept

◆ stack_reference() [8/11]

sol::stack_reference::stack_reference ( lua_State L,
const reference r 
)
deletenoexcept

◆ stack_reference() [9/11]

sol::stack_reference::stack_reference ( lua_State L,
const stack_reference r 
)
inlinenoexcept

Definition at line 9767 of file sol.hpp.

◆ stack_reference() [10/11]

sol::stack_reference::stack_reference ( stack_reference &&  o)
defaultnoexcept

◆ stack_reference() [11/11]

sol::stack_reference::stack_reference ( const stack_reference )
defaultnoexcept

Member Function Documentation

◆ abandon()

void sol::stack_reference::abandon ( )
inline

Definition at line 9820 of file sol.hpp.

◆ get_type()

type sol::stack_reference::get_type ( ) const
inlinenoexcept

Definition at line 9808 of file sol.hpp.

◆ lua_state()

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

Definition at line 9812 of file sol.hpp.

◆ operator=() [1/2]

stack_reference& sol::stack_reference::operator= ( const stack_reference )
defaultnoexcept

◆ operator=() [2/2]

stack_reference& sol::stack_reference::operator= ( stack_reference &&  )
defaultnoexcept

◆ pointer()

const void* sol::stack_reference::pointer ( ) const
inlinenoexcept

Definition at line 9804 of file sol.hpp.

◆ pop() [1/2]

void sol::stack_reference::pop ( ) const
inlinenoexcept

Definition at line 9796 of file sol.hpp.

◆ pop() [2/2]

void sol::stack_reference::pop ( lua_State L_,
int  pop_count_ = 1 
) const
inlinenoexcept

Definition at line 9800 of file sol.hpp.

◆ push() [1/2]

int sol::stack_reference::push ( ) const
inlinenoexcept

Definition at line 9788 of file sol.hpp.

◆ push() [2/2]

int sol::stack_reference::push ( lua_State L_) const
inlinenoexcept

Definition at line 9792 of file sol.hpp.

◆ valid()

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

Definition at line 9816 of file sol.hpp.

Member Data Documentation

◆ luastate

lua_State* sol::stack_reference::luastate = nullptr
private

Definition at line 9752 of file sol.hpp.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Tue Nov 26 2024 03:24:15