#include <fbxbindingoperator.h>
This utility class is used to register and unregister the binding function creators.
Definition at line 258 of file fbxbindingoperator.h.
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. |
|
| static void RegisterFunctionCreator | ( | FunctionCreatorBase const & | pCreator | ) | [inline, static] |
To register the binding function creator.
| 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.
| 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.
| 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;
}
}