7 #ifndef STAMPED_VALUE_H 8 #define STAMPED_VALUE_H 11 #include <boost/shared_ptr.hpp> 46 StampedValue(
const std::string& name,
const std::string& value);
54 explicit StampedValue(
const std::string& name,
const int64_t value);
61 const std::string& value);
This class represents configuration element which is associated with the modification timestamp.
std::string getValue() const
Returns value as string.
static StampedValuePtr create(const std::string &name, const std::string &value)
Convenience function creating shared pointer to the object.
int64_t getSignedIntegerValue() const
Returns value as signed integer.
std::string getName() const
Returns value name.
boost::shared_ptr< StampedValue > StampedValuePtr
Pointer to the stamped value.
This class represents string or signed integer configuration element associated with the modification...
Defines the logger used by the top-level component of kea-dhcp-ddns.
std::vector< StampedValuePtr > StampedValueCollection
Collection of pointers to values.
StampedValue(const std::string &name, const std::string &value)
Constructor.