Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
sol::basic_reference< main_only > Class Template Reference

#include <forward.hpp>

Public Member Functions

 basic_reference () noexcept=default
 
 basic_reference (basic_reference &&o) noexcept
 
 basic_reference (basic_reference<!main_only > &&o) noexcept
 
 basic_reference (const basic_reference &o) noexcept
 
 basic_reference (const basic_reference<!main_only > &o) noexcept
 
 basic_reference (const stack_reference &r) noexcept
 
 basic_reference (lua_nil_t) noexcept
 
template<bool r_main_only>
 basic_reference (lua_State *L_, basic_reference< r_main_only > &&r) noexcept
 
template<bool r_main_only>
 basic_reference (lua_State *L_, const basic_reference< r_main_only > &r) noexcept
 
 basic_reference (lua_State *L_, const stack_reference &r) noexcept
 
 basic_reference (lua_State *L_, int index=-1) noexcept
 
 basic_reference (lua_State *L_, lua_nil_t) noexcept
 
 basic_reference (lua_State *L_, ref_index index) noexcept
 
 basic_reference (stack_reference &&r) noexcept
 
type get_type () const noexcept
 
lua_Statelua_state () const noexcept
 
 operator bool () const noexcept
 
basic_referenceoperator= (basic_reference &&r) noexcept
 
basic_referenceoperator= (basic_reference<!main_only > &&r) noexcept
 
basic_referenceoperator= (const basic_reference &r) noexcept
 
basic_referenceoperator= (const basic_reference<!main_only > &r) noexcept
 
basic_referenceoperator= (const lua_nil_t &) noexcept
 
template<typename Super >
basic_referenceoperator= (const proxy_base< Super > &r)
 
template<typename Super >
basic_reference< b > & operator= (const proxy_base< Super > &r)
 
template<typename Super >
basic_referenceoperator= (proxy_base< Super > &&r)
 
template<typename Super >
basic_reference< b > & operator= (proxy_base< Super > &&r)
 
const void * pointer () const noexcept
 
void pop () const noexcept
 
void pop (lua_State *L_, int n=1) const noexcept
 
int push () const noexcept
 
int push (lua_State *L_) const noexcept
 
int registry_index () const noexcept
 
void reset () noexcept
 
bool valid () const noexcept
 
bool valid (lua_State *L_) const noexcept
 
 ~basic_reference () noexcept
 

Protected Member Functions

 basic_reference (lua_State *L_, global_tag_t) noexcept
 
 basic_reference (lua_State *L_, global_tag_t, global_tag_t) noexcept
 
 basic_reference (lua_State *oL, const basic_reference<!main_only > &o) noexcept
 
int copy_ref () const noexcept
 
int copy_ref (lua_State *L_) const noexcept
 
void deref () const noexcept
 

Private Member Functions

template<bool r_main_only>
void copy_assign_complex (const basic_reference< r_main_only > &r)
 
template<bool r_main_only>
void move_assign (basic_reference< r_main_only > &&r)
 

Private Attributes

lua_Stateluastate = nullptr
 

Friends

template<bool o_main_only>
class basic_reference
 

Detailed Description

template<bool main_only = false>
class sol::basic_reference< main_only >

Definition at line 1099 of file forward.hpp.

Constructor & Destructor Documentation

◆ basic_reference() [1/17]

template<bool main_only = false>
sol::basic_reference< main_only >::basic_reference ( lua_State L_,
global_tag_t   
)
inlineprotectednoexcept

Definition at line 10439 of file sol.hpp.

◆ basic_reference() [2/17]

template<bool main_only = false>
sol::basic_reference< main_only >::basic_reference ( lua_State L_,
global_tag_t  ,
global_tag_t   
)
inlineprotectednoexcept

Definition at line 10442 of file sol.hpp.

◆ basic_reference() [3/17]

template<bool main_only = false>
sol::basic_reference< main_only >::basic_reference ( lua_State oL,
const basic_reference<!main_only > &  o 
)
inlineprotectednoexcept

Definition at line 10445 of file sol.hpp.

◆ basic_reference() [4/17]

template<bool main_only = false>
sol::basic_reference< main_only >::basic_reference ( )
defaultnoexcept

◆ basic_reference() [5/17]

template<bool main_only = false>
sol::basic_reference< main_only >::basic_reference ( lua_nil_t  )
inlinenoexcept

Definition at line 10462 of file sol.hpp.

