STIR 6.4.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__
18
19#include "stir/shared_ptr.h"
20#include <vector>
21#include "stir/ExamInfo.h"
22
23START_NAMESPACE_STIR
24
25class Succeeded;
26
34{
35public:
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
53protected:
54 shared_ptr<const ExamInfo> exam_info_sptr;
55
56private:
57};
58
59END_NAMESPACE_STIR
60
61#endif
This file declares the class stir::ExamInfo.
ExamData()
ExamData.
Definition ExamData.cxx:21
virtual void set_exam_info(ExamInfo const &)
change exam info
Definition ExamData.cxx:33
virtual shared_ptr< const ExamInfo > get_exam_info_sptr() const
Get shared pointer to exam info.
Definition ExamData.cxx:51
a class for storing information about 1 exam (or scan)
Definition ExamInfo.h:42
Import of std::shared_ptr, std::dynamic_pointer_cast and std::static_pointer_cast into the stir names...