GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
chaiscript::detail Namespace Reference

Classes and functions reserved for internal use. Items in this namespace are not supported. More...

Namespaces

namespace  threading
namespace  exception

Classes

class  Any
struct  Cast_Helper_Inner
 Generic Cast_Helper_Inner, for casting to any type. More...
struct  Cast_Helper_Inner< const Result >
struct  Cast_Helper_Inner< const Result * >
 Cast_Helper_Inner for casting to a const * type. More...
struct  Cast_Helper_Inner< Result * >
 Cast_Helper_Inner for casting to a * type. More...
struct  Cast_Helper_Inner< Result *const & >
struct  Cast_Helper_Inner< const Result *const & >
struct  Cast_Helper_Inner< const Result & >
 Cast_Helper_Inner for casting to a & type. More...
struct  Cast_Helper_Inner< Result & >
 Cast_Helper_Inner for casting to a & type. More...
struct  Cast_Helper_Inner< Result && >
 Cast_Helper_Inner for casting to a && type. More...
struct  Cast_Helper_Inner< std::unique_ptr< Result > && >
struct  Cast_Helper_Inner< std::unique_ptr< Result > & >
struct  Cast_Helper_Inner< const std::unique_ptr< Result > & >
struct  Cast_Helper_Inner< std::shared_ptr< Result > >
 Cast_Helper_Inner for casting to a std::shared_ptr<> type. More...
struct  Cast_Helper_Inner< std::shared_ptr< const Result > >
 Cast_Helper_Inner for casting to a std::shared_ptr<const> type. More...
struct  Cast_Helper_Inner< const std::shared_ptr< Result > >
 Cast_Helper_Inner for casting to a const std::shared_ptr<> & type. More...
struct  Cast_Helper_Inner< const std::shared_ptr< Result > & >
struct  Cast_Helper_Inner< std::shared_ptr< Result > & >
struct  Cast_Helper_Inner< const std::shared_ptr< const Result > >
 Cast_Helper_Inner for casting to a const std::shared_ptr<const> & type. More...
struct  Cast_Helper_Inner< const std::shared_ptr< const Result > & >
struct  Cast_Helper_Inner< Boxed_Value >
 Cast_Helper_Inner for casting to a Boxed_Value type. More...
struct  Cast_Helper_Inner< Boxed_Value & >
 Cast_Helper_Inner for casting to a Boxed_Value & type. More...
struct  Cast_Helper_Inner< const Boxed_Value >
 Cast_Helper_Inner for casting to a const Boxed_Value & type. More...
struct  Cast_Helper_Inner< const Boxed_Value & >
struct  Cast_Helper_Inner< std::reference_wrapper< Result > >
 Cast_Helper_Inner for casting to a std::reference_wrapper type. More...
struct  Cast_Helper_Inner< const std::reference_wrapper< Result > >
struct  Cast_Helper_Inner< const std::reference_wrapper< Result > & >
struct  Cast_Helper_Inner< std::reference_wrapper< const Result > >
struct  Cast_Helper_Inner< const std::reference_wrapper< const Result > >
struct  Cast_Helper_Inner< const std::reference_wrapper< const Result > & >
struct  Cast_Helper
 The exposed Cast_Helper object that by default just calls the Cast_Helper_Inner. More...
struct  Cast_Helper< Boxed_Number >
 Cast_Helper for converting from Boxed_Value to Boxed_Number. More...
struct  Cast_Helper< const Boxed_Number & >
 Cast_Helper for converting from Boxed_Value to Boxed_Number. More...
struct  Cast_Helper< const Boxed_Number >
 Cast_Helper for converting from Boxed_Value to Boxed_Number. More...
class  Dispatch_Function
struct  Stack_Holder
class  Dispatch_Engine
class  Dispatch_State
struct  Exception_Handler_Base
struct  Exception_Handler_Impl
struct  Cast_Helper< const std::function< Signature > & >
 Cast helper to handle automatic casting to const std::function &. More...
struct  Cast_Helper< std::function< Signature > >
 Cast helper to handle automatic casting to std::function. More...
struct  Cast_Helper< const std::function< Signature > >
 Cast helper to handle automatic casting to const std::function. More...
class  Type_Conversion_Base
class  Static_Caster
class  Dynamic_Caster
class  Dynamic_Conversion_Impl
class  Static_Conversion_Impl
class  Type_Conversion_Impl
struct  Bare_Type
struct  Get_Type_Info
 Helper used to create a Type_Info object. More...
struct  Get_Type_Info< std::shared_ptr< T > >
struct  Get_Type_Info< std::shared_ptr< T > & >
struct  Get_Type_Info< const std::shared_ptr< T > & >
struct  Get_Type_Info< std::reference_wrapper< T > >
struct  Get_Type_Info< const std::reference_wrapper< T > & >
struct  Loadable_Module

Typedefs

