STIR 6.4.0
SPECTListRecord.h
Go to the documentation of this file.
1
2//
13/*
14 Copyright (C) 2019, National Physical Laboratory
15 Copyright (C) 2019, University College of London
16 This file is part of STIR.
17
18 SPDX-License-Identifier: Apache-2.0
19
20 See STIR/LICENSE.txt for details
21*/
22
23#ifndef __stir_listmode_SPECTListRecord_H__
24#define __stir_listmode_SPECTListRecord_H__
25
27#include "ListRecord.h"
29
30#include "stir/round.h"
31#include "stir/Succeeded.h"
32
33START_NAMESPACE_STIR
34
36
45{
46public:
47 // virtual ~SPECTListRecord() {}
48
49 virtual bool is_time() const = 0;
50
51 virtual bool is_event() const = 0;
52
53 virtual SPECTListEvent& event() = 0;
54 virtual const SPECTListEvent& event() const = 0;
55 virtual ListTime& time() = 0;
56 virtual const ListTime& time() const = 0;
57
58 virtual bool operator==(const SPECTListRecord& e2) const = 0;
59 bool operator!=(const SPECTListRecord& e2) const { return !(*this == e2); }
60};
61
62END_NAMESPACE_STIR
63
64#endif
Declarations of classes stir::ListRecord which is used for list mode data.
Declarations of class stir::ListTime which is used for list mode data.
Declarations of classe stir::SPECTListEvent which is used for list mode data.
Declaration of class stir::Succeeded.
A class for a general element of a list mode file.
Definition ListRecord.h:45
A class for storing and using a timing record from a listmode file.
Definition ListTime.h:47
Class for storing and using gamma events from a SPECT List mode file.
Definition SPECTListEvent.h:48
A class for a general element of a list mode file.
Definition SPECTListRecord.h:45
Declaration of the stir::round functions.