 |
Kea
1.5.0
|
Go to the documentation of this file.
9 #include <boost/lexical_cast.hpp>
15 const std::string& value)
24 value_ = boost::lexical_cast<std::string>(value);
33 const std::string& value) {
39 const int64_t value) {
46 if (!value_.empty()) {
48 return (boost::lexical_cast<int64_t>(value_));
51 <<
" to a signed integer");
Defines the logger used by the top-level component of kea-dhcp-ddns.
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.
#define isc_throw(type, stream)
A shortcut macro to insert known values into exception arguments.
A generic exception that is thrown if a parameter given to a method is considered invalid in that con...
This class represents configuration element which is associated with the modification timestamp.
StampedValue(const std::string &name, const std::string &value)
Constructor.
boost::shared_ptr< StampedValue > StampedValuePtr
Pointer to the stamped value.