7 #ifndef ELEMENT_VALUE_H
8 #define ELEMENT_VALUE_H
51 return (static_cast<T>(el->intValue()));
65 return (el->doubleValue());
79 return (el->boolValue());
94 return (el->stringValue());
117 #endif // ELEMENT_VALUE_H
double operator()(ConstElementPtr el) const
Function operator extracting an Element value as double.
asiolink::IOAddress operator()(ConstElementPtr el) const
Function operator extracting an Element value as IOAddress.
boost::shared_ptr< const Element > ConstElementPtr
Defines the logger used by the top-level component of kea-dhcp-ddns.
A wrapper interface for the ASIO library.
bool operator()(ConstElementPtr el) const
Function operator extracting an Element value as boolean.
T operator()(ConstElementPtr el) const
Function operator extracting an Element value as integer.
The IOAddress class represents an IP addresses (version agnostic)
std::string operator()(ConstElementPtr el) const
Function operator extracting an Element value as string.
Template class for converting a value encapsulated in the Element object into a simple type...