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

#include <sol.hpp>

Public Member Functions

void abandon (lua_State *=nullptr)
 
stateless_reference copy (lua_State *L_) const noexcept
 
void copy_assign (lua_State *L_, const stateless_reference &right) noexcept
 
void deref (lua_State *L_) const noexcept
 
bool equals (lua_State *L_, const stateless_reference &r) const 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_referenceoperator= (const stateless_reference &r) noexcept=delete
 
stateless_referenceoperator= (stateless_reference &&o) noexcept
 
const void * pointer (lua_State *L_) const noexcept
 
void pop (lua_State *L_, int n=1) const noexcept
 
int push (lua_State *L_) const noexcept
 
int registry_index () const noexcept
 
void reset (lua_State *L_) noexcept
 
void reset (lua_State *L_, int index_) noexcept
 
 stateless_reference () noexcept=default
 
 stateless_reference (const stack_reference &r) noexcept
 
 stateless_reference (const stateless_reference &o) noexcept=delete
 
 stateless_reference (lua_nil_t) noexcept
 
 stateless_reference (lua_State *, lua_nil_t) noexcept
 
 stateless_reference (lua_State *L_, absolute_index index_) noexcept
 
 stateless_reference (lua_State *L_, const stack_reference &r) noexcept
 
 stateless_reference (lua_State *L_, const stateless_reference &r) noexcept
 
 stateless_reference (lua_State *L_, const stateless_stack_reference &r) noexcept
 
 stateless_reference (lua_State *L_, int index=-1) noexcept
 
 stateless_reference (lua_State *L_, ref_index index_) noexcept
 
 stateless_reference (lua_State *L_, stateless_reference &&r) noexcept
 
 stateless_reference (stack_reference &&r) noexcept
 
 stateless_reference (stateless_reference &&o) noexcept
 
bool valid (lua_State *) const noexcept
 
 ~stateless_reference () noexcept=default
 

Protected Member Functions

int stack_index () const noexcept
 
 stateless_reference (int raw_ref_index) noexcept
 
 stateless_reference (lua_State *L_, global_tag_t) noexcept
 

Private Member Functions

lua_Statecopy_assign_ref (lua_State *L_, lua_State *rL, const stateless_reference &r)
 
int copy_ref (lua_State *L_) const noexcept
 
lua_Statemove_assign (lua_State *L_, lua_State *rL, stateless_reference &&r)
 

Private Attributes

int ref = LUA_NOREF
 

Friends

template<bool o_main_only>
class basic_reference
 

Detailed Description

Definition at line 10159 of file sol.hpp.

Constructor & Destructor Documentation

◆ stateless_reference() [1/16]

sol::stateless_reference::stateless_reference ( lua_State L_,
global_tag_t   
)
inlineprotectednoexcept

Definition at line 10195 of file sol.hpp.

◆ stateless_reference() [2/16]

sol::stateless_reference::stateless_reference ( int  raw_ref_index)
inlineprotectednoexcept

Definition at line 10203 of file sol.hpp.

◆ stateless_reference() [3/16]

sol::stateless_reference::stateless_reference ( )
defaultnoexcept

◆ stateless_reference() [4/16]

sol::stateless_reference::stateless_reference ( lua_nil_t  )
inlinenoexcept

Definition at line 10208 of file sol.hpp.

◆ stateless_reference() [5/16]

sol::stateless_reference::stateless_reference ( const stack_reference r)
inlinenoexcept

Definition at line 10210 of file sol.hpp.

◆ stateless_reference() [6/16]

sol::stateless_reference::stateless_reference ( stack_reference &&  r)
inlinenoexcept

Definition at line 10212 of file sol.hpp.

◆ stateless_reference() [7/16]

sol::stateless_reference::stateless_reference ( lua_State L_,
const stateless_reference r 
)
inlinenoexcept

Definition at line 10214 of file sol.hpp.

◆ stateless_reference() [8/16]

sol::stateless_reference::stateless_reference ( lua_State L_,
stateless_reference &&  r 
)
inlinenoexcept

Definition at line 10226 of file sol.hpp.

◆ stateless_reference() [9/16]

sol::stateless_reference::stateless_reference ( lua_State L_,
const stack_reference r 
)
inlinenoexcept

Definition at line 10239 of file sol.hpp.

◆ stateless_reference() [10/16]

