Cortex
10.0.0-a4
|
#include <Object.h>
Inherits IECore::RunTimeTyped::TypeDescription< T >.
Public Member Functions | |
TypeDescription () | |
Registers the object using its static typeId and static typename. | |
TypeDescription (TypeId alternateTypeId, const std::string &alternateTypeName) | |
Registers the object using a specified typeId and typename. | |
Instantiating an instance of TypeDescription<YourClass> causes the registration of your class with the IECore type system. It's essential that all subclasses of Object are registered this way. The best way of doing this is as a private static member of the class being registered.