7 #ifndef CFG_OPTION_DEF_H 8 #define CFG_OPTION_DEF_H 104 const uint16_t option_code)
const;
114 const std::string& option_name)
const;
118 return (option_definitions_);
149 #endif // CFG_OPTION_DEF_H
bool operator==(const CfgOptionDef &other) const
Equality operator.
OptionDefinitionPtr get(const std::string &option_space, const uint16_t option_code) const
Return option definition for a particular option space and code.
boost::shared_ptr< const CfgOptionDef > ConstCfgOptionDefPtr
Const pointer.
bool operator!=(const CfgOptionDef &other) const
Inequality operator.
boost::shared_ptr< Element > ElementPtr
const OptionDefSpaceContainer & getContainer() const
Returns reference to container holding option definitions.
boost::shared_ptr< CfgOptionDef > CfgOptionDefPtr
Non-const pointer.
virtual isc::data::ElementPtr toElement() const
Unparse a configuration object.
OptionDefContainerPtr getAll(const std::string &option_space) const
Return option definitions for particular option space.
Abstract class for configuration Cfg_* classes.
Represents option definitions used by the DHCP server.
boost::shared_ptr< OptionDefContainer > OptionDefContainerPtr
Pointer to an option definition container.
Defines the logger used by the top-level component of kea-dhcp-ddns.
bool equals(const CfgOptionDef &other) const
Check if configuration is equal to other configuration.
boost::shared_ptr< OptionDefinition > OptionDefinitionPtr
Pointer to option definition object.
void add(const OptionDefinitionPtr &def, const std::string &option_space)
Add new option definition.
void copyTo(CfgOptionDef &new_config) const
Copies this configuration to a new configuration.