Kea 2.7.5
|
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< ContainerType, ItemType, Selector > | |
void | addItem (const ItemType &item, const Selector &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 Selector &option_space) const |
Get all items for the particular option space. | |
std::list< Selector > | getOptionSpaceNames () const |
Get a list of existing option spaces. | |
Additional Inherited Members | |
Public Types inherited from isc::dhcp::OptionSpaceContainer< ContainerType, ItemType, Selector > | |
typedef boost::shared_ptr< ContainerType > | 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< ContainerType, ItemType, Selector >::addItem().
Referenced by isc::dhcp::CfgOptionDef::add().