ChaiScript
|
Public Member Functions | |
Assignable_Proxy_Function_Impl (std::reference_wrapper< std::function< Func >> t_f, std::shared_ptr< std::function< Func >> t_ptr) | |
bool | compare_types_with_cast (const Function_Params &vals, const Type_Conversions_State &t_conversions) const noexcept override |
bool | operator== (const Proxy_Function_Base &t_func) const noexcept override |
std::function< Func > | internal_function () const |
void | assign (const std::shared_ptr< const Proxy_Function_Base > &t_rhs) override |
Public Member Functions inherited from chaiscript::dispatch::Assignable_Proxy_Function | |
Assignable_Proxy_Function (const std::vector< Type_Info > &t_types) | |
Public Member Functions inherited from chaiscript::dispatch::Proxy_Function_Impl_Base | |
Proxy_Function_Impl_Base (const std::vector< Type_Info > &t_types) | |
bool | call_match (const Function_Params &vals, const Type_Conversions_State &t_conversions) const noexcept override |
Public Member Functions inherited from chaiscript::dispatch::Proxy_Function_Base | |
Boxed_Value | operator() (const Function_Params ¶ms, const chaiscript::Type_Conversions_State &t_conversions) const |
const std::vector< Type_Info > & | get_param_types () const noexcept |
Returns a vector containing all of the types of the parameters the function returns/takes if the function is variadic or takes no arguments (arity of 0 or -1), the returned value contains exactly 1 Type_Info object: the return type. More... | |
virtual bool | is_attribute_function () const noexcept |
bool | has_arithmetic_param () const noexcept |
virtual std::vector< std::shared_ptr< const Proxy_Function_Base > > | get_contained_functions () const |
bool | filter (const Function_Params &vals, const Type_Conversions_State &t_conversions) const noexcept |
Return true if the function is a possible match to the passed in values. | |
int | get_arity () const noexcept |
virtual bool | compare_first_type (const Boxed_Value &bv, const Type_Conversions_State &t_conversions) const noexcept |
Protected Member Functions | |
Boxed_Value | do_call (const Function_Params ¶ms, const Type_Conversions_State &t_conversions) const override |
Protected Member Functions inherited from chaiscript::dispatch::Proxy_Function_Base | |
Proxy_Function_Base (std::vector< Type_Info > t_types, int t_arity) | |
Additional Inherited Members | |
Static Public Member Functions inherited from chaiscript::dispatch::Proxy_Function_Base | |
static bool | compare_type_to_param (const Type_Info &ti, const Boxed_Value &bv, const Type_Conversions_State &t_conversions) noexcept |
Static Protected Member Functions inherited from chaiscript::dispatch::Proxy_Function_Base | |
static bool | compare_types (const std::vector< Type_Info > &tis, const Function_Params &bvs, const Type_Conversions_State &t_conversions) noexcept |
Protected Attributes inherited from chaiscript::dispatch::Proxy_Function_Base | |
std::vector< Type_Info > | m_types |
int | m_arity |
bool | m_has_arithmetic_param |