nngn
Loading...
Searching...
No Matches
nngn::lua::value Struct Reference

Owning stack value reference. More...

#include <value.h>

Inheritance diagram for nngn::lua::value:
Collaboration diagram for nngn::lua::value:

Public Member Functions

 value (value_view v)
 
 value (value &&rhs) noexcept
 
valueoperator= (value &&rhs) noexcept
 
 ~value (void)
 
value_view release (void)
 
template<typename R = value>
push (void) const
 
value remove (void)
 
 value (value_view v)
 
 value (value &&rhs) noexcept
 
valueoperator= (value &&rhs) noexcept
 
 ~value (void)
 
value_view release (void)
 
template<typename R = value>
push (void) const
 
value remove (void)
 
 value_view (lua_State *L, int i)
 
 value_view (state_view l, int i)
 
 value_view (lua_State *L, int i)
 
 value_view (state_view l, int i)
 
int push (void) const
 
template<typename R = value_view>
push (void) const
 
int push (void) const
 
template<typename R = value_view>
push (void) const
 
 value_view (lua_State *L, int i)
 
 value_view (state_view l, int i)
 
 value_view (lua_State *L, int i)
 
 value_view (state_view l, int i)
 
int push (void) const
 
template<typename R = value_view>
push (void) const
 
int push (void) const
 
template<typename R = value_view>
push (void) const
 
- Public Member Functions inherited from nngn::lua::value_view
 value_view (lua_State *L, int i)
 
 value_view (state_view l, int i)
 
 ~value_view (void)=default
 
state_view state (void) const
 
state_view release (void)
 
int index (void) const
 Lua stack index.
 
type get_type (void) const
 Type of value at index i.
 
bool is_nil (void) const
 
auto to_string (void) const
 
void get (lua_State *L, int i)
 
template<typename T >
requires (detail::can_get<T>)
T get (void) const
 
int push (void) const
 
template<typename R = value_view>
push (void) const
 
template<typename T >
 operator T (void) const
 
 value_view (lua_State *L, int i)
 
 value_view (state_view l, int i)
 
 ~value_view (void)=default
 
state_view state (void) const
 
state_view release (void)
 
int index (void) const
 Lua stack index.
 
type get_type (void) const
 Type of value at index i.
 
bool is_nil (void) const
 
auto to_string (void) const
 
void get (lua_State *L, int i)
 
template<typename T >
requires (detail::can_get<T>)
T get (void) const
 
int push (void) const
 
template<typename R = value_view>
push (void) const
 
template<typename T >
 operator T (void) const
 

Detailed Description

Owning stack value reference.

Constructor & Destructor Documentation

◆ value() [1/4]

nngn::lua::value::value ( value_view  v)
inline

◆ value() [2/4]

nngn::lua::value::value ( value &&  rhs)
inlinenoexcept
Here is the call graph for this function:

◆ ~value() [1/2]

nngn::lua::value::~value ( void  )
inline
Here is the call graph for this function:

◆ value() [3/4]

nngn::lua::value::value ( value_view  v)
inline

◆ value() [4/4]

nngn::lua::value::value ( value &&  rhs)
inlinenoexcept
Here is the call graph for this function:

◆ ~value() [2/2]

nngn::lua::value::~value ( void  )
inline
Here is the call graph for this function:

Member Function Documentation

◆ operator=() [1/2]

value & nngn::lua::value::operator= ( value &&  rhs)
inlinenoexcept
Here is the call graph for this function:

◆ operator=() [2/2]

value & nngn::lua::value::operator= ( value &&  rhs)
noexcept

◆ push() [1/10]

template<typename R = value_view>
R nngn::lua::value_view::push ( void  ) const

◆ push() [2/10]

int nngn::lua::value_view::push ( void  ) const

◆ push() [3/10]

template<typename R = value_view>
R nngn::lua::value_view::push ( void  ) const

◆ push() [4/10]

int nngn::lua::value_view::push ( void  ) const
inline

◆ push() [5/10]

template<typename R = value>
R nngn::lua::value::push ( void  ) const
inline
Here is the caller graph for this function:

◆ push() [6/10]

template<typename R = value_view>
R nngn::lua::value_view::push ( void  ) const

◆ push() [7/10]

int nngn::lua::value_view::push ( void  ) const

◆ push() [8/10]

template<typename R = value_view>
R nngn::lua::value_view::push ( void  ) const

◆ push() [9/10]

int nngn::lua::value_view::push ( void  ) const
inline

◆ push() [10/10]

template<typename R = value>
R nngn::lua::value::push ( void  ) const
inline

◆ release() [1/2]

value_view nngn::lua::value::release ( void  )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ release() [2/2]

value_view nngn::lua::value::release ( void  )
inline
Here is the call graph for this function:

◆ remove() [1/2]

value nngn::lua::value::remove ( void  )
inline
Here is the caller graph for this function:

◆ remove() [2/2]

value nngn::lua::value::remove ( void  )
inline

◆ value_view() [1/8]

nngn::lua::value_view::value_view ( lua_State *  L,
int  i 
)
inline

◆ value_view() [2/8]

nngn::lua::value_view::value_view ( lua_State *  L,
int  i 
)
inline

◆ value_view() [3/8]

nngn::lua::value_view::value_view ( lua_State *  L,
int  i 
)
inline

◆ value_view() [4/8]

nngn::lua::value_view::value_view ( lua_State *  L,
int  i 
)
inline

◆ value_view() [5/8]

nngn::lua::value_view::value_view ( state_view  l,
int  i 
)
inline

◆ value_view() [6/8]

nngn::lua::value_view::value_view ( state_view  l,
int  i 
)
inline

◆ value_view() [7/8]

nngn::lua::value_view::value_view ( state_view  l,
int  i 
)
inline

◆ value_view() [8/8]

nngn::lua::value_view::value_view ( state_view  l,
int  i 
)
inline

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