cnedmathfunction.h Source File¶
|
API
|
cnedmathfunction.h
99 cNedMathFunction(const char *name, MathFuncNoArg f, int argc=-1, const char *category=nullptr, const char *description=nullptr);
104 cNedMathFunction(const char *name, MathFunc1Arg f, int argc=-1, const char *category=nullptr, const char *description=nullptr);
110 cNedMathFunction(const char *name, MathFunc2Args f, int argc=-1, const char *category=nullptr, const char *description=nullptr);
115 cNedMathFunction(const char *name, MathFunc3Args f, int argc=-1, const char *category=nullptr, const char *description=nullptr);
120 cNedMathFunction(const char *name, MathFunc4Args f, int argc=-1, const char *category=nullptr, const char *description=nullptr);
Registration class for extending NED with new mathematical functions.
Definition cnedmathfunction.h:86
cNedMathFunction(const char *name, MathFunc4Args f, int argc=-1, const char *category=nullptr, const char *description=nullptr)
static cNedMathFunction * find(const char *name, int numArgs)
MathFunc2Args getMathFunc2Args() const
MathFunc3Args getMathFunc3Args() const
static cNedMathFunction * findByPointer(MathFunc f)
const char * getCategory() const
Definition cnedmathfunction.h:183
static cNedMathFunction * get(const char *name, int numArgs)
MathFunc4Args getMathFunc4Args() const
cNedMathFunction(const char *name, MathFunc2Args f, int argc=-1, const char *category=nullptr, const char *description=nullptr)
cNedMathFunction(const char *name, MathFunc3Args f, int argc=-1, const char *category=nullptr, const char *description=nullptr)
cNedMathFunction(const char *name, MathFuncNoArg f, int argc=-1, const char *category=nullptr, const char *description=nullptr)
const char * getDescription() const
Definition cnedmathfunction.h:188
virtual ~cNedMathFunction()
Definition cnedmathfunction.h:125
virtual std::string str() const override
MathFuncNoArg getMathFuncNoArg() const
cNedMathFunction(const char *name, MathFunc1Arg f, int argc=-1, const char *category=nullptr, const char *description=nullptr)
MathFunc1Arg getMathFunc1Arg() const
double(* MathFunc4Args)(double, double, double, double)
Prototype for mathematical functions taking four arguments.
Definition cnedmathfunction.h:73
double(* MathFunc2Args)(double, double)
Prototype for mathematical functions taking two arguments.
Definition cnedmathfunction.h:57
double(* MathFunc1Arg)(double)
Prototype for mathematical functions taking one argument.
Definition cnedmathfunction.h:49
double(* MathFunc)(...)
Prototype for mathematical functions.
Definition cnedmathfunction.h:33
double(* MathFunc3Args)(double, double, double)
Prototype for mathematical functions taking three arguments.
Definition cnedmathfunction.h:65
double(* MathFuncNoArg)()
Prototype for mathematical functions taking no arguments.
Definition cnedmathfunction.h:41
Generated on for API by