STIR
6.2.0
|
The ROOTListmodeInputFileFormat class. More...
#include "stir/IO/ROOTListmodeInputFileFormat.h"
Public Member Functions | |
const std::string | get_name () const override |
unique_ptr< data_type > | read_from_file (std::istream &input) const override |
read data from a stream More... | |
unique_ptr< data_type > | read_from_file (const std::string &filename) const override |
read data from a filename More... | |
Public Member Functions inherited from stir::InputFileFormat< ListModeData > | |
virtual bool | can_read (const FileSignature &signature, std::istream &input) const |
virtual bool | can_read (const FileSignature &signature, const std::string &filename) const |
Protected Member Functions | |
bool | actual_can_read (const FileSignature &signature, std::istream &input) const override |
bool | is_root_signature (const char *const signature) const |
Additional Inherited Members | |
Public Types inherited from stir::InputFileFormat< ListModeData > | |
typedef ListModeData | data_type |
The ROOTListmodeInputFileFormat class.
Class for being able to read list mode data from the ROOT via the listmode-data registry.
|
inlineoverridevirtual |
read data from a stream
This function should throw an exception if the read fails.
Implements stir::InputFileFormat< ListModeData >.
References stir::error().
|
inlineoverridevirtual |
read data from a filename
This function should throw an exception if the read fails.
Default implementation used open_read_binary
and read_from_file(std::istream&)
.
Reimplemented from stir::InputFileFormat< ListModeData >.