|
GameApi 28
Library used by GameApi Builder tool
|
Functions | |
| template<typename Ret, typename ... Params> | |
| std::function< Ret(Params...)> | build_function_caller_helper (Ret(Params...), const std::vector< Const_Proxy_Function > &funcs, const Type_Conversions_State *t_conversions) |
| template<typename Class, typename ... Params> | |
| Proxy_Function | build_constructor_ (Class(*)(Params...)) |
| template<typename FuncType> | |
| bool | types_match_except_for_arithmetic (const FuncType &t_func, const std::vector< Boxed_Value > &plist, const Type_Conversions_State &t_conversions) |
| template<typename InItr, typename Funcs> | |
| Boxed_Value | dispatch_with_conversions (InItr begin, const InItr &end, const std::vector< Boxed_Value > &plist, const Type_Conversions_State &t_conversions, const Funcs &t_funcs) |
| template<typename Ret, typename ... Params> | |
| std::vector< Type_Info > | build_param_type_list (Ret(*)(Params...)) |
| template<typename Ret, typename ... Params> | |
| bool | compare_types_cast (Ret(*)(Params...), const std::vector< Boxed_Value > ¶ms, const Type_Conversions_State &t_conversions) |
| template<typename Callable, typename Ret, typename ... Params, size_t ... I> | |
| Ret | call_func (const chaiscript::dispatch::detail::Function_Signature< Ret(Params...)> &, std::index_sequence< I... >, const Callable &f, const std::vector< Boxed_Value > ¶ms, const Type_Conversions_State &t_conversions) |
| template<typename Callable, typename Ret, typename ... Params> | |
| Boxed_Value | call_func (const chaiscript::dispatch::detail::Function_Signature< Ret(Params...)> &sig, const Callable &f, const std::vector< Boxed_Value > ¶ms, const Type_Conversions_State &t_conversions) |
| template<typename Callable, typename ... Params> | |
| Boxed_Value | call_func (const chaiscript::dispatch::detail::Function_Signature< void(Params...)> &sig, const Callable &f, const std::vector< Boxed_Value > ¶ms, const Type_Conversions_State &t_conversions) |
| Proxy_Function chaiscript::dispatch::detail::build_constructor_ | ( | Class(* | )(Params...) | ) |

| std::function< Ret(Params...)> chaiscript::dispatch::detail::build_function_caller_helper | ( | Ret(Params...) | , |
| const std::vector< Const_Proxy_Function > & | funcs, | ||
| const Type_Conversions_State * | t_conversions ) |

| std::vector< Type_Info > chaiscript::dispatch::detail::build_param_type_list | ( | Ret(* | )(Params...) | ) |
Used by Proxy_Function_Impl to return a list of all param types it contains.

| Ret chaiscript::dispatch::detail::call_func | ( | const chaiscript::dispatch::detail::Function_Signature< Ret(Params...)> & | , |
| std::index_sequence< I... > | , | ||
| const Callable & | f, | ||
| const std::vector< Boxed_Value > & | params, | ||
| const Type_Conversions_State & | t_conversions ) |

| Boxed_Value chaiscript::dispatch::detail::call_func | ( | const chaiscript::dispatch::detail::Function_Signature< Ret(Params...)> & | sig, |
| const Callable & | f, | ||
| const std::vector< Boxed_Value > & | params, | ||
| const Type_Conversions_State & | t_conversions ) |
Used by Proxy_Function_Impl to perform typesafe execution of a function. The function attempts to unbox each parameter to the expected type. if any unboxing fails the execution of the function fails and the bad_boxed_cast is passed up to the caller.
| Boxed_Value chaiscript::dispatch::detail::call_func | ( | const chaiscript::dispatch::detail::Function_Signature< void(Params...)> & | sig, |
| const Callable & | f, | ||
| const std::vector< Boxed_Value > & | params, | ||
| const Type_Conversions_State & | t_conversions ) |
| bool chaiscript::dispatch::detail::compare_types_cast | ( | Ret(* | )(Params...), |
| const std::vector< Boxed_Value > & | params, | ||
| const Type_Conversions_State & | t_conversions ) |
Used by Proxy_Function_Impl to determine if it is equivalent to another Proxy_Function_Impl object. This function is primarily used to prevent registration of two functions with the exact same signatures

| Boxed_Value chaiscript::dispatch::detail::dispatch_with_conversions | ( | InItr | begin, |
| const InItr & | end, | ||
| const std::vector< Boxed_Value > & | plist, | ||
| const Type_Conversions_State & | t_conversions, | ||
| const Funcs & | t_funcs ) |

| bool chaiscript::dispatch::detail::types_match_except_for_arithmetic | ( | const FuncType & | t_func, |
| const std::vector< Boxed_Value > & | plist, | ||
| const Type_Conversions_State & | t_conversions ) |
