24 "0123456789@ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-.@_";
38 const string&
id = flex_id->stringValue();
50 binary.assign(
id.begin(),
id.end());
56 for (vector<uint8_t>::const_iterator it = binary.begin();
57 it != binary.end(); ++it) {
61 tmp << setw(2) << setfill('0') << static_cast<unsigned int>(*it);
64 host->set(
"flex-id", Element::create(tmp.str()));
AdaptorHost()
Constructor.
static void quoteIdentifier(isc::data::ElementPtr host)
Quote when needed a host identifier.
virtual ~AdaptorHost()
Destructor.
static const std::string STD_CHARACTERS
The string of standard (vs special or not printable) characters (digit, letters, -,...
boost::shared_ptr< const Element > ConstElementPtr
boost::shared_ptr< Element > ElementPtr
std::vector< uint8_t > quotedStringToBinary(const std::string "ed_string)
Converts a string in quotes into vector.
Defines the logger used by the top-level component of kea-lfc.