|  | Kea 3.0.0
    | 
Sub-option configuration. More...
#include <flex_option.h>
| Public Member Functions | |
| SubOptionConfig (uint16_t code, isc::dhcp::OptionDefinitionPtr def, OptionConfigPtr container) | |
| Constructor. | |
| virtual | ~SubOptionConfig () | 
| Destructor. | |
| Action | getContainerAction () const | 
| Return action on the container. | |
| const isc::dhcp::ClientClass & | getContainerClass () const | 
| Return container client class. | |
| uint16_t | getContainerCode () const | 
| Return container code. | |
| isc::dhcp::OptionDefinitionPtr | getContainerDef () const | 
| Return container definition. | |
| uint32_t | getVendorId () const | 
| Return vendor id. | |
| void | setContainerAction (Action action) | 
| Set action on the container. | |
| void | setVendorId (uint32_t vendor_id) | 
| Set vendor id. | |
| Public Member Functions inherited from isc::flex_option::FlexOptionImpl::OptionConfig | |
| OptionConfig (uint16_t code, isc::dhcp::OptionDefinitionPtr def) | |
| Constructor. | |
| virtual | ~OptionConfig () | 
| Destructor. | |
| Action | getAction () const | 
| Return action. | |
| const isc::dhcp::ClientClass & | getClass () const | 
| Get client class. | |
| uint16_t | getCode () const | 
| Return option code. | |
| const isc::dhcp::ExpressionPtr & | getExpr () const | 
| Get match expression. | |
| isc::dhcp::OptionDefinitionPtr | getOptionDef () const | 
| Return option definition. | |
| const std::string & | getText () const | 
| Get textual expression. | |
| void | setAction (Action action) | 
| Set action. | |
| void | setClass (const isc::dhcp::ClientClass &class_name) | 
| Set client class. | |
| void | setExpr (const isc::dhcp::ExpressionPtr &expr) | 
| Set match expression. | |
| void | setText (const std::string &text) | 
| Set textual expression. | |
Sub-option configuration.
Per sub-option configuration.
Definition at line 170 of file flex_option.h.
| isc::flex_option::FlexOptionImpl::SubOptionConfig::SubOptionConfig | ( | uint16_t | code, | 
| isc::dhcp::OptionDefinitionPtr | def, | ||
| OptionConfigPtr | container ) | 
Constructor.
| code | the sub-option code. | 
| def | the sub-option definition. | 
| container | pointer to the container option. | 
Definition at line 112 of file flex_option.cc.
References isc::flex_option::FlexOptionImpl::OptionConfig::OptionConfig(), isc_throw, and isc::flex_option::FlexOptionImpl::NONE.
| 
 | virtual | 
Destructor.
Definition at line 122 of file flex_option.cc.
| 
 | inline | 
Return action on the container.
Definition at line 228 of file flex_option.h.
| 
 | inline | 
Return container client class.
Definition at line 214 of file flex_option.h.
| 
 | inline | 
| 
 | inline | 
Return container definition.
Definition at line 207 of file flex_option.h.
| 
 | inline | 
| 
 | inline | 
Set action on the container.
| action | the action. | 
Definition at line 221 of file flex_option.h.
| 
 | inline |