nngn
|
lua_next
-based table iterator.
More...
#include <iter.h>
Public Types | |
using | value_type = std::pair<value_view, value_view> |
Public Types inherited from nngn::lua::detail::table_iter_base< table_iter< T >, T > | |
using | difference_type |
Public Member Functions | |
value_type | operator* (void) const |
table_iter (T *table) | |
table_iter & | operator++ (void) |
table_iter | operator++ (int) |
Public Member Functions inherited from nngn::lua::detail::table_iter_base< table_iter< T >, T > | |
table_iter_base (void)=default | |
table_iter_base (T *table_) | |
table_iter_base & | operator++ (void) |
table_iter_base | operator++ (int) |
Private Types | |
using | base = table_iter_base<table_iter, T> |
Private Member Functions | |
table_iter & | next (void) |
Private Attributes | |
friend | base |
int | key_idx = 0 |
Additional Inherited Members | |
Protected Member Functions inherited from nngn::lua::detail::table_iter_base< table_iter< T >, T > | |
table_iter< T > & | pre_inc (void) |
table_iter< T > | post_inc (void) |
Protected Attributes inherited from nngn::lua::detail::table_iter_base< table_iter< T >, T > | |
T * | table |
lua_next
-based table iterator.
|
private |
using nngn::lua::detail::table_iter< T >::value_type = std::pair<value_view, value_view> |
nngn::lua::detail::table_iter< T >::table_iter | ( | T * | table | ) |
|
private |
auto nngn::lua::detail::table_iter< T >::operator* | ( | void | ) | const |
|
inline |
|
inline |
|
private |
|
private |