#include <fbxbindingoperator.h>
A switch operator that outputs one out of n properties, based on the value of a predicate property.
Definition at line 453 of file fbxbindingoperator.h.
Public Member Functions |
|
| virtual bool | Evaluate (const FbxBindingOperator *pOperator, const FbxObject *pObject, EFbxType *pResultType, void **pResult) const |
| Evaluates the object property specified by
"predicate". |
|
| virtual bool | ReverseEvaluate (const FbxBindingOperator *pOperator, const FbxObject *pTarget, const void *pIn, void **pOut, EFbxType *pOutType, bool setObj, int index) const |
| Run the inverse operator on the given
object, assigning the result directly to the object. |
|
Static Public Attributes |
|
| static const char * | FunctionName |
| Name of the operation function. |
|
| virtual bool Evaluate | ( | const FbxBindingOperator * | pOperator, |
| const FbxObject * | pObject, | ||
| EFbxType * | pResultType, | ||
| void ** | pResult | ||
| ) | const [virtual] |
Evaluates the object property specified by "predicate".
Returns the value of the property specified by "case_n", where n is the value of "predicate". If there is no case_n entry, returns the value of the property specified by "default".
Currently the data types supported for the predicate property are limited to "integer" and "boolean".
| pOperator | Operator running on the object. |
| pObject | The object that will be evaluated. |
| pResultType | The type of the result to be returned. |
| pResult | A pointer to a buffer that can hold the result. |
true on success, false
otherwise.Implements FbxBindingOperator::Function.
| virtual bool ReverseEvaluate | ( | const FbxBindingOperator * | pOperator, |
| const FbxObject * | pTarget, | ||
| const void * | pIn, | ||
| void ** | pOut, | ||
| EFbxType * | pOutType, | ||
| bool | setObj, | ||
| int | index | ||
| ) | const [virtual] |
Run the inverse operator on the given object, assigning the result directly to the object.
| pOperator | The operator that will be applied. |
| pTarget | The object that will be evaluated. |
| pIn | |
| pOut | |
| pOutType | Type of value being reversed. |
| setObj | Control to set the property (only to query by the default ). |
| index | Used only in FbxMultiplyDistBOF. |
true on success, false
otherwise.Implements FbxBindingOperator::Function.
const char* FunctionName
[static] |
Name of the operation function.
Definition at line 457 of file fbxbindingoperator.h.