11 #include <boost/lexical_cast.hpp>
25 rsoo_options_.clear();
30 return (rsoo_options_.find(code) != rsoo_options_.end());
35 if (rsoo_options_.find(code) == rsoo_options_.end()) {
37 rsoo_options_.insert(code);
45 for (std::set<uint16_t>::const_iterator opt = rsoo_options_.cbegin();
46 opt != rsoo_options_.cend(); ++opt) {
47 const std::string& code = boost::lexical_cast<std::string>(*opt);
48 result->add(Element::create(code));
boost::shared_ptr< Element > ElementPtr
void enable(const uint16_t code)
Marks specified option code as RSOO-enabled.
virtual isc::data::ElementPtr toElement() const
Unparse a configuration object.
Defines the logger used by the top-level component of kea-dhcp-ddns.
void clear()
Removes designation of all options as RSOO_enabled.
bool enabled(const uint16_t code) const
Returns whether specific option code is RSOO-enabled.