FbxBindingOperator::FunctionRegistry Class Reference
 
 
 
FbxBindingOperator::FunctionRegistry Class Reference

#include <fbxbindingoperator.h>


Class Description

This utility class is used to register and unregister the binding function creators.

Definition at line 258 of file fbxbindingoperator.h.

List of all members.

Static Public Member Functions

static void  RegisterFunctionCreator (FunctionCreatorBase const &pCreator)
  To register the binding function creator.
static void  UnregisterFunctionCreator (FunctionCreatorBase const &pCreator)
  To unregister the binding function creator.
static const FunctionCreatorBase FindCreator (const char *pName)
  To find the binding function creator by name.

Member Function Documentation

static void RegisterFunctionCreator ( FunctionCreatorBase const &  pCreator ) [inline, static]

To register the binding function creator.

Parameters:
The binding function creator to register.

Definition at line 264 of file fbxbindingoperator.h.

        {
            sRegistry.Insert(pCreator.GetFunctionName(), &pCreator);
        }
static void UnregisterFunctionCreator ( FunctionCreatorBase const &  pCreator ) [inline, static]

To unregister the binding function creator.

Parameters:
The binding function creator to unregister.

Definition at line 272 of file fbxbindingoperator.h.

        {
            sRegistry.Remove(pCreator.GetFunctionName());
        }
static const FunctionCreatorBase* FindCreator ( const char *  pName ) [inline, static]

To find the binding function creator by name.

Parameters:
Name of the operation function creator to find.

Definition at line 280 of file fbxbindingoperator.h.

        {
            RegistryType::RecordType* lRecord = sRegistry.Find(pName);

            if (lRecord)
            {
                return lRecord->GetValue();
            }
            else
            {
                return NULL;
            }
        }

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