Kea
1.9.9-git
|
The order where Token subtypes are declared should be: More...
#include <token.h>
Public Member Functions | |
TokenString (const std::string &str) | |
Value is set during token construction. More... | |
void | evaluate (Pkt &pkt, ValueStack &values) |
Token evaluation (puts value of the constant string on the stack) More... | |
Public Member Functions inherited from isc::dhcp::Token | |
virtual | ~Token () |
Virtual destructor. More... | |
Protected Attributes | |
std::string | value_ |
Constant value. More... | |
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. More... | |
The order where Token subtypes are declared should be:
This token holds value of a constant string, e.g. it represents "MSFT" in expression option[vendor-class].text == "MSFT"
|
inline |
|
virtual |
Token evaluation (puts value of the constant string on the stack)
pkt | (ignored) |
values | (represented string will be pushed here) |
Implements isc::dhcp::Token.
Definition at line 35 of file token.cc.
References isc::dhcp::EVAL_DBG_STACK, isc::dhcp::EVAL_DEBUG_STRING, isc::dhcp::eval_logger, and LOG_DEBUG.
|
protected |