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

#include <sol.hpp>

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

Public Member Functions

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 Member Functions

int registry_index () const noexcept
 

Private Attributes

int m_index = 0
 

Friends

class stack_reference
 

Detailed Description

Definition at line 9659 of file sol.hpp.

Constructor & Destructor Documentation

◆ stateless_stack_reference() [1/12]

sol::stateless_stack_reference::stateless_stack_reference ( )
defaultnoexcept

◆ stateless_stack_reference() [2/12]

sol::stateless_stack_reference::stateless_stack_reference ( lua_nil_t  )
inlinenoexcept

Definition at line 9671 of file sol.hpp.

◆ stateless_stack_reference() [3/12]

sol::stateless_stack_reference::stateless_stack_reference ( lua_State L_,
int  index_ 
)
inlinenoexcept

Definition at line 9672 of file sol.hpp.

◆ stateless_stack_reference() [4/12]

sol::stateless_stack_reference::stateless_stack_reference ( lua_State ,
absolute_index  index_ 
)
inlinenoexcept

Definition at line 9674 of file sol.hpp.

◆ stateless_stack_reference() [5/12]

sol::stateless_stack_reference::stateless_stack_reference ( lua_State ,
raw_index  index_ 
)
inlinenoexcept

Definition at line 9676 of file sol.hpp.

◆ stateless_stack_reference() [6/12]

sol::stateless_stack_reference::stateless_stack_reference ( absolute_index  index_)
inlinenoexcept

Definition at line 9678 of file sol.hpp.

◆ stateless_stack_reference() [7/12]

sol::stateless_stack_reference::stateless_stack_reference ( raw_index  index_)
inlinenoexcept

Definition at line 9680 of file sol.hpp.

◆ stateless_stack_reference() [8/12]

sol::stateless_stack_reference::stateless_stack_reference ( lua_State ,
ref_index   
)
deletenoexcept

◆ stateless_stack_reference() [9/12]

sol::stateless_stack_reference::stateless_stack_reference ( ref_index  )
deletenoexcept

◆ stateless_stack_reference() [10/12]

sol::stateless_stack_reference::stateless_stack_reference ( const reference )
deletenoexcept

◆ stateless_stack_reference() [11/12]

sol::stateless_stack_reference::stateless_stack_reference ( const stateless_stack_reference )
defaultnoexcept

◆ stateless_stack_reference() [12/12]

sol::stateless_stack_reference::stateless_stack_reference ( stateless_stack_reference &&  o)
defaultnoexcept

Member Function Documentation

◆ abandon()

void sol::stateless_stack_reference::abandon ( lua_State = nullptr)
inlinenoexcept

Definition at line 9729 of file sol.hpp.

◆ copy()

stateless_stack_reference sol::stateless_stack_reference::copy ( lua_State L_) const
inlinenoexcept

Definition at line 9733 of file sol.hpp.

◆ copy_assign()

void sol::stateless_stack_reference::copy_assign ( lua_State ,
const stateless_stack_reference right 
)
inlinenoexcept

Definition at line 9737 of file sol.hpp.

◆ equals() [1/2]

bool sol::stateless_stack_reference::equals ( lua_State L_,
const stateless_stack_reference r 
) const
inlinenoexcept

Definition at line 9741 of file sol.hpp.

◆ equals() [2/2]

bool sol::stateless_stack_reference::equals ( lua_State L_,
lua_nil_t   
) const
inlinenoexcept

Definition at line 9745 of file sol.hpp.

◆ get_type()

type sol::stateless_stack_reference::get_type ( lua_State L_) const
inlinenoexcept

Definition at line 9711 of file sol.hpp.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ pointer()

const void* sol::stateless_stack_reference::pointer ( lua_State L_) const
inlinenoexcept

Definition at line 9706 of file sol.hpp.

◆ pop()

void sol::stateless_stack_reference::pop ( lua_State L_,
int  pop_count = 1 
) const
inlinenoexcept

Definition at line 9698 of file sol.hpp.

◆ push()

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

Definition at line 9690 of file sol.hpp.

◆ registry_index()

int sol::stateless_stack_reference::registry_index ( ) const
inlineprivatenoexcept

Definition at line 9665 of file sol.hpp.

◆ reset() [1/2]

void sol::stateless_stack_reference::reset ( lua_State )
inlinenoexcept

Definition at line 9721 of file sol.hpp.

◆ reset() [2/2]

void sol::stateless_stack_reference::reset ( lua_State L_,
int  index_ 
)
inlinenoexcept

Definition at line 9725 of file sol.hpp.

◆ stack_index()

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

Definition at line 9702 of file sol.hpp.

◆ valid()

bool sol::stateless_stack_reference::valid ( lua_State L) const
inlinenoexcept

Definition at line 9716 of file sol.hpp.

Friends And Related Function Documentation

◆ stack_reference

friend class stack_reference
friend

Definition at line 9661 of file sol.hpp.

Member Data Documentation

◆ m_index

int sol::stateless_stack_reference::m_index = 0
private

Definition at line 9663 of file sol.hpp.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:53