OMNeT++ Simulation Library
6.0.3
|
#include <cmatchexpression.h>
Wrapper to make a string matchable with cMatchExpression.
Public Member Functions | |
virtual const char * | getAsString () const override |
virtual const char * | getAsString (const char *attribute) const override |
Public Member Functions inherited from cMatchExpression::Matchable | |
virtual | ~Matchable () |
|
inlineoverridevirtual |
Return the default string to match. The returned pointer will not be cached by the caller, so it is OK to return a pointer to a static buffer.
Implements cMatchExpression::Matchable.
|
inlineoverridevirtual |
Return the string value of the given attribute, or nullptr if the object doesn't have an attribute with that name. The returned pointer will not be cached by the caller, so it is OK to return a pointer to a static buffer.
Implements cMatchExpression::Matchable.