STIR 6.4.0
RegisteredObjectBase.h
Go to the documentation of this file.
1//
2//
13/*
14 Copyright (C) 2000- 2009, Hammersmith Imanet Ltd
15 This file is part of STIR.
16
17 SPDX-License-Identifier: Apache-2.0
18
19 See STIR/LICENSE.txt for details
20*/
21
22#include "stir/ParsingObject.h"
23
24#include <string>
25
26#ifndef __stir_RegisteredObjectBase_H__
27# define __stir_RegisteredObjectBase_H__
28
29START_NAMESPACE_STIR
30
39
40class RegisteredObjectBase : public ParsingObject
41{
42public:
43 ~RegisteredObjectBase() override {}
44
52 virtual std::string get_registered_name() const = 0;
53};
54END_NAMESPACE_STIR
55#endif
Declaration of class stir::ParsingObject.
Base class for all classes that can parse .par files (and more?)The only reason that this class exist...
Definition RegisteredObjectBase.h:41
virtual std::string get_registered_name() const =0
Returns the name of the type of the object.