Cortex  10.0.0-a4
Public Member Functions | List of all members
IECore::Object::TypeDescription< T > Class Template Reference

#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.
 

Detailed Description

template<class T>
class IECore::Object::TypeDescription< T >

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.


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