Syntax: intFib getType() const
Diese Methode gibt eine Ganzzahl zurück, über die der Typ der Unterfunktion bestimmt werden kann. Für diese Typen werden auch Konstanten in der Klasse cUnderFunction
definiert.
Mögliche Typen sind:
Typzahl | Unterfunktion | Konstante |
00 | cFunctionValue : Für einen Wert bzw. eine Konstante. |
FUNCTION_VALUE |
01 | cFunctionVariable : Für eine Variable, die über dem Fib-Element, welches die Unterfunktion enthält, definiert wird. |
FUNCTION_VARIABLE |
10 | cFunctionLog : Logarithmus |
FUNCTION_LOG |
11 | cFunctionSin : Sinusfunktion |
FUNCTION_SIN |
12 | cFunctionAbs : Absolutwert |
FUNCTION_ABS |
13 | cFunctionArcsin : Arkussinusfunktion |
FUNCTION_ARCSIN |
14 | cFunctionRound : Rundungsfunktion |
FUNCTION_ROUND |
20 | cFunctionAdd : Addition |
FUNCTION_ADD |
21 | cFunctionSub : Subtraktion |
FUNCTION_SUB |
22 | cFunctionMult : Multiplikation |
FUNCTION_MULT |
23 | cFunctionDiv : Division |
FUNCTION_DIV |
24 | cFunctionExp : Exponent |
FUNCTION_EXP |
25 | cFunctionMin : Minimum |
FUNCTION_MIN |
26 | cFunctionMax : Maximum |
FUNCTION_MAX |
30 | cFunctionIf : If-Funktion |
FUNCTION_IF |
31 | cFunctionMod : Modulo-Funktion |
FUNCTION_MOD |
Eingabeparameter: keine
Rückgabe: Eine Ganzzahl, über die der Typ der Unterfunktion bestimmt werden kann.