STIR  6.2.0
ExamData.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2016, 2018, University College London
3  This file is part of STIR.
4 
5  SPDX-License-Identifier: Apache-2.0
6 
7  See STIR/LICENSE.txt for details
8 */
9 #ifndef __stir_IO_ExamData_H__
10 #define __stir_IO_ExamData_H__
11 
19 #include "stir/shared_ptr.h"
20 #include <vector>
21 #include "stir/ExamInfo.h"
22 
23 START_NAMESPACE_STIR
24 
25 class Succeeded;
26 
33 class ExamData
34 {
35 public:
39  ExamData();
40 
41  ExamData(const shared_ptr<const ExamInfo>& _this_exam);
42 
43  virtual ~ExamData();
44 
45  virtual const ExamInfo& get_exam_info() const;
47  virtual shared_ptr<const ExamInfo> get_exam_info_sptr() const;
49 
50  virtual void set_exam_info(ExamInfo const&);
51  void set_exam_info_sptr(shared_ptr<const ExamInfo> new_exam_info_sptr);
52 
53 protected:
54  shared_ptr<const ExamInfo> exam_info_sptr;
55 
56 private:
57 };
58 
59 END_NAMESPACE_STIR
60 
61 #endif
This file declares the class stir::ExamInfo.
Import of std::shared_ptr, std::dynamic_pointer_cast and std::static_pointer_cast (or corresponding b...
a class for storing information about 1 exam (or scan)
Definition: ExamInfo.h:41
base class for data objects such as ProjData etcProvides an ExamInfo member.
Definition: ExamData.h:33