Cortex
10.0.0-a4
|
#include <Writer.h>
Public Member Functions | |
WriterDescription (const std::string &extensions) | |
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.