GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
chaiscript::dispatch::Proxy_Function_Callable_Impl< Func, Callable > Class Template Reference

For any callable object. More...

#include <proxy_functions.hpp>

Inheritance diagram for chaiscript::dispatch::Proxy_Function_Callable_Impl< Func, Callable >:
Collaboration diagram for chaiscript::dispatch::Proxy_Function_Callable_Impl< Func, Callable >:

Public Member Functions

 Proxy_Function_Callable_Impl (Callable f)
bool compare_types_with_cast (const std::vector< Boxed_Value > &vals, const Type_Conversions_State &t_conversions) const override
bool operator== (const Proxy_Function_Base &t_func) const override
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 std::vector< Boxed_Value > &vals, const Type_Conversions_State &t_conversions) const override
Public Member Functions inherited from chaiscript::dispatch::Proxy_Function_Base
virtual ~Proxy_Function_Base ()=default
Boxed_Value operator() (const std::vector< Boxed_Value > &params, const chaiscript::Type_Conversions_State &t_conversions) const
const std::vector< Type_Info > & get_param_types () const
virtual bool is_attribute_function () const
bool has_arithmetic_param () const
virtual std::vector< std::shared_ptr< const Proxy_Function_Base > > get_contained_functions () const
bool filter (const std::vector< Boxed_Value > &vals, const Type_Conversions_State &t_conversions) const
int get_arity () const
virtual bool compare_first_type (const Boxed_Value &bv, const Type_Conversions_State &t_conversions) const

Protected Member Functions

Boxed_Value do_call (const std::vector< Boxed_Value > &params, 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)
Static Protected Member Functions inherited from chaiscript::dispatch::Proxy_Function_Base
static bool compare_types (const std::vector< Type_Info > &tis, const std::vector< Boxed_Value > &bvs, const Type_Conversions_State &t_conversions)
Protected Attributes inherited from chaiscript::dispatch::Proxy_Function_Base
std::vector< Type_Info > m_types
int m_arity
bool m_has_arithmetic_param

Detailed Description

template<typename Func, typename Callable>
class chaiscript::dispatch::Proxy_Function_Callable_Impl< Func, Callable >

For any callable object.

Constructor & Destructor Documentation

◆ Proxy_Function_Callable_Impl()

template<typename Func, typename Callable>
chaiscript::dispatch::Proxy_Function_Callable_Impl< Func, Callable >::Proxy_Function_Callable_Impl ( Callable f)
inlineexplicit
Here is the caller graph for this function:

Member Function Documentation

◆ compare_types_with_cast()

template<typename Func, typename Callable>
bool chaiscript::dispatch::Proxy_Function_Callable_Impl< Func, Callable >::compare_types_with_cast ( const std::vector< Boxed_Value > & vals,
const Type_Conversions_State & t_conversions ) const
inlineoverridevirtual

◆ do_call()

template<typename Func, typename Callable>
Boxed_Value chaiscript::dispatch::Proxy_Function_Callable_Impl< Func, Callable >::do_call ( const std::vector< Boxed_Value > & params,
const Type_Conversions_State & t_conversions ) const
inlineoverrideprotectedvirtual

◆ operator==()

template<typename Func, typename Callable>
bool chaiscript::dispatch::Proxy_Function_Callable_Impl< Func, Callable >::operator== ( const Proxy_Function_Base & t_func) const
inlineoverridevirtual

The documentation for this class was generated from the following files: