Kea 2.7.5
|
Token representing a constant lower case string. More...
#include <token.h>
Public Member Functions | |
TokenLowerCase () | |
Constructor (does nothing) | |
virtual unsigned | evaluate (Pkt &pkt, ValueStack &values) |
Token evaluation (puts value of the evaluated string expression converted to lower case on the stack) | |
Public Member Functions inherited from isc::dhcp::Token | |
virtual | ~Token () |
Virtual destructor. | |
virtual unsigned | getLabel () const |
Return the label of this token. | |
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 representing a constant lower case string.
This token converts a string expression value of the corresponding lower case string value e.g. it evaluates to "lower" in expression lcase('lOwEr')
|
inline |
|
virtual |
Token evaluation (puts value of the evaluated string expression converted to lower case on the stack)
pkt | (ignored) |
values | (represented string will be pushed here) |
Implements isc::dhcp::Token.
Definition at line 94 of file token.cc.
References isc::dhcp::EVAL_DBG_STACK, isc::dhcp::EVAL_DEBUG_LCASE, isc::dhcp::eval_logger, isc_throw, and LOG_DEBUG.