Kea
1.9.9-git
|
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. More... | |
Public Member Functions inherited from isc::dhcp::OptionSpaceContainer< ContainerType, ItemType, Selector > | |
void | addItem (const ItemType &item, const Selector &option_space) |
Adds a new item to the option_space. More... | |
void | clearItems () |
Remove all items from the container. More... | |
uint64_t | deleteItems (const uint64_t id) |
Remove all options or option definitions with a given database identifier. More... | |
bool | empty () const |
Indicates the container is empty. More... | |
bool | equals (const OptionSpaceContainer &other) const |
Check if two containers are equal. More... | |
ItemsContainerPtr | getItems (const Selector &option_space) const |
Get all items for the particular option space. More... | |
std::list< Selector > | getOptionSpaceNames () const |
Get a list of existing option spaces. More... | |
Additional Inherited Members | |
Public Types inherited from isc::dhcp::OptionSpaceContainer< ContainerType, ItemType, Selector > | |
typedef boost::shared_ptr< ContainerType > | ItemsContainerPtr |
Pointer to the container. More... | |
Class of option definition space container.
Definition at line 850 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 861 of file option_definition.h.
References isc::dhcp::OptionSpaceContainer< ContainerType, ItemType, Selector >::addItem().
Referenced by isc::dhcp::bench::GenericHostDataSourceBenchmark::addTestOptions(), and isc::dhcp::LibDHCP::setRuntimeOptionDefs().