Represents information about a $functor declaration in the Xc++ language.
$struct+ ReflectedFunctor
{
$ConstStringZ GetName() const { return m_name; }
$ssize_t GetNumArgs() const { return m_numArgs; }
$const ReflectedArg& GetArg(ssize_t i) const { return m_args[i]; }
//////////////// State //////////////////
ConstStringZ m_name;
ReflectedReturnType m_returnType;
const ReflectedArg* m_args;
ssize_t m_numArgs;
const octet_t* m_metaData;
ConstStringZ const* m_stringTable;
};
const ReflectedFunction& AsReflectedFunction(const ReflectedFunctor& rf);
ConstStringZ m_name
The fully qualified name of the functor type represented as a pointer to a UTF-8 encoded null-terminated string (see ConstStringZ).
ReflectedReturnType m_returnType
The ReflectedReturnType records the functor return type.
const ReflectedArg* m_args
Pointer to an array of ReflectedArg to record the names and types of the functor arguments, or null if there are zero arguments.
ssize_t m_numArgs
The number of elements in the m_args array.
const octet_t* m_metaData
Pointer to metadata byte code on the functor or null if no metadata declared.
ConstStringZ const* m_stringTable
The address of an array of pointers to UTF-8 encoded null-terminated strings (see ConstStringZ), which is the string table associated with the byte code defining the return and argument types of the functor. May be null if no string table is required.