|
template<typename... Args> |
basic_table_core & | add (Args &&... args) |
|
| basic_table_core () noexcept=default |
|
| basic_table_core (basic_table_core &&)=default |
|
| basic_table_core (const basic_table_core &)=default |
|
| basic_table_core (const stack_reference &r) |
|
| basic_table_core (lua_nil_t r) noexcept |
|
| basic_table_core (lua_State *L, const new_table &nt) |
|
| basic_table_core (lua_State *L, global_tag_t t) noexcept |
|
| basic_table_core (lua_State *L, int index=-1) |
|
| basic_table_core (lua_State *L, ref_index index) |
|
template<typename T , meta::enable_any< is_lua_reference< meta::unqualified_t< T >>> = meta::enabler> |
| basic_table_core (lua_State *L, T &&r) |
|
| basic_table_core (stack_reference &&r) |
|
template<typename T , meta::enable< meta::neg< meta::any_same< meta::unqualified_t< T >, basic_table_core >>, meta::neg< std::is_same< ref_t, stack_reference >>, meta::neg< std::is_same< lua_nil_t, meta::unqualified_t< T >>>, is_lua_reference< meta::unqualified_t< T >>> = meta::enabler> |
| basic_table_core (T &&r) noexcept |
|
iterator | begin () const |
|
const_iterator | cbegin () const |
|
const_iterator | cend () const |
|
void | clear () |
|
template<typename Key , typename Value , typename... Args> |
table | create (int narr, int nrec, Key &&key, Value &&value, Args &&... args) |
|
table | create (int narr=0, int nrec=0) |
|
template<typename Name , typename Key , typename Value , typename... Args> |
table | create (Name &&name, int narr, int nrec, Key &&key, Value &&value, Args &&... args) |
|
template<typename Name > |
table | create (Name &&name, int narr=0, int nrec=0) |
|
template<typename Name , typename... Args> |
table | create_named (Name &&name, Args &&... args) |
|
template<typename... Args> |
table | create_with (Args &&... args) |
|
bool | empty () const |
|
iterator | end () const |
|
template<typename Key = object, typename Value = object, typename Fx > |
void | for_each (Fx &&fx) const |
|
template<typename... Ret, typename... Keys> |
decltype(auto) | get (Keys &&... keys) const |
|
template<typename T , typename Key , typename D > |
decltype(auto) | get_or (Key &&key, D &&otherwise) const |
|
template<typename T , typename Key > |
decltype(auto) | get_or (Key &&key, T &&otherwise) const |
|
template<bool read_only = true, typename... Args> |
table | new_enum (const string_view &name, Args &&... args) |
|
template<typename T , bool read_only = true> |
table | new_enum (const string_view &name, std::initializer_list< std::pair< string_view, T >> items) |
|
template<typename Class , typename Key > |
usertype< Class > | new_usertype (Key &&key) |
|
template<typename Class , typename Key , typename Arg , typename... Args, typename = std::enable_if_t<!std::is_base_of_v<automagic_enrollments, meta::unqualified_t<Arg>>>> |
usertype< Class > | new_usertype (Key &&key, Arg &&arg, Args &&... args) |
|
template<typename Class , typename Key > |
usertype< Class > | new_usertype (Key &&key, automagic_enrollments enrollment) |
|
template<typename Class , typename Key , automagic_flags enrollment_flags> |
usertype< Class > | new_usertype (Key &&key, constant_automagic_enrollments< enrollment_flags > enrollment) |
|
basic_table_core & | operator= (basic_table_core &&)=default |
|
basic_table_core & | operator= (const basic_table_core &)=default |
|
template<typename T > |
auto | operator[] (T &&key) & |
|
template<typename T > |
auto | operator[] (T &&key) && |
|
template<typename T > |
auto | operator[] (T &&key) const & |
|
basic_pairs_range< const basic_table_core > | pairs () const noexcept |
|
basic_pairs_range< basic_table_core > | pairs () noexcept |
|
template<typename... Ret, typename... Keys> |
decltype(auto) | raw_get (Keys &&... keys) const |
|
template<typename T , typename Key , typename D > |
decltype(auto) | raw_get_or (Key &&key, D &&otherwise) const |
|
template<typename T , typename Key > |
decltype(auto) | raw_get_or (Key &&key, T &&otherwise) const |
|
template<typename... Args> |
basic_table_core & | raw_set (Args &&... args) |
|
template<typename... Args> |
basic_table_core & | set (Args &&... args) |
|
template<typename Sig , typename Key , typename... Args> |
basic_table_core & | set_function (Key &&key, Args &&... args) |
|
template<typename Key , typename... Args> |
basic_table_core & | set_function (Key &&key, Args &&... args) |
|
size_t | size () const |
|
template<typename T , typename... Keys> |
decltype(auto) | traverse_get (Keys &&... keys) const |
|
template<typename T , typename... Keys> |
decltype(auto) | traverse_raw_get (Keys &&... keys) const |
|
template<typename... Keys> |
basic_table_core & | traverse_raw_set (Keys &&... keys) |
|
template<typename... Keys> |
basic_table_core & | traverse_set (Keys &&... keys) |
|
|
template<typename R , typename... Args, typename Fx , typename Key , typename = std::invoke_result_t<Fx, Args...>> |
void | set_fx (types< R(Args...)>, Key &&key, Fx &&fx) |
|
template<typename Fx , typename Key , meta::enable< meta::is_specialization_of< meta::unqualified_t< Fx >, overload_set >> = meta::enabler> |
void | set_fx (types<>, Key &&key, Fx &&fx) |
|
template<typename Fx , typename Key , typename... Args, meta::disable< meta::is_specialization_of< meta::unqualified_t< Fx >, overload_set >> = meta::enabler> |
void | set_fx (types<>, Key &&key, Fx &&fx, Args &&... args) |
|
template<typename... Sig, typename... Args, typename Key > |
void | set_resolved_function (Key &&key, Args &&... args) |
|
template<bool global, bool raw, detail::insert_mode mode, typename T , typename Key , typename... Keys> |
decltype(auto) | traverse_get_deep (int table_index, Key &&key, Keys &&... keys) const |
|
template<bool global, bool raw, detail::insert_mode mode, typename T , typename Key , typename... Keys> |
decltype(auto) | traverse_get_deep_optional (int &popcount, int table_index, Key &&key, Keys &&... keys) const |
|
template<bool raw, typename Ret , typename... Keys> |
decltype(auto) | traverse_get_single (int table_index, Keys &&... keys) const |
|
template<bool raw, typename Ret , typename Key > |
decltype(auto) | traverse_get_single_maybe_tuple (int table_index, Key &&key) const |
|
template<bool raw, typename Ret , size_t... I, typename Key > |
decltype(auto) | traverse_get_single_tuple (int table_index, std::index_sequence< I... >, Key &&key) const |
|
template<bool global, bool raw, detail::insert_mode mode, typename Key , typename... Keys> |
void | traverse_set_deep (int table_index, Key &&key, Keys &&... keys) const |
|
template<bool raw, typename... Ret, typename... Keys> |
decltype(auto) | tuple_get (int table_index, Keys &&... keys) const |
|
template<bool raw, typename Pairs , std::size_t... I> |
void | tuple_set (std::index_sequence< I... >, Pairs &&pairs) |
|
template<bool top_level, typename ref_t>
class sol::basic_table_core< top_level, ref_t >
Definition at line 1117 of file forward.hpp.