Kea 2.7.5
|
#include <token.h>
Public Member Functions | |
TokenLabel (const unsigned label) | |
Constructor. | |
virtual unsigned | evaluate (Pkt &pkt, ValueStack &values) |
Does nothing. | |
virtual unsigned | getLabel () const |
Returns label. | |
Public Member Functions inherited from isc::dhcp::Token | |
virtual | ~Token () |
Virtual destructor. | |
Protected Attributes | |
unsigned | label_ |
Additional Inherited Members | |
Static Public Member Functions inherited from isc::dhcp::Token | |
static bool | toBool (std::string value) |
Coverts a (string) value to a boolean. | |
Token label i.e.
target of branches.
For instance label(123): at evaluation when a branch returns 123 remaining expression is scanned until label(123) is reached.
TokenLabel::TokenLabel | ( | const unsigned | label | ) |
|
virtual |
Does nothing.
pkt | (unused) |
values | - stack of values (unused) |
Implements isc::dhcp::Token.
|
inlinevirtual |
Returns label.
Reimplemented from isc::dhcp::Token.
Definition at line 1432 of file token.h.
References label_.
|
protected |
Definition at line 1444 of file token.h.
Referenced by getLabel().