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

#include <Writer.h>

Public Member Functions

 WriterDescription (const std::string &extensions)
 

Detailed Description

template<class T>
class IECore::Writer::WriterDescription< T >

This utility class is provided to help with Writer registration. By having a private static const instance of one of these in your class, it will call registerWriter() for you when it is constructed. It assumes your Writer class has a constructor taking a ConstObjectPtr and a fileName as const std::string and also has a static canWrite function matching the CanWriteFn type.


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