CORSIKA  @c8_version@
The framework to simulate particle cascades for astroparticle physics
NameModel.hpp
1 /*
2  * (c) Copyright 2020 CORSIKA Project, corsika-project@lists.kit.edu
3  *
4  * This software is distributed under the terms of the GNU General Public
5  * Licence version 3 (GPL Version 3). See file LICENSE for a full version of
6  * the license.
7  */
8 
9 #pragma once
10 
11 #include <string>
12 
13 namespace corsika {
14 
15  template <typename T>
16  struct NameModel : public T {
17  virtual std::string const& GetName() const = 0;
18  virtual ~NameModel() = default;
19  };
20 
21 } // namespace corsika
`, since they are used everywhere as integral part of the framework.