1 #ifndef __stir_IO_GEHDF5ListmodeInputFileFormat_h__ 2 #define __stir_IO_GEHDF5ListmodeInputFileFormat_h__ 43 const std::string get_name()
const override {
return "GEHDF5"; }
46 bool actual_can_read(
const FileSignature& signature, std::istream& input)
const override;
47 bool can_read(
const FileSignature& signature,
const std::string& filename)
const override;
50 unique_ptr<data_type>
read_from_file(std::istream& input)
const override;
51 unique_ptr<data_type>
read_from_file(
const std::string& filename)
const override;
A class to read/store the file signature.
Definition: FileSignature.h:34
unique_ptr< DataT > read_from_file(const FileSignature &signature, FileT file)
Function that reads data from file using the default InputFileFormatRegistry, using the provided File...
Definition: read_from_file.h:46