Tags.hpp
1 // Distributed under the MIT License.
2 // See LICENSE.txt for details.
3 
4 #pragma once
5 
6 #include <string>
7 
9 #include "Options/Options.hpp"
10 
11 /// \cond
12 enum class Verbosity;
13 /// \endcond
14 
15 namespace Tags {
16 /// \ingroup LoggingGroup
17 /// \brief Tag for putting `::Verbosity` in a DataBox.
19  static std::string name() noexcept { return "Verbosity"; }
20  using type = ::Verbosity;
21 };
22 } // namespace Tags
23 
24 namespace OptionTags {
25 /// \ingroup OptionTagsGroup
26 /// \ingroup LoggingGroup
27 struct Verbosity {
28  using type = ::Verbosity;
29  static constexpr OptionString help{"Verbosity"};
30 };
31 } // namespace OptionTags
Tag for putting Verbosity in a DataBox.
Definition: Tags.hpp:18
Defines classes and functions for making classes creatable from input files.
Tags for the DataBox inherit from this type.
Definition: DataBoxTag.hpp:65
const char *const OptionString
The string used in option structs.
Definition: Options.hpp:26
Verbosity
Indicates how much informative output a class should output.
Definition: Verbosity.hpp:16
Definition: Tags.hpp:27
Definition: Strahlkorper.hpp:167
Definition: DataBoxTag.hpp:29
Defines classes SimpleTag, PrefixTag, ComputeTag and several functions for retrieving tag info...