ifw  0.0.1-dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
configSet.hpp
Go to the documentation of this file.
1 
9 #ifndef DEVMGR_COMMON_CONFIGSET_HPP
10 #define DEVMGR_COMMON_CONFIGSET_HPP
11 
12 namespace devmgr {
13  namespace common {
14 
15  template <typename T>
16  struct ConfigSet {
17  ConfigSet(const std::string& keycfg,
18  T value,
19  const bool mandatory):
20  m_key_str(keycfg),
21  m_value(value),
22  m_mandatory(mandatory) {
23 
24  }
25  ConfigSet() {}
26  std::string m_key_str;
27  T m_value;
28  bool m_mandatory;
29  };
30  }
31 }
32 #endif // DEVMGR_COMMON_CONFIGSET_HPP
double value
Definition: easylogging++.h:814
bool m_mandatory
Definition: configSet.hpp:28
ConfigSet(const std::string &keycfg, T value, const bool mandatory)
Definition: configSet.hpp:17
T m_value
Definition: configSet.hpp:27
ConfigSet()
Definition: configSet.hpp:25
std::string m_key_str
Definition: configSet.hpp:26