#include <fileio.h>
Public Member Functions | |
| void | register_format () |
Static Public Member Functions | |
| static svector | create_unique_filenames (const STD_string &filename, const FileIO::ProtocolDataMap &pdmap, const STD_string &par) |
| static float | voxel_extent (const Geometry &geometry, direction direction, int size) |
Static Protected Member Functions | |
| static STD_string | select_write_datatype (const Protocol &prot, const FileWriteOpts &opts) |
Friends | |
| class | FileIO |
Base class for file formats
Definition at line 114 of file fileio.h.
| static svector FileFormat::create_unique_filenames | ( | const STD_string & | filename, | |
| const FileIO::ProtocolDataMap & | pdmap, | |||
| const STD_string & | par | |||
| ) | [static] |
creates unique filenames based on 'filename' for the protocol-data pairs in 'pdmap' using comma-separated list of additional parameters in 'par'
| void FileFormat::register_format | ( | ) |
Use this function on a static instance to register the corresponding file format
| static STD_string FileFormat::select_write_datatype | ( | const Protocol & | prot, | |
| const FileWriteOpts & | opts | |||
| ) | [static, protected] |
Select the appropriate data type when writing binary data
| static float FileFormat::voxel_extent | ( | const Geometry & | geometry, | |
| direction | direction, | |||
| int | size | |||
| ) | [static] |
returns the voxel extent of the 'geometry' in the given 'direction' using a matrix size 'size'.
1.7.1