Classes | Typedefs | Enumerations | Functions | Variables
sol::u_detail Namespace Reference

Classes

struct  binding
 
struct  binding_base
 
struct  binding_data_equals
 
struct  index_call_storage
 
struct  lua_reference_func
 
struct  new_index_call_storage
 
struct  string_for_each_metatable_func
 
struct  update_bases_func
 
struct  usertype_storage
 
struct  usertype_storage_base
 

Typedefs

using change_indexing_mem_func = void(usertype_storage_base::*)(lua_State *, submetatable_type, void *, stateless_stack_reference &, lua_CFunction, lua_CFunction, lua_CFunction, lua_CFunction)
 
using index_call_function = int(lua_State *, void *)
 

Enumerations

enum  submetatable_type {
  submetatable_type::value, submetatable_type::reference, submetatable_type::unique, submetatable_type::const_reference,
  submetatable_type::const_value, submetatable_type::named
}
 

Functions

template<typename T >
void clear_usertype_registry_names (lua_State *L)
 
template<typename T >
void clear_usertype_storage (lua_State *L)
 
template<typename T >
usertype_storage< T > & create_usertype_storage (lua_State *L)
 
template<typename T >
int destroy_usertype_storage (lua_State *L) noexcept
 
template<typename T >
usertype_storage< T > & get_usertype_storage (lua_State *L_)
 
usertype_storage_baseget_usertype_storage_base (lua_State *L_, const char *gcmetakey)
 
int index_fail (lua_State *L_)
 
int index_target_fail (lua_State *L_, void *)
 
int is_indexer (call_construction)
 
int is_indexer (meta_function mf)
 
int is_indexer (string_view s)
 
template<typename Arg >
std::string make_string (Arg &&arg)
 
auto make_string_view (base_classes_tag)
 
auto make_string_view (call_construction)
 
auto make_string_view (meta_function mf)
 
auto make_string_view (string_view s)
 
optional< usertype_storage_base & > maybe_as_usertype_storage_base (lua_State *L, int index)
 
template<typename T >
optional< usertype_storage< T > & > maybe_get_usertype_storage (lua_State *L_)
 
optional< usertype_storage_base & > maybe_get_usertype_storage_base (lua_State *L, const char *gcmetakey)
 
optional< usertype_storage_base & > maybe_get_usertype_storage_base (lua_State *L_, int index)
 
optional< usertype_storage_base & > maybe_get_usertype_storage_base_inside (lua_State *L, int index)
 
int new_index_fail (lua_State *L_)
 
int new_index_target_fail (lua_State *L_, void *)
 
template<typename T , automagic_flags enrollment_flags>
int register_usertype (lua_State *L_, automagic_enrollments enrollments_={})
 

Variables

constexpr const int base_walking_failed_index = -32467
 
constexpr const int environment_index = 1
 
constexpr const int exact_function_index = 4
 
constexpr const int index_function_index = 3
 
constexpr const int lookup_failed_index = -42469
 
constexpr const int magic_index = 5
 
constexpr const int new_index_function_index = 4
 
constexpr const int simple_usertype_storage_index = 2
 
constexpr const lua_Integer toplevel_magic = static_cast<lua_Integer>(0xCCC2CCC1)
 
constexpr const int usertype_storage_base_index = 3
 
constexpr const int usertype_storage_index = 2
 

Typedef Documentation

◆ change_indexing_mem_func

Definition at line 23438 of file sol.hpp.

◆ index_call_function

using sol::u_detail::index_call_function = typedef int(lua_State*, void*)

Definition at line 23436 of file sol.hpp.

Enumeration Type Documentation

◆ submetatable_type

Enumerator
value 
reference 
unique 
const_reference 
const_value 
named 

Definition at line 23260 of file sol.hpp.

Function Documentation

◆ clear_usertype_registry_names()

template<typename T >
void sol::u_detail::clear_usertype_registry_names ( lua_State L)
inline

Definition at line 24197 of file sol.hpp.

◆ clear_usertype_storage()

template<typename T >
void sol::u_detail::clear_usertype_storage ( lua_State L)
inline

Definition at line 24320 of file sol.hpp.

◆ create_usertype_storage()

template<typename T >
usertype_storage<T>& sol::u_detail::create_usertype_storage ( lua_State L)
inline

Definition at line 24225 of file sol.hpp.

◆ destroy_usertype_storage()

template<typename T >
int sol::u_detail::destroy_usertype_storage ( lua_State L)
inlinenoexcept

Definition at line 24219 of file sol.hpp.

◆ get_usertype_storage()

template<typename T >
usertype_storage< T > & sol::u_detail::get_usertype_storage ( lua_State L_)
inline

Definition at line 24312 of file sol.hpp.

◆ get_usertype_storage_base()

usertype_storage_base & sol::u_detail::get_usertype_storage_base ( lua_State L_,
const char *  gcmetakey 
)
inline

Definition at line 24291 of file sol.hpp.

◆ index_fail()

int sol::u_detail::index_fail ( lua_State L_)
inline

