Public Member Functions | Static Public Attributes

FbxSwitchBOF Class Reference

Search for all occurrences

Detailed Description

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.

#include <fbxbindingoperator.h>

Inheritance diagram for FbxSwitchBOF:
Inheritance graph
[legend]

List of all members.

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.
 FbxSwitchBOF ()
virtual ~FbxSwitchBOF ()

Static Public Attributes

static char const * FunctionName
 Name of the operation function.

Constructor & Destructor Documentation

virtual ~FbxSwitchBOF ( ) [virtual]

Member Function Documentation

virtual bool Evaluate ( FbxBindingOperator const *  pOperator,
FbxObject 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:
pOperatorOperator running on the object.
pObjectThe object that will be evaluated.
pResultTypeThe type of the result to be returned.
pResultA pointer to a buffer that can hold the result.
Returns:
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.

Parameters:
pOperatorThe operator that will be applied.
pTargetThe object that will be evaluated.
pIn
pOut
pOutTypeType of value being reversed.
setObjControl to set the property (only to query by the default ).
indexUsed only in FbxMultiplyDistBOF.
Returns:
true on success, false otherwise.

Implements FbxBindingOperator::Function.


Member Data Documentation

char const* FunctionName [static]

Name of the operation function.

Definition at line 457 of file fbxbindingoperator.h.


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

FbxSwitchBOF FbxSwitchBOF FbxSwitchBOF FbxSwitchBOF FbxSwitchBOF FbxSwitchBOF FbxSwitchBOF FbxSwitchBOF FbxSwitchBOF FbxSwitchBOF
FbxSwitchBOF FbxSwitchBOF FbxSwitchBOF FbxSwitchBOF FbxSwitchBOF FbxSwitchBOF FbxSwitchBOF FbxSwitchBOF FbxSwitchBOF FbxSwitchBOF