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 (
auto const& opt : rsoo_options_) {
46 const std::string& code = boost::lexical_cast<std::string>(opt);
static ElementPtr create(const Position &pos=ZERO_POSITION())
static ElementPtr createList(const Position &pos=ZERO_POSITION())
Creates an empty ListElement type ElementPtr.
void clear()
Removes designation of all options as RSOO_enabled.
void enable(const uint16_t code)
Marks specified option code as RSOO-enabled.
bool enabled(const uint16_t code) const
Returns whether specific option code is RSOO-enabled.
virtual isc::data::ElementPtr toElement() const
Unparse a configuration object.
@ D6O_ERP_LOCAL_DOMAIN_NAME
boost::shared_ptr< Element > ElementPtr
Defines the logger used by the top-level component of kea-lfc.