XII Release 0.1.0
Loading...
Searching...
No Matches
xiiConsoleFunction< R > Class Template Reference

Implements the functionality of xiiConsoleFunctionBase for functions with different parameter types. See xiiConsoleFunctionBase for more details. More...

#include <ConsoleFunction.h>

Inheritance diagram for xiiConsoleFunction< R >:
[legend]

Additional Inherited Members

- Public Member Functions inherited from xiiConsoleFunctionBase
 xiiConsoleFunctionBase (xiiStringView sFunctionName, xiiStringView sDescription)
 The constructor takes the function name and description as it should appear in the console.
 
xiiStringView GetName () const
 Returns the name of the function as it should be exposed in the console.
 
xiiStringView GetDescription () const
 Returns the description of the function as it should appear in the console.
 
virtual xiiUInt32 GetNumParameters () const =0
 Returns the number of parameters that this function takes.
 
virtual xiiVariant::Type::Enum GetParameterType (xiiUInt32 uiParam) const =0
 Returns the type of the n-th parameter.
 
virtual xiiResult Call (xiiArrayPtr< xiiVariant > params)=0
 Calls the function. Each parameter must be put into a xiiVariant and all of them are passed along as an array.
 
- Static Public Member Functions inherited from xiiNoBase
static const xiiRTTIGetStaticRTTI ()
 
- Protected Attributes inherited from xiiEnumerable< xiiConsoleFunctionBase >
xiiEnumerablem_pNextInstance
 

Detailed Description

template<typename R>
class xiiConsoleFunction< R >

Implements the functionality of xiiConsoleFunctionBase for functions with different parameter types. See xiiConsoleFunctionBase for more details.


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