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 *, 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 >
usertype_storage< T > & create_usertype_storage (lua_State *L)
 
template<typename T >
void delete_usertype_storage (lua_State *L)
 
template<typename T >
int destruct_usertype_storage (lua_State *L)
 
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 (string_view s)
 
int is_indexer (meta_function mf)
 
int is_indexer (call_construction)
 
template<typename Arg >
std::string make_string (Arg &&arg)
 
auto make_string_view (string_view s)
 
auto make_string_view (call_construction)
 
auto make_string_view (meta_function mf)
 
auto make_string_view (base_classes_tag)
 
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, int index)
 
optional< usertype_storage_base & > maybe_get_usertype_storage_base (lua_State *L, const char *gcmetakey)
 
int new_index_fail (lua_State *L)
 
int new_index_target_fail (lua_State *L, void *)
 
template<typename T >
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

Definition at line 21731 of file sol.hpp.

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

Definition at line 21729 of file sol.hpp.

Enumeration Type Documentation

Enumerator
value 
reference 
unique 
const_reference 
const_value 
named 

Definition at line 21564 of file sol.hpp.

Function Documentation

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

Definition at line 22459 of file sol.hpp.

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

Definition at line 22535 of file sol.hpp.

template<typename T >
int sol::u_detail::destruct_usertype_storage ( lua_State L)
inline

Definition at line 22315 of file sol.hpp.

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

Definition at line 22527 of file sol.hpp.

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

Definition at line 22506 of file sol.hpp.

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

Definition at line 21834 of file sol.hpp.

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

Definition at line 21846 of file sol.hpp.

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

Definition at line 21597 of file sol.hpp.

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

Definition at line 21607 of file sol.hpp.

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

Definition at line 21617 of file sol.hpp.

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

Definition at line 21592 of file sol.hpp.

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

Definition at line 21575 of file sol.hpp.

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

Definition at line 21579 of file sol.hpp.

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

Definition at line 21583 of file sol.hpp.

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

Definition at line 21587 of file sol.hpp.

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

Definition at line 22515 of file sol.hpp.

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

Definition at line 22490 of file sol.hpp.

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

Definition at line 22499 of file sol.hpp.

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

Definition at line 21850 of file sol.hpp.

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

Definition at line 21854 of file sol.hpp.

template<typename T >
int sol::u_detail::register_usertype ( lua_State L,
automagic_enrollments  enrollments = {} 
)
inline

Definition at line 22574 of file sol.hpp.

Variable Documentation

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

Definition at line 21561 of file sol.hpp.

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

Definition at line 21551 of file sol.hpp.

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

Definition at line 21554 of file sol.hpp.

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

Definition at line 21558 of file sol.hpp.

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

Definition at line 21562 of file sol.hpp.

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

Definition at line 21555 of file sol.hpp.

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

Definition at line 21559 of file sol.hpp.

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

Definition at line 21557 of file sol.hpp.

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

Definition at line 21549 of file sol.hpp.

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

Definition at line 21553 of file sol.hpp.

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

Definition at line 21552 of file sol.hpp.



plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Dec 6 2020 04:02:53