nngn
|
Internal type used in nested table accesses. More...
#include <table.h>
Public Member Functions | |
int | begin_op (void) const |
void | end_op (int i) const |
value_view ()=default | |
value_view (const value_view &)=default | |
value_view (value_view &&) noexcept=default | |
value_view (lua_State *L, int i) | |
value_view (state_view l, int i) | |
![]() | |
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 | |
![]() | |
table_proxy< table_accessor, std::decay_t< K > > | operator[] (K &&k) const |
lua_Integer | size (void) const |
table_iter< const table_accessor > | begin (void) const |
lua_next -based iteration. | |
table_iter< const table_accessor > | end (void) const |
Sentinel for begin. | |
table_seq_iter< const table_accessor > | ibegin (void) const |
ipairs -style iteration. | |
table_seq_iter< const table_accessor > | iend (void) const |
Sentinel for ibegin. | |
T | raw_get (auto &&k, T &&def=T{}) const |
Gets field without meta methods. | |
T | get_field (auto &&k, T &&def=T{}) const |
Gets field, with optional default value. | |
void | raw_set (auto &&k, auto &&v) const |
Sets a table field without meta methods. | |
void | set (auto &&k, auto &&v) const |
Sets a table field. | |
void | set (std::tuple< Ts... > &&t) const |
Sets multiple table fields. | |
Additional Inherited Members | |
![]() | |
T | get_common (auto &&k, T &&def=T{}) const |
void | set_common (auto &&k, auto &&v) const |
Internal type used in nested table accesses.
|
inline |
|
inline |
|
default |
|
default |
|
inline |
|
inline |
|
defaultnoexcept |