KFbxConditionalBOF
#include<kfbxbindingoperator.h>

Inherits KFbxBindingOperator::Function.

List of all members.

Detailed Description

A conditional operator that outputs one out of two properties, based on the value of a predicate property.

Definition at line274of filekfbxbindingoperator.h.


Public Member Functions

virtual bool Evaluate(KFbxBindingOperatorconst *pOperator,KFbxObjectconst *pObject, EFbxType *pResultType, void **pResult) const
 Evaluates the object property specified by "predicate".

Member Function Documentation

virtual bool Evaluate(KFbxBindingOperatorconst * pOperator,
KFbxObjectconst * 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".

Parameters:
pOperator Operation on 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.
Returns:
true on success, false otherwise.