#include <fileio.h>
Inherits FileIOTrace.
Structure to accomodate autoread/autwrite functionality. Please refer to (Input/Output of medical image data (odindata library) ) for a detailed description of this module.
Definition at line 82 of file fileio.h.
◆ ProtocolDataMap
Type to associate protocols with tempo-spatial raw data via std::map
Definition at line 89 of file fileio.h.
◆ autoformats()
static svector FileIO::autoformats |
( |
| ) |
|
|
static |
Returns possible file formats/extensions to autoread autowrite
◆ autoformats_str()
static STD_string FileIO::autoformats_str |
( |
const STD_string & |
indent = "" | ) |
|
|
static |
Returns possible file formats as string with comment
◆ autoread()
Reads in file 'filename' and appends all data sets found to protocol-data map 'pdmap', autodetects file format according to file extension. Read options are given by 'opts' and 'protocol_template' contains defaults used by the decoder/encoder of the particular file format. The progress meter 'progmeter' can be optionally specified to monitor the progress of the operation. Returns number of slices, or -1 if it fails.
◆ autowrite()
Writes out protocol-data map 'pdmap' to file(s) filename, autodetects file format according to file extension. Write options are given by 'opts'. Returns number of slices successfully written, or -1 if it fails.
The documentation for this class was generated from the following file: