19#ifndef __stir_listmode_SPECTListModeData_H__
20#define __stir_listmode_SPECTListModeData_H__
25#ifdef BOOST_NO_STDC_NAMESPACE
63 virtual shared_ptr<ListRecord> get_empty_record_helper_sptr()
const
65 shared_ptr<SPECTListRecord> sptr(this->get_empty_record_sptr());
66 shared_ptr<ListRecord> sptr1(static_pointer_cast<ListRecord>(sptr));
70 virtual Succeeded get_next(ListRecord& event)
const {
return this->get_next_record(
reinterpret_cast<SPECTListRecord&
>(event)); }
Declaration of class stir::ListModeData.
Declarations of classes stir::SPECTListRecord which is used for list mode data.
ListModeData()
Default constructor.
Definition ListModeData.cxx:27
The base class for reading SPECT list mode data.
Definition SPECTListModeData.h:48
virtual Succeeded get_next_record(SPECTListRecord &event) const =0
Gets the next record in the listmode sequence.
virtual bool has_delayeds() const
Return if the file stores delayed events as well (as opposed to prompts)
Definition SPECTListModeData.h:60
virtual shared_ptr< SPECTListRecord > get_empty_record_sptr() const =0
Get a pointer to an empty record.
A class for a general element of a list mode file.
Definition SPECTListRecord.h:45
a class containing an enumeration type that can be used by functions to signal successful operation o...
Definition Succeeded.h:44