CORSIKA  @c8_version@
The framework to simulate particle cascades for astroparticle physics
Configurable.hpp
1 /*
2  * (c) Copyright 2021 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 #pragma once
9 
11 #include <corsika/output/Configurable.hpp>
12 #include <boost/filesystem.hpp>
13 #include <yaml-cpp/yaml.h>
14 
15 namespace corsika {
16 
21  class Configurable {
22 
23  protected:
24  Configurable() = default;
25  virtual ~Configurable() = default;
26 
27  public:
31  virtual YAML::Node getConfig() const = 0; // LCOV_EXCL_LINE
32  };
33 
34 } // namespace corsika
This is the base class for all classes that have YAML representations of their configurations.
CORSIKA8 logging utilities.
`, since they are used everywhere as integral part of the framework.
virtual YAML::Node getConfig() const =0
Provide YAML configuration for this BaseOutput.