Public Member Functions | Static Public Attributes

KFbxConditionalBOF Class Reference

Search for all occurrences

Detailed Description

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

Definition at line 350 of file kfbxbindingoperator.h.

#include <kfbxbindingoperator.h>

Inheritance diagram for KFbxConditionalBOF:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual bool  Evaluate (KFbxBindingOperator const *pOperator, KFbxObject const *pObject, EFbxType *pResultType, void **pResult) const
  Evaluates the object property specified by "predicate".
virtual bool  ReverseEvaluate (KFbxBindingOperator const *pOperator, KFbxObject const *pTarget, void const *pIn, void **pOut, EFbxType *pOutType, bool setObj, int index) const
  KFbxConditionalBOF ()
virtual  ~KFbxConditionalBOF ()

Static Public Attributes

static char const *  FunctionName

Constructor & Destructor Documentation

virtual ~KFbxConditionalBOF ( ) [virtual]

Member Function Documentation

virtual bool Evaluate ( KFbxBindingOperator const *  pOperator,
KFbxObject 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".

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

Implements KFbxBindingOperator::Function.

virtual bool ReverseEvaluate ( KFbxBindingOperator const *  pOperator,
KFbxObject const *  pTarget,
void const *  pIn,
void **  pOut,
EFbxType pOutType,
bool  setObj,
int  index 
) const [virtual]

Member Data Documentation

char const* FunctionName [static]

The documentation for this class was generated from the following file:

KFbxConditionalBOF KFbxConditionalBOF KFbxConditionalBOF KFbxConditionalBOF KFbxConditionalBOF KFbxConditionalBOF KFbxConditionalBOF KFbxConditionalBOF KFbxConditionalBOF KFbxConditionalBOF
KFbxConditionalBOF KFbxConditionalBOF KFbxConditionalBOF KFbxConditionalBOF KFbxConditionalBOF KFbxConditionalBOF KFbxConditionalBOF KFbxConditionalBOF KFbxConditionalBOF KFbxConditionalBOF