ValueSource.hpp
1 #ifndef OPALS_VALUE_SOURCE_HPP_INCLUDED
2 #define OPALS_VALUE_SOURCE_HPP_INCLUDED
3 
4 #include <opals/config.hpp>
5 
6 namespace opals
7 {
8  /// Origin of an option value.
9  namespace ValueSource
10  {
11  enum Type
12  {
13  unknown , ///< The value's origin is unknown.
14  internalDefault , ///< The value has been set internally by the module.
15  configFile , ///< The value has been parsed from a configuration file.
16  estimated , ///< The value has been estimated, probably based on other values.
17  paramMapping , ///< The value has been mapped from a parameter file.
18  interFace , ///< The value has been set interactively / via the public interface.
19  run , ///< The value has been set during module execution.
20  Count ///< number of elements
21  };
22  }
23 }
24 
25 #endif