typedef std::shared_ptr< Loadable_Module > Loadable_Module_Ptr

Functions

template<typename T>
T * get_pointer (T *t)
template<typename T>
T * get_pointer (const std::reference_wrapper< T > &t)
template<typename O, typename Ret, typename P1, typename ... Param>
auto bind_first (Ret(*f)(P1, Param...), O &&o)
template<typename O, typename Ret, typename Class, typename ... Param>
auto bind_first (Ret(Class::*f)(Param...), O &&o)
template<typename O, typename Ret, typename P1, typename ... Param>
auto bind_first (const std::function< Ret(P1, Param...)> &f, O &&o)
template<typename F, typename O, typename Ret, typename Class, typename P1, typename ... Param>
auto bind_first (const F &fo, O &&o, Ret(Class::*f)(P1, Param...) const)
template<typename F, typename O>
auto bind_first (const F &f, O &&o)
template<typename T>
T * throw_if_null (T *t)
template<typename T>
Boxed_Value const_var_impl (const T &t)
 Takes a value, copies it and returns a Boxed_Value object that is immutable.
template<typename T>
Boxed_Value const_var_impl (T *t)
 Takes a pointer to a value, adds const to the pointed to type and returns an immutable Boxed_Value. Does not copy the pointed to value.
template<typename T>
Boxed_Value const_var_impl (const std::shared_ptr< T > &t)
 Takes a std::shared_ptr to a value, adds const to the pointed to type and returns an immutable Boxed_Value. Does not copy the pointed to value.
template<typename T>
Boxed_Value const_var_impl (const std::reference_wrapper< T > &t)
 Takes a std::reference_wrapper value, adds const to the referenced type and returns an immutable Boxed_Value. Does not copy the referenced value.

Detailed Description

Classes and functions reserved for internal use. Items in this namespace are not supported.

Typedef Documentation

◆ Loadable_Module_Ptr

Function Documentation

◆ bind_first() [1/5]

template<typename F, typename O>
auto chaiscript::detail::bind_first ( const F & f,
O && o )

◆ bind_first() [2/5]

template<typename F, typename O, typename Ret, typename Class, typename P1, typename ... Param>
auto chaiscript::detail::bind_first ( const F & fo,
O && o,
Ret(Class::* f )(P1, Param...) const )

◆ bind_first() [3/5]

template<typename O, typename Ret, typename P1, typename ... Param>
auto chaiscript::detail::bind_first ( const std::function< Ret(P1, Param...)> & f,
O && o )

◆ bind_first() [4/5]

template<typename O, typename Ret, typename P1, typename ... Param>
auto chaiscript::detail::bind_first ( Ret(* f )(P1, Param...),
O && o )
Here is the caller graph for this function:

◆ bind_first() [5/5]

template<typename O, typename Ret, typename Class, typename ... Param>
auto chaiscript::detail::bind_first ( Ret(Class::* f )(Param...),
O && o )

◆ const_var_impl() [1/4]

template<typename T>
Boxed_Value chaiscript::detail::const_var_impl ( const std::reference_wrapper< T > & t)

Takes a std::reference_wrapper value, adds const to the referenced type and returns an immutable Boxed_Value. Does not copy the referenced value.

Parameters
[in]tReference object to make immutable
Returns
Immutable Boxed_Value
See also
Boxed_Value::is_const

◆ const_var_impl() [2/4]

template<typename T>
Boxed_Value chaiscript::detail::const_var_impl ( const std::shared_ptr< T > & t)

Takes a std::shared_ptr to a value, adds const to the pointed to type and returns an immutable Boxed_Value. Does not copy the pointed to value.

Parameters
[in]tPointer to make immutable
Returns
Immutable Boxed_Value
See also
Boxed_Value::is_const

◆ const_var_impl() [3/4]

template<typename T>
Boxed_Value chaiscript::detail::const_var_impl ( const T & t)

Takes a value, copies it and returns a Boxed_Value object that is immutable.

Parameters
[in]tValue to copy and make const
Returns
Immutable Boxed_Value
See also
Boxed_Value::is_const
Here is the caller graph for this function:

◆ const_var_impl() [4/4]

template<typename T>
Boxed_Value chaiscript::detail::const_var_impl ( T * t)

Takes a pointer to a value, adds const to the pointed to type and returns an immutable Boxed_Value. Does not copy the pointed to value.

Parameters
[in]tPointer to make immutable
Returns
Immutable Boxed_Value
See also
Boxed_Value::is_const

◆ get_pointer() [1/2]

template<typename T>
T * chaiscript::detail::get_pointer ( const std::reference_wrapper< T > & t)

◆ get_pointer() [2/2]

template<typename T>
T * chaiscript::detail::get_pointer ( T * t)
Here is the caller graph for this function:

◆ throw_if_null()

template<typename T>
T * chaiscript::detail::throw_if_null ( T * t)