STIR  6.2.0
ListRecord.h
Go to the documentation of this file.
1 //
13 /*
14  Copyright (C) 2003- 2011, Hammersmith Imanet Ltd
15  Copyright (C) 2019, National Physical Laboratory
16  Copyright (C) 2019, University College of London
17  This file is part of STIR.
18 
19  SPDX-License-Identifier: Apache-2.0
20 
21  See STIR/LICENSE.txt for details
22 */
23 
24 #ifndef __stir_listmode_ListRecord_H__
25 #define __stir_listmode_ListRecord_H__
26 
28 #include "stir/listmode/ListTime.h"
29 
30 START_NAMESPACE_STIR
31 
33 
45 {
46 public:
47  virtual ~ListRecord() {}
48 
49  virtual bool is_time() const = 0;
50 
51  virtual bool is_event() const = 0;
52 
53  virtual ListEvent& event() = 0;
54  virtual const ListEvent& event() const = 0;
55  virtual ListTime& time() = 0;
56  virtual const ListTime& time() const = 0;
57 };
58 
59 END_NAMESPACE_STIR
60 
61 #endif
Declarations of class stir::ListTime which is used for list mode data.
Declarations of classe stir::ListEvent which is used for list mode data.
Class for storing and using gamma events from a list mode file.
Definition: ListEvent.h:45
A class for a general element of a list mode file.
Definition: ListRecord.h:44
A class for storing and using a timing record from a listmode file.
Definition: ListTime.h:46