|
nngn
|
Base, non-owning generic stack value reference. More...
#include <value.h>


Public Member Functions | |
| value_view ()=default | |
| value_view (const value_view &)=default | |
| value_view & | operator= (const value_view &)=default |
| value_view (value_view &&) noexcept=default | |
| value_view & | operator= (value_view &&) noexcept=default |
| 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> | |
| R | push (void) const |
| template<typename T > | |
| operator T (void) const | |
Private Attributes | |
| state_view | m_state = {} |
| int | m_index = 0 |
Base, non-owning generic stack value reference.
|
default |
|
default |
|
defaultnoexcept |
|
inline |
|
inline |
|
default |
|
inline |

| T nngn::lua::value_view::get | ( | void | ) | const |

|
inline |
Type of value at index i.


|
inline |
Lua stack index.

|
inline |


|
default |
|
defaultnoexcept |
|
inline |


| R nngn::lua::value_view::push | ( | void | ) | const |

|
inline |


|
inline |

|
inline |


|
private |
|
private |