Definition at line 23541 of file sol.hpp.

◆ index_target_fail()

int sol::u_detail::index_target_fail ( lua_State L_,
void *   
)
inline

Definition at line 23553 of file sol.hpp.

◆ is_indexer() [1/3]

int sol::u_detail::is_indexer ( call_construction  )
inline

Definition at line 23319 of file sol.hpp.

◆ is_indexer() [2/3]

int sol::u_detail::is_indexer ( meta_function  mf)
inline

Definition at line 23309 of file sol.hpp.

◆ is_indexer() [3/3]

int sol::u_detail::is_indexer ( string_view  s)
inline

Definition at line 23299 of file sol.hpp.

◆ make_string()

template<typename Arg >
std::string sol::u_detail::make_string ( Arg &&  arg)
inline

Definition at line 23294 of file sol.hpp.

◆ make_string_view() [1/4]

auto sol::u_detail::make_string_view ( base_classes_tag  )
inline

Definition at line 23289 of file sol.hpp.

◆ make_string_view() [2/4]

auto sol::u_detail::make_string_view ( call_construction  )
inline

Definition at line 23281 of file sol.hpp.

◆ make_string_view() [3/4]

auto sol::u_detail::make_string_view ( meta_function  mf)
inline

Definition at line 23285 of file sol.hpp.

◆ make_string_view() [4/4]

auto sol::u_detail::make_string_view ( string_view  s)
inline

Definition at line 23271 of file sol.hpp.

◆ maybe_as_usertype_storage_base()

optional<usertype_storage_base&> sol::u_detail::maybe_as_usertype_storage_base ( lua_State L,
int  index 
)
inline

Definition at line 24256 of file sol.hpp.

◆ maybe_get_usertype_storage()

template<typename T >
optional< usertype_storage< T > & > sol::u_detail::maybe_get_usertype_storage ( lua_State L_)
inline

Definition at line 24300 of file sol.hpp.

◆ maybe_get_usertype_storage_base() [1/2]

optional<usertype_storage_base&> sol::u_detail::maybe_get_usertype_storage_base ( lua_State L,
const char *  gcmetakey 
)
inline

Definition at line 24284 of file sol.hpp.

◆ maybe_get_usertype_storage_base() [2/2]

optional< usertype_storage_base & > sol::u_detail::maybe_get_usertype_storage_base ( lua_State L_,
int  index 
)
inline

Definition at line 24275 of file sol.hpp.

◆ maybe_get_usertype_storage_base_inside()

optional<usertype_storage_base&> sol::u_detail::maybe_get_usertype_storage_base_inside ( lua_State L,
int  index 
)
inline

Definition at line 24264 of file sol.hpp.

◆ new_index_fail()

int sol::u_detail::new_index_fail ( lua_State L_)
inline

Definition at line 23557 of file sol.hpp.

◆ new_index_target_fail()

int sol::u_detail::new_index_target_fail ( lua_State L_,
void *   
)
inline

Definition at line 23561 of file sol.hpp.

◆ register_usertype()

template<typename T , automagic_flags enrollment_flags>
int sol::u_detail::register_usertype ( lua_State L_,
automagic_enrollments  enrollments_ = {} 
)
inline

Definition at line 24338 of file sol.hpp.

Variable Documentation

◆ base_walking_failed_index

constexpr const int sol::u_detail::base_walking_failed_index = -32467
constexpr

Definition at line 23257 of file sol.hpp.

◆ environment_index

constexpr const int sol::u_detail::environment_index = 1
constexpr

Definition at line 23247 of file sol.hpp.

◆ exact_function_index

constexpr const int sol::u_detail::exact_function_index = 4
constexpr

Definition at line 23250 of file sol.hpp.

◆ index_function_index

constexpr const int sol::u_detail::index_function_index = 3
constexpr

Definition at line 23254 of file sol.hpp.

◆ lookup_failed_index

constexpr const int sol::u_detail::lookup_failed_index = -42469
constexpr

Definition at line 23258 of file sol.hpp.

◆ magic_index

constexpr const int sol::u_detail::magic_index = 5
constexpr

Definition at line 23251 of file sol.hpp.

◆ new_index_function_index

constexpr const int sol::u_detail::new_index_function_index = 4
constexpr

Definition at line 23255 of file sol.hpp.

◆ simple_usertype_storage_index

constexpr const int sol::u_detail::simple_usertype_storage_index = 2
constexpr

Definition at line 23253 of file sol.hpp.

◆ toplevel_magic

constexpr const lua_Integer sol::u_detail::toplevel_magic = static_cast<lua_Integer>(0xCCC2CCC1)
constexpr

Definition at line 23245 of file sol.hpp.

◆ usertype_storage_base_index

constexpr const int sol::u_detail::usertype_storage_base_index = 3
constexpr

Definition at line 23249 of file sol.hpp.

◆ usertype_storage_index

constexpr const int sol::u_detail::usertype_storage_index = 2
constexpr

Definition at line 23248 of file sol.hpp.



plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:54