◆ basic_reference() [6/17]

template<bool main_only = false>
sol::basic_reference< main_only >::basic_reference ( const stack_reference r)
inlinenoexcept

Definition at line 10464 of file sol.hpp.

◆ basic_reference() [7/17]

template<bool main_only = false>
sol::basic_reference< main_only >::basic_reference ( stack_reference &&  r)
inlinenoexcept

Definition at line 10466 of file sol.hpp.

◆ basic_reference() [8/17]

template<bool main_only = false>
template<bool r_main_only>
sol::basic_reference< main_only >::basic_reference ( lua_State L_,
const basic_reference< r_main_only > &  r 
)
inlinenoexcept

Definition at line 10469 of file sol.hpp.

◆ basic_reference() [9/17]

template<bool main_only = false>
template<bool r_main_only>
sol::basic_reference< main_only >::basic_reference ( lua_State L_,
basic_reference< r_main_only > &&  r 
)
inlinenoexcept

Definition at line 10487 of file sol.hpp.

◆ basic_reference() [10/17]

template<bool main_only = false>
sol::basic_reference< main_only >::basic_reference ( lua_State L_,
const stack_reference r 
)
inlinenoexcept

Definition at line 10506 of file sol.hpp.

◆ basic_reference() [11/17]

template<bool main_only = false>
sol::basic_reference< main_only >::basic_reference ( lua_State L_,
int  index = -1 
)
inlinenoexcept

Definition at line 10521 of file sol.hpp.

◆ basic_reference() [12/17]

template<bool main_only = false>
sol::basic_reference< main_only >::basic_reference ( lua_State L_,
ref_index  index 
)
inlinenoexcept

Definition at line 10529 of file sol.hpp.

◆ basic_reference() [13/17]

template<bool main_only = false>
sol::basic_reference< main_only >::basic_reference ( lua_State L_,
lua_nil_t   
)
inlinenoexcept

Definition at line 10533 of file sol.hpp.

◆ ~basic_reference()

template<bool main_only = false>
sol::basic_reference< main_only >::~basic_reference ( )
inlinenoexcept

Definition at line 10536 of file sol.hpp.

◆ basic_reference() [14/17]

template<bool main_only = false>
sol::basic_reference< main_only >::basic_reference ( const basic_reference< main_only > &  o)
inlinenoexcept

Definition at line 10542 of file sol.hpp.

◆ basic_reference() [15/17]

template<bool main_only = false>
sol::basic_reference< main_only >::basic_reference ( basic_reference< main_only > &&  o)
inlinenoexcept

Definition at line 10545 of file sol.hpp.

◆ basic_reference() [16/17]

template<bool main_only = false>
sol::basic_reference< main_only >::basic_reference ( const basic_reference<!main_only > &  o)
inlinenoexcept

Definition at line 10549 of file sol.hpp.

◆ basic_reference() [17/17]

template<bool main_only = false>
sol::basic_reference< main_only >::basic_reference ( basic_reference<!main_only > &&  o)
inlinenoexcept

Definition at line 10553 of file sol.hpp.

Member Function Documentation

◆ copy_assign_complex()

template<bool main_only = false>
template<bool r_main_only>
void sol::basic_reference< main_only >::copy_assign_complex ( const basic_reference< r_main_only > &  r)
inlineprivate

Definition at line 10388 of file sol.hpp.

◆ copy_ref() [1/2]

template<bool main_only = false>
int sol::basic_reference< main_only >::copy_ref ( ) const
inlineprotectednoexcept

Definition at line 10452 of file sol.hpp.

◆ copy_ref() [2/2]

template<bool main_only = false>
int sol::basic_reference< main_only >::copy_ref ( lua_State L_) const
inlineprotectednoexcept

Definition at line 10456 of file sol.hpp.

◆ deref()

template<bool main_only = false>
void sol::basic_reference< main_only >::deref ( ) const
inlineprotectednoexcept

Definition at line 10448 of file sol.hpp.

◆ get_type()

template<bool main_only = false>
type sol::basic_reference< main_only >::get_type ( ) const
inlinenoexcept

Definition at line 10642 of file sol.hpp.

◆ lua_state()

template<bool main_only = false>
lua_State* sol::basic_reference< main_only >::lua_state ( ) const
inlinenoexcept

Definition at line 10646 of file sol.hpp.

◆ move_assign()

template<bool main_only = false>
template<bool r_main_only>
void sol::basic_reference< main_only >::move_assign ( basic_reference< r_main_only > &&  r)
inlineprivate

Definition at line 10412 of file sol.hpp.

◆ operator bool()

template<bool main_only = false>
sol::basic_reference< main_only >::operator bool ( ) const
inlineexplicitnoexcept

Definition at line 10638 of file sol.hpp.

◆ operator=() [1/9]

template<bool main_only = false>
basic_reference& sol::basic_reference< main_only >::operator= ( basic_reference< main_only > &&  r)
inlinenoexcept

Definition at line 10559 of file sol.hpp.

◆ operator=() [2/9]

template<bool main_only = false>
basic_reference& sol::basic_reference< main_only >::operator= ( basic_reference<!main_only > &&  r)
inlinenoexcept

Definition at line 10569 of file sol.hpp.

◆ operator=() [3/9]

template<bool main_only = false>
basic_reference& sol::basic_reference< main_only >::operator= ( const basic_reference< main_only > &  r)
inlinenoexcept

Definition at line 10564 of file sol.hpp.

◆ operator=() [4/9]

template<bool main_only = false>
basic_reference& sol::basic_reference< main_only >::operator= ( const basic_reference<!main_only > &  r)
inlinenoexcept

Definition at line 10574 of file sol.hpp.

◆ operator=() [5/9]

template<bool main_only = false>
basic_reference& sol::basic_reference< main_only >::operator= ( const lua_nil_t )
inlinenoexcept

Definition at line 10579 of file sol.hpp.

◆ operator=() [6/9]

template<bool main_only = false>
template<typename Super >
basic_reference& sol::basic_reference< main_only >::operator= ( const proxy_base< Super > &  r)

◆ operator=() [7/9]

template<bool main_only = false>
template<typename Super >
basic_reference<b>& sol::basic_reference< main_only >::operator= ( const proxy_base< Super > &  r)

Definition at line 25013 of file sol.hpp.

◆ operator=() [8/9]

template<bool main_only = false>
template<typename Super >
basic_reference& sol::basic_reference< main_only >::operator= ( proxy_base< Super > &&  r)

◆ operator=() [9/9]

template<bool main_only = false>
template<typename Super >
basic_reference<b>& sol::basic_reference< main_only >::operator= ( proxy_base< Super > &&  r)

Definition at line 25005 of file sol.hpp.

◆ pointer()

template<bool main_only = false>
const void* sol::basic_reference< main_only >::pointer ( ) const
inlinenoexcept

Definition at line 10634 of file sol.hpp.

◆ pop() [1/2]

template<bool main_only = false>
void sol::basic_reference< main_only >::pop ( ) const
inlinenoexcept

Definition at line 10614 of file sol.hpp.

◆ pop() [2/2]

template<bool main_only = false>
void sol::basic_reference< main_only >::pop ( lua_State L_,
int  n = 1 
) const
inlinenoexcept

Definition at line 10618 of file sol.hpp.

◆ push() [1/2]

template<bool main_only = false>
int sol::basic_reference< main_only >::push ( ) const
inlinenoexcept

Definition at line 10590 of file sol.hpp.

◆ push() [2/2]

template<bool main_only = false>
int sol::basic_reference< main_only >::push ( lua_State L_) const
inlinenoexcept

Definition at line 10599 of file sol.hpp.

◆ registry_index()

template<bool main_only = false>
int sol::basic_reference< main_only >::registry_index ( ) const
inlinenoexcept

Definition at line 10622 of file sol.hpp.

◆ reset()

template<bool main_only = false>
void sol::basic_reference< main_only >::reset ( )
inlinenoexcept

Definition at line 10594 of file sol.hpp.

◆ valid() [1/2]

template<bool main_only = false>
bool sol::basic_reference< main_only >::valid ( ) const
inlinenoexcept

Definition at line 10626 of file sol.hpp.

◆ valid() [2/2]

template<bool main_only = false>
bool sol::basic_reference< main_only >::valid ( lua_State L_) const
inlinenoexcept

Definition at line 10630 of file sol.hpp.

Friends And Related Function Documentation

◆ basic_reference

template<bool main_only = false>
template<bool o_main_only>
friend class basic_reference
friend

Definition at line 10384 of file sol.hpp.

Member Data Documentation

◆ luastate

template<bool main_only = false>
lua_State* sol::basic_reference< main_only >::luastate = nullptr
private

Definition at line 10385 of file sol.hpp.


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


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