A conditional operator that outputs one out of two properties, based on the value of a predicate property.
Definition at line 469 of file fbxbindingoperator.h.
#include <fbxbindingoperator.h>

Public Member Functions |
|
| virtual bool | Evaluate (FbxBindingOperator const *pOperator, FbxObject const *pObject, EFbxType *pResultType, void **pResult) const |
| Evaluates the object property specified by
"predicate". |
|
| virtual bool | ReverseEvaluate (FbxBindingOperator const *pOperator, FbxObject const *pTarget, void const *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. |
|
| FbxConditionalBOF () | |
| virtual | ~FbxConditionalBOF () |
Static Public Attributes |
|
| static char const * | FunctionName |
| Name of the operation function. |
|
| virtual ~FbxConditionalBOF | ( | ) | [virtual] |
| virtual bool Evaluate | ( | FbxBindingOperator const * | pOperator, |
| FbxObject const * | pObject, | ||
| EFbxType * | pResultType, | ||
| void ** | pResult | ||
| ) | const [virtual] |
Evaluates the object property specified by "predicate".
If the property value is true (!= 0, != ""), returns the value of the property specified by "ifTrue", else returns the value of the property specified by "ifFalse".
Currently the data types supported for the input property are limited to "integer", "boolean", "float", "double" and "string".
| 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 | ( | FbxBindingOperator const * | pOperator, |
| FbxObject const * | pTarget, | ||
| void const * | 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.
char const*
FunctionName [static] |
Name of the operation function.
Definition at line 473 of file fbxbindingoperator.h.