sol::stateless_reference::stateless_reference ( lua_State L_,
const stateless_stack_reference r 
)
inlinenoexcept

Definition at line 10255 of file sol.hpp.

◆ stateless_reference() [11/16]

sol::stateless_reference::stateless_reference ( lua_State L_,
int  index = -1 
)
inlinenoexcept

Definition at line 10258 of file sol.hpp.

◆ stateless_reference() [12/16]

sol::stateless_reference::stateless_reference ( lua_State L_,
absolute_index  index_ 
)
inlinenoexcept

Definition at line 10265 of file sol.hpp.

◆ stateless_reference() [13/16]

sol::stateless_reference::stateless_reference ( lua_State L_,
ref_index  index_ 
)
inlinenoexcept

Definition at line 10267 of file sol.hpp.

◆ stateless_reference() [14/16]

sol::stateless_reference::stateless_reference ( lua_State ,
lua_nil_t   
)
inlinenoexcept

Definition at line 10271 of file sol.hpp.

◆ ~stateless_reference()

sol::stateless_reference::~stateless_reference ( )
defaultnoexcept

◆ stateless_reference() [15/16]

sol::stateless_reference::stateless_reference ( const stateless_reference o)
deletenoexcept

◆ stateless_reference() [16/16]

sol::stateless_reference::stateless_reference ( stateless_reference &&  o)
inlinenoexcept

Definition at line 10279 of file sol.hpp.

Member Function Documentation

◆ abandon()

void sol::stateless_reference::abandon ( lua_State = nullptr)
inline

Definition at line 10339 of file sol.hpp.

◆ copy()

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

Definition at line 10347 of file sol.hpp.

◆ copy_assign()

void sol::stateless_reference::copy_assign ( lua_State L_,
const stateless_reference right 
)
inlinenoexcept

Definition at line 10354 of file sol.hpp.

◆ copy_assign_ref()

lua_State* sol::stateless_reference::copy_assign_ref ( lua_State L_,
lua_State rL,
const stateless_reference r 
)
inlineprivate

Definition at line 10173 of file sol.hpp.

◆ copy_ref()

int sol::stateless_reference::copy_ref ( lua_State L_) const
inlineprivatenoexcept

Definition at line 10166 of file sol.hpp.

◆ deref()

void sol::stateless_reference::deref ( lua_State L_) const
inlinenoexcept

Definition at line 10343 of file sol.hpp.

◆ equals() [1/3]

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

Definition at line 10364 of file sol.hpp.

◆ equals() [2/3]

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

Definition at line 10370 of file sol.hpp.

◆ equals() [3/3]

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

Definition at line 10375 of file sol.hpp.

◆ get_type()

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

Definition at line 10332 of file sol.hpp.

◆ move_assign()

lua_State* sol::stateless_reference::move_assign ( lua_State L_,
lua_State rL,
stateless_reference &&  r 
)
inlineprivate

Definition at line 10181 of file sol.hpp.

◆ operator=() [1/2]

stateless_reference& sol::stateless_reference::operator= ( const stateless_reference r)
deletenoexcept

◆ operator=() [2/2]

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

Definition at line 10283 of file sol.hpp.

◆ pointer()

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

Definition at line 10325 of file sol.hpp.

◆ pop()

void sol::stateless_reference::pop ( lua_State L_,
int  n = 1 
) const
inlinenoexcept

Definition at line 10297 of file sol.hpp.

◆ push()

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

Definition at line 10289 of file sol.hpp.

◆ registry_index()

int sol::stateless_reference::registry_index ( ) const
inlinenoexcept

Definition at line 10301 of file sol.hpp.

◆ reset() [1/2]

void sol::stateless_reference::reset ( lua_State L_)
inlinenoexcept

Definition at line 10305 of file sol.hpp.

◆ reset() [2/2]

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

Definition at line 10312 of file sol.hpp.

◆ stack_index()

int sol::stateless_reference::stack_index ( ) const
inlineprotectednoexcept

Definition at line 10191 of file sol.hpp.

◆ valid()

bool sol::stateless_reference::valid ( lua_State ) const
inlinenoexcept

Definition at line 10321 of file sol.hpp.

Friends And Related Function Documentation

◆ basic_reference

template<bool o_main_only>
friend class basic_reference
friend

Definition at line 10162 of file sol.hpp.

Member Data Documentation

◆ ref

int sol::stateless_reference::ref = LUA_NOREF
private

Definition at line 10164 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