14 #ifndef MODB_CONSTINFO_H 15 #define MODB_CONSTINFO_H 18 #include <boost/cstdint.hpp> 44 : name(name_), id(id_) {}
56 const std::string&
getName()
const {
return name; }
62 const uint64_t
getId()
const {
return id; }
~ConstInfo()
Destructor.
Definition: ConstInfo.h:49
Definition: OFLogHandler.h:20
const std::string & getName() const
Get the name for this const.
Definition: ConstInfo.h:56
Const info defines a specific enum member.
Definition: ConstInfo.h:36
const uint64_t getId() const
Get the unique ID for this const within the enclosing enum.
Definition: ConstInfo.h:62
ConstInfo(const std::string &name_, uint64_t id_)
Construct a const info object with the given name and ID.
Definition: ConstInfo.h:42