GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
chaiscript::dispatch::Attribute_Access< T, Class > Class Template Referencefinal

Attribute getter Proxy_Function implementation. More...

#include <proxy_functions.hpp>

Inheritance diagram for chaiscript::dispatch::Attribute_Access< T, Class >:
Collaboration diagram for chaiscript::dispatch::Attribute_Access< T, Class >:

Public Member Functions

 Attribute_Access (T Class::*t_attr)
bool is_attribute_function () const override
bool operator== (const Proxy_Function_Base &t_func) const override
bool call_match (const std::vector< Boxed_Value > &vals, const Type_Conversions_State &) 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
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 T, typename Class>
class chaiscript::dispatch::Attribute_Access< T, Class >

Attribute getter Proxy_Function implementation.

Constructor & Destructor Documentation

◆ Attribute_Access()

template<typename T, typename Class>
chaiscript::dispatch::Attribute_Access< T, Class >::Attribute_Access ( T Class::* t_attr)
inlineexplicit
Here is the caller graph for this function:

Member Function Documentation

◆ call_match()

template<typename T, typename Class>
bool chaiscript::dispatch::Attribute_Access< T, Class >::call_match ( const std::vector< Boxed_Value > & vals,
const Type_Conversions_State &  ) const
inlineoverridevirtual

◆ do_call()

template<typename T, typename Class>
Boxed_Value chaiscript::dispatch::Attribute_Access< T, Class >::do_call ( const std::vector< Boxed_Value > & params,
const Type_Conversions_State & t_conversions ) const
inlineoverrideprotectedvirtual

◆ is_attribute_function()

template<typename T, typename Class>
bool chaiscript::dispatch::Attribute_Access< T, Class >::is_attribute_function ( ) const
inlineoverridevirtual

◆ operator==()

template<typename T, typename Class>
bool chaiscript::dispatch::Attribute_Access< T, Class >::operator== ( const Proxy_Function_Base & t_func) const
inlineoverridevirtual

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