|  | Kea 3.1.0
    | 
Base option configuration. More...
#include <flex_option.h>
| Public Member Functions | |
| 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. | |
| isc::flex_option::FlexOptionImpl::OptionConfig::OptionConfig | ( | uint16_t | code, | 
| isc::dhcp::OptionDefinitionPtr | def ) | 
Constructor.
| code | the option code. | 
| def | the option definition. | 
Definition at line 104 of file flex_option.cc.
References isc::flex_option::FlexOptionImpl::NONE.
Referenced by isc::flex_option::FlexOptionImpl::SubOptionConfig::SubOptionConfig().
| 
 | virtual | 
Destructor.
Definition at line 109 of file flex_option.cc.
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
Set client class.
| class_name | the client class aka guard name. | 
Definition at line 126 of file flex_option.h.
| 
 | inline | 
Set match expression.
| expr | the match expression. | 
Definition at line 112 of file flex_option.h.
| 
 | inline | 
Set textual expression.
| text | the textual expression. | 
Definition at line 98 of file flex_option.h.