#include <aims/io/writer.h>
Definition at line 46 of file writer.h.
◆ GenericWriter() [1/2]
aims::GenericWriter::GenericWriter |
( |
| ) |
|
|
inline |
◆ GenericWriter() [2/2]
◆ ~GenericWriter()
virtual aims::GenericWriter::~GenericWriter |
( |
| ) |
|
|
inlinevirtual |
◆ fileName()
const std::string& aims::GenericWriter::fileName |
( |
| ) |
const |
|
inline |
◆ options()
◆ setFileName()
void aims::GenericWriter::setFileName |
( |
const std::string & |
fileName | ) |
|
|
inline |
◆ setOptions()
◆ write()
template<typename T >
bool aims::GenericWriter::write |
( |
const T & |
obj, |
|
|
bool |
ascii = false , |
|
|
const std::string * |
format = 0 |
|
) |
| |
Finds the correct format and writes the object.
If format
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 no extension and no format are given, the first working format will be used.
Definition at line 74 of file writer_d.h.
References fileName(), and aims::Writer< T >::write().
Referenced by aims::operator<<().
◆ writtenObjectDataType()
virtual std::string aims::GenericWriter::writtenObjectDataType |
( |
| ) |
const |
|
pure virtual |
◆ writtenObjectFullType()
virtual std::string aims::GenericWriter::writtenObjectFullType |
( |
| ) |
const |
|
pure virtual |
◆ writtenObjectType()
virtual std::string aims::GenericWriter::writtenObjectType |
( |
| ) |
const |
|
pure virtual |
◆ _filename
std::string aims::GenericWriter::_filename |
|
protected |
◆ _options
The documentation for this class was generated from the following files: