![]() |
Kea 3.0.0
|
Class of option definition space container. More...
#include <option_definition.h>
Public Member Functions | |
| void | addItem (const OptionDefinitionPtr &def) |
| Adds a new option definition to the container. | |
| Public Member Functions inherited from isc::dhcp::OptionSpaceContainer< OptionDefContainer, OptionDefinitionPtr, std::string > | |
| void | addItem (const OptionDefinitionPtr &item, const std::string &option_space) |
| Adds a new item to the option_space. | |
| void | clearItems () |
| Remove all items from the container. | |
| uint64_t | deleteItems (const uint64_t id) |
| Remove all options or option definitions with a given database identifier. | |
| bool | empty () const |
| Indicates the container is empty. | |
| bool | equals (const OptionSpaceContainer &other) const |
| Check if two containers are equal. | |
| ItemsContainerPtr | getItems (const std::string &option_space) const |
| Get all items for the particular option space. | |
| std::list< std::string > | getOptionSpaceNames () const |
| Get a list of existing option spaces. | |
Additional Inherited Members | |
| Public Types inherited from isc::dhcp::OptionSpaceContainer< OptionDefContainer, OptionDefinitionPtr, std::string > | |
| typedef boost::shared_ptr< OptionDefContainer > | ItemsContainerPtr |
| Pointer to the container. | |
Class of option definition space container.
Definition at line 879 of file option_definition.h.
|
inline |
Adds a new option definition to the container.
The option definition already contains the option space.
| def | reference to the option definition being added. |
Definition at line 890 of file option_definition.h.
References isc::dhcp::OptionSpaceContainer< OptionDefContainer, OptionDefinitionPtr, std::string >::addItem().
Referenced by isc::dhcp::LibDHCP::setRuntimeOptionDefs().