ChaiScript
Public Member Functions | List of all members
chaiscript::dispatch::Proxy_Function_Impl_Base Class Referenceabstract
Inheritance diagram for chaiscript::dispatch::Proxy_Function_Impl_Base:
Inheritance graph
[legend]
Collaboration diagram for chaiscript::dispatch::Proxy_Function_Impl_Base:
Collaboration graph
[legend]

Public Member Functions

 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
 
virtual bool compare_types_with_cast (const Function_Params &vals, const Type_Conversions_State &t_conversions) const noexcept=0
 
- Public Member Functions inherited from chaiscript::dispatch::Proxy_Function_Base
Boxed_Value operator() (const Function_Params &params, 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 operator== (const Proxy_Function_Base &) const noexcept=0
 
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
 

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
 
- Protected Member Functions inherited from chaiscript::dispatch::Proxy_Function_Base
virtual Boxed_Value do_call (const Function_Params &params, const Type_Conversions_State &t_conversions) const =0
 
 Proxy_Function_Base (std::vector< Type_Info > t_types, int t_arity)
 
- 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_Infom_types
 
int m_arity
 
bool m_has_arithmetic_param
 

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