![]() |
|
This file defines VdfTypeDispatchTable, a template that can be used to perform runtime type dispatch. More...
#include <typeDispatchTable.h>
Inheritance diagram for Vdf_TypeDispatchTableBase:Public Member Functions | |
| VDF_API bool | IsTypeRegistered (TfType t) const |
Returns true if a function has been registered for type t. | |
Protected Member Functions | |
| VDF_API bool | _RegisterType (const std::type_info &ti, void *f) |
Register function pointer f as the implementation to dispatch to for type ti. | |
| VDF_API void * | _FindOrFatalError (TfType t) const |
Find a registered function pointer for type t. | |
This file defines VdfTypeDispatchTable, a template that can be used to perform runtime type dispatch.
Definition at line 31 of file typeDispatchTable.h.
|
protected |
Find a registered function pointer for type t.
Issues a fatal error if no function has been registered for type t.
|
protected |
Register function pointer f as the implementation to dispatch to for type ti.
| VDF_API bool IsTypeRegistered | ( | TfType | t | ) | const |
Returns true if a function has been registered for type t.