![]() |
Inviwo 0.9.12-pre
Inviwo documentation
|
#include <inviwo/dataframe/io/csvwriter.h>
Inheritance diagram for inviwo::CSVWriter:Public Member Functions | |
| virtual CSVWriter * | clone () const override |
| CSVWriter (const CSVWriter &)=default | |
| CSVWriter & | operator= (const CSVWriter &)=default |
| virtual void | writeData (const DataFrame *data, const std::filesystem::path &filePath) const override |
Write data to filePath. | |
| void | writeData (const DataFrame *data, std::ostream &os) const |
| virtual std::unique_ptr< std::vector< unsigned char > > | writeDataToBuffer (const DataFrame *data, std::string_view fileExtension) const override |
Public Member Functions inherited from inviwo::DataWriterType< DataFrame > | |
| DataWriterType (const DataWriterType &rhs)=default | |
| DataWriterType (DataWriterType &&rhs) noexcept=default | |
| DataWriterType & | operator= (const DataWriterType &that)=default |
| DataWriterType & | operator= (DataWriterType &&that) noexcept=default |
Public Member Functions inherited from inviwo::DataWriter | |
| void | addExtension (FileExtension ext) |
| void | checkOverwrite (const std::filesystem::path &path) const |
| DataWriter (const DataWriter &rhs) | |
| DataWriter (DataWriter &&rhs) noexcept=default | |
| const std::vector< FileExtension > & | getExtensions () const |
| virtual std::any | getOption (std::string_view key) const |
| Query the value of a writer specific option. | |
| Overwrite | getOverwrite () const |
| DataWriter & | operator= (const DataWriter &that) |
| DataWriter & | operator= (DataWriter &&that) noexcept=default |
| 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. | |
| void | setOverwrite (Overwrite val) |
| template<typename T > | |
| bool | writesType () const |
Public Attributes | |
| std::string | delimiter = "," |
| bool | exportIndexCol = false |
| bool | quoteStrings = true |
| bool | separateVectorTypesIntoColumns = true |
Additional Inherited Members | |
Static Public Member Functions inherited from inviwo::DataWriter | |
| static void | checkOverwrite (const std::filesystem::path &path, Overwrite overwrite) |
Protected Member Functions inherited from inviwo::DataWriterType< DataFrame > | |
| virtual bool | canWrite (const std::type_index &index) const override |
Protected Member Functions inherited from inviwo::DataWriter | |
| std::ofstream | open (const std::filesystem::path &path, std::ios_base::openmode mode=std::ios_base::out) const |
Protected Attributes inherited from inviwo::DataWriter | |
| std::vector< FileExtension > | extensions_ |
| Overwrite | overwrite_ |
DataFrame CSV Writer.
|
overridevirtual |
Implements inviwo::DataWriterType< DataFrame >.
|
overridevirtual |
Write data to filePath.
| DataWriterException | if anything goes wrong |
Implements inviwo::DataWriterType< DataFrame >.
|
overridevirtual |
Reimplemented from inviwo::DataWriterType< DataFrame >.