#include <soma-io/io/writer.h>
Definition at line 47 of file writer.h.
◆ GenericWriter() [1/4]
soma::GenericWriter::GenericWriter |
( |
| ) |
|
◆ GenericWriter() [2/4]
◆ GenericWriter() [3/4]
soma::GenericWriter::GenericWriter |
( |
const std::string & |
filename | ) |
|
◆ GenericWriter() [4/4]
soma::GenericWriter::GenericWriter |
( |
std::ostream & |
stream | ) |
|
◆ ~GenericWriter()
virtual soma::GenericWriter::~GenericWriter |
( |
| ) |
|
|
virtual |
◆ attach() [1/3]
◆ attach() [2/3]
void soma::GenericWriter::attach |
( |
const std::string & |
filename | ) |
|
◆ attach() [3/3]
void soma::GenericWriter::attach |
( |
std::ostream & |
stream | ) |
|
◆ close()
void soma::GenericWriter::close |
( |
| ) |
|
◆ dataSource() [1/2]
◆ dataSource() [2/2]
◆ flush()
void soma::GenericWriter::flush |
( |
| ) |
|
◆ write() [1/2]
Finds the correct format and writes the object.
Options can be passed to specify some writing parameters. The most important is the format ("format"
property): if it is specified, this format is tried first, so you can use it to force the format, otherwise it will be determined from the filename extension (if available). If no extension and no format are given, the first working format will be used.
Definition at line 59 of file writer_d.h.
References _datasourceinfo, and soma::Writer< T >::write().
Referenced by operator<<(), and write().
◆ write() [2/2]
◆ writtenObjectType()
virtual std::string soma::GenericWriter::writtenObjectType |
( |
| ) |
const |
|
pure virtual |
◆ _datasourceinfo
The documentation for this class was generated from the following files: