Libsaki
Core library of Pancake Mahjong
Public Member Functions | Friends | List of all members
sol::basic_lua_table< ref_t > Struct Template Reference
Inheritance diagram for sol::basic_lua_table< ref_t >:
Inheritance graph
[legend]
Collaboration diagram for sol::basic_lua_table< ref_t >:
Collaboration graph
[legend]

Public Member Functions

 basic_lua_table (const basic_lua_table &)=default
 
 basic_lua_table (basic_lua_table &&)=default
 
basic_lua_tableoperator= (const basic_lua_table &)=default
 
basic_lua_tableoperator= (basic_lua_table &&)=default
 
 basic_lua_table (const stack_reference &r)
 
 basic_lua_table (stack_reference &&r)
 
template<typename T , meta::enable_any< is_lua_reference< meta::unqualified_t< T >>> = meta::enabler>
 basic_lua_table (lua_State *L, T &&r)
 
 basic_lua_table (lua_State *L, const new_table &nt)
 
 basic_lua_table (lua_State *L, int index=-1)
 
 basic_lua_table (lua_State *L, ref_index index)
 
template<typename T , meta::enable< meta::neg< meta::any_same< meta::unqualified_t< T >, basic_lua_table >>, 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_lua_table (T &&r) noexcept
 
 basic_lua_table (lua_nil_t r) noexcept
 
- Public Member Functions inherited from sol::basic_table_core< false, ref_t >
 basic_table_core (const basic_table_core &)=default
 
 basic_table_core (basic_table_core &&)=default
 
 basic_table_core (const stack_reference &r)
 
 basic_table_core (stack_reference &&r)
 
 basic_table_core (lua_State *L, T &&r)
 
 basic_table_core (lua_State *L, const new_table &nt)
 
 basic_table_core (lua_State *L, int index=-1)
 
 basic_table_core (lua_State *L, ref_index index)
 
 basic_table_core (T &&r) noexcept
 
 basic_table_core (lua_nil_t r) noexcept
 
 basic_table_core (lua_State *L, global_tag_t t) noexcept
 
basic_table_coreoperator= (const basic_table_core &)=default
 
basic_table_coreoperator= (basic_table_core &&)=default
 
iterator begin () const
 
iterator end () const
 
const_iterator cbegin () const
 
const_iterator cend () const
 
basic_pairs_range< basic_table_corepairs () noexcept
 
basic_pairs_range< const basic_table_corepairs () const noexcept
 
void clear ()
 
decltype(auto) get (Keys &&... keys) const
 
decltype(auto) get_or (Key &&key, T &&otherwise) const
 
decltype(auto) get_or (Key &&key, D &&otherwise) const
 
decltype(auto) traverse_get (Keys &&... keys) const
 
basic_table_coretraverse_set (Keys &&... keys)
 
basic_table_coreset (Args &&... args)
 
decltype(auto) raw_get (Keys &&... keys) const
 
decltype(auto) raw_get_or (Key &&key, T &&otherwise) const
 
decltype(auto) raw_get_or (Key &&key, D &&otherwise) const
 
decltype(auto) traverse_raw_get (Keys &&... keys) const
 
basic_table_coretraverse_raw_set (Keys &&... keys)
 
basic_table_coreraw_set (Args &&... args)
 
usertype< Class > new_usertype (Key &&key)
 
usertype< Class > new_usertype (Key &&key, constant_automagic_enrollments< enrollment_flags > enrollment)
 
usertype< Class > new_usertype (Key &&key, automagic_enrollments enrollment)
 
usertype< Class > new_usertype (Key &&key, Arg &&arg, Args &&... args)
 
table new_enum (const string_view &name, Args &&... args)
 
table new_enum (const string_view &name, std::initializer_list< std::pair< string_view, T >> items)
 
void for_each (Fx &&fx) const
 
size_t size () const
 
bool empty () const
 
auto operator[] (T &&key) &
 
auto operator[] (T &&key) const &
 
auto operator[] (T &&key) &&
 
basic_table_coreset_function (Key &&key, Args &&... args)
 
basic_table_coreset_function (Key &&key, Args &&... args)
 
basic_table_coreadd (Args &&... args)
 
table create (int narr=0, int nrec=0)
 
table create (int narr, int nrec, Key &&key, Value &&value, Args &&... args)
 
table create (Name &&name, int narr=0, int nrec=0)
 
table create (Name &&name, int narr, int nrec, Key &&key, Value &&value, Args &&... args)
 
table create_with (Args &&... args)
 
table create_named (Name &&name, Args &&... args)
 
- Public Member Functions inherited from sol::basic_object< ref_t >
 basic_object (T &&r)
 
 basic_object (lua_State *L_, T &&r)
 
 basic_object (lua_State *L_, global_tag_t t)
 
 basic_object (lua_nil_t r)
 
 basic_object (const basic_object &)=default
 
 basic_object (basic_object &&)=default
 
 basic_object (const stack_reference &r) noexcept
 
 basic_object (stack_reference &&r) noexcept
 
 basic_object (const proxy_base< Super > &r) noexcept
 
 basic_object (proxy_base< Super > &&r) noexcept
 
 basic_object (lua_State *L_, lua_nil_t r) noexcept
 
 basic_object (lua_State *L_, int index_=-1) noexcept
 
 basic_object (lua_State *L_, absolute_index index_) noexcept
 
 basic_object (lua_State *L_, raw_index index_) noexcept
 
 basic_object (lua_State *L_, ref_index index_) noexcept
 
 basic_object (lua_State *L_, in_place_type_t< T >, Args &&... args) noexcept
 
 basic_object (lua_State *L_, in_place_t, T &&arg, Args &&... args) noexcept
 
basic_objectoperator= (const basic_object &)=default
 
basic_objectoperator= (basic_object &&)=default
 
basic_objectoperator= (const ref_t &b)
 
basic_objectoperator= (ref_t &&b)
 
basic_objectoperator= (const proxy_base< Super > &r)
 
basic_objectoperator= (proxy_base< Super > &&r)
 
- Public Member Functions inherited from sol::basic_object_base< ref_t >
 basic_object_base (const basic_object_base &)=default
 
 basic_object_base (basic_object_base &&)=default
 
basic_object_baseoperator= (const basic_object_base &)=default
 
basic_object_baseoperator= (basic_object_base &&)=default
 
template<typename T , typename... Args, meta::enable< meta::neg< std::is_same< meta::unqualified_t< T >, basic_object_base >>> = meta::enabler>
 basic_object_base (T &&arg, Args &&... args)
 
template<typename T >
decltype(auto) as () const
 
template<typename T >
bool is () const
 

Friends

class state
 
class state_view
 

Additional Inherited Members

- Public Types inherited from sol::basic_table_core< false, ref_t >
using iterator = basic_table_iterator< ref_t >
 
using const_iterator = iterator
 
- Static Public Member Functions inherited from sol::basic_table_core< false, ref_t >
static table create (lua_State *L, int narr=0, int nrec=0)
 
static table create (lua_State *L, int narr, int nrec, Key &&key, Value &&value, Args &&... args)
 
static table create_with (lua_State *L, Args &&... args)
 
- Protected Member Functions inherited from sol::basic_table_core< false, ref_t >
 basic_table_core (detail::no_safety_tag, lua_nil_t n)
 
 basic_table_core (detail::no_safety_tag, lua_State *L, int index)
 
 basic_table_core (detail::no_safety_tag, lua_State *L, ref_index index)
 
 basic_table_core (detail::no_safety_tag, T &&r) noexcept
 
 basic_table_core (detail::no_safety_tag, lua_State *L, T &&r) noexcept
 
- Protected Member Functions inherited from sol::basic_object< ref_t >
 basic_object (detail::no_safety_tag, lua_nil_t n)
 
 basic_object (detail::no_safety_tag, lua_State *L_, int index_)
 
 basic_object (detail::no_safety_tag, lua_State *L_, ref_index index_)
 
 basic_object (detail::no_safety_tag, T &&r) noexcept
 
 basic_object (detail::no_safety_tag, lua_State *L_, T &&r) noexcept
 

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