#include <ctypes.h>
Inheritance diagram for cFunctionType::

Public Methods | |
Constructors, destructor, assignment | |
| cFunctionType (const cFunctionType &ft) | |
| cFunctionType (const char *name, MathFuncNoArg f, int argc=-1) | |
| cFunctionType (const char *name, MathFunc1Arg f, int argc=-1) | |
| cFunctionType (const char *name, MathFunc2Args f, int argc=-1) | |
| cFunctionType (const char *name, MathFunc3Args f, int argc=-1) | |
| cFunctionType (const char *name, MathFunc4Args f, int argc=-1) | |
| virtual | ~cFunctionType () |
| cFunctionType& | operator= (const cFunctionType &) |
Redefined cObject member functions. | |
| virtual cObject* | dup () const |
Member access. | |
| int | argCount () |
| MathFunc | mathFunc () |
| MathFuncNoArg | mathFuncNoArg () |
| MathFunc1Arg | mathFunc1Arg () |
| MathFunc2Args | mathFunc2Args () |
| MathFunc3Args | mathFunc3Args () |
| MathFunc4Args | mathFunc4Args () |
Objects of this class are usually created via the Define_Function() macro.
|
|
Copy constructor. |
|
|
Constructor. |
|
|
Constructor. |
|
|
Constructor. |
|
|
Constructor. |
|
|
Constructor. |
|
|
Destructor. |
|
|
Argument count to function. |
|
|
Creates and returns an exact copy of this object. See cObject for more details. Reimplemented from cObject. |
|
|
Returns function pointer as double function with unchecked arg list (no type safety!) |
|
|
Returns function pointer as double function with 1 double arg. Throws exception is actual arg count is different. |
|
|
Returns function pointer as double function with 2 double args. Throws exception is actual arg count is different. |
|
|
Returns function pointer as double function with 3 double args. Throws exception is actual arg count is different. |
|
|
Returns function pointer as double function with 4 double args. Throws exception is actual arg count is different. |
|
|
Returns function pointer as double function with no args. Throws exception is actual arg count is different. |
|
|
Assignment is not supported by this class: this method throws a cException when called. |
1.2.8.1 written by Dimitri van Heesch,
© 1997-2001