KFbxSwitchBOF Class Reference

#include <kfbxbindingoperator.h>
Inheritance diagram for KFbxSwitchBOF:
Inheritance graph
[legend]

List of all members.


Detailed Description

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

Definition at line 392 of file kfbxbindingoperator.h.


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

Static Public Attributes

static char const *  FunctionName

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".

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".

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]

Definition at line 395 of file kfbxbindingoperator.h.

KFbxSwitchBOF KFbxSwitchBOF KFbxSwitchBOF KFbxSwitchBOF KFbxSwitchBOF KFbxSwitchBOF KFbxSwitchBOF KFbxSwitchBOF KFbxSwitchBOF KFbxSwitchBOF
KFbxSwitchBOF KFbxSwitchBOF KFbxSwitchBOF KFbxSwitchBOF KFbxSwitchBOF KFbxSwitchBOF KFbxSwitchBOF KFbxSwitchBOF KFbxSwitchBOF KFbxSwitchBOF