Template base class for file writers designating what type of data object the writer writes.
More...
|
| DataWriterType (const DataWriterType &rhs)=default |
|
DataWriterType & | operator= (const DataWriterType &that)=default |
|
| DataWriterType (DataWriterType &&rhs) noexcept=default |
|
DataWriterType & | operator= (DataWriterType &&that) noexcept=default |
|
virtual DataWriterType * | clone () const override=0 |
|
virtual void | writeData (const T *data, const std::filesystem::path &filePath) const =0 |
| Write data to filePath .
|
|
virtual std::unique_ptr< std::vector< unsigned char > > | writeDataToBuffer (const T *, std::string_view) const |
|
| DataWriter (const DataWriter &rhs) |
|
DataWriter & | operator= (const DataWriter &that) |
|
| DataWriter (DataWriter &&rhs) noexcept=default |
|
DataWriter & | operator= (DataWriter &&that) noexcept=default |
|
const std::vector< FileExtension > & | getExtensions () const |
|
void | addExtension (FileExtension ext) |
|
Overwrite | getOverwrite () const |
|
void | setOverwrite (Overwrite val) |
|
void | checkOverwrite (const std::filesystem::path &path) const |
|
virtual bool | setOption (std::string_view key, std::any value) |
| Set writer specific options See the documentation of the specific writer for the available options.
|
|
virtual std::any | getOption (std::string_view key) const |
| Query the value of a writer specific option.
|
|
template<class
Layer>
class inviwo::DataWriterType< Layer >
Template base class for file writers designating what type of data object the writer writes.