7 #ifndef _QITYPE_DETAIL_ANYFUNCTION_HXX_
8 #define _QITYPE_DETAIL_ANYFUNCTION_HXX_
42 value = type?type->
clone(b.value):0;
43 transform = b.transform;
59 value = type?type->
clone(b.value):0;
60 transform = b.transform;
77 inline AnyFunction::operator bool()
const
98 #endif // _QITYPE_DETAIL_ANYFUNCTION_HXX_
AnyReference call(const AnyReferenceVector &args)
FunctionTypeInterface * functionType() const
AnyFunction & operator=(const AnyFunction &b)
AnyReference operator()(const AnyReferenceVector &args)
Call the function, reference must be destroy()ed.
const std::vector< TypeInterface * > & argumentsType()
std::vector< AnyReference > AnyReferenceVector
void swap(::qi::AnyFunction &a,::qi::AnyFunction &b)
virtual void destroy(void *)=0
Free all resources of a storage.
TypeInterface * _resultType
TypeInterface * resultType()
void swap(AnyFunction &b)
virtual void * clone(void *)=0
Allocate a storage and copy the value given as an argument.
std::vector< TypeInterface * > _argumentsType