OMNeT++ Simulation Library
6.0.3
|
#include <cmatchexpression.h>
Objects to be matched must implement this interface.
Public Member Functions | |
virtual const char * | getAsString () const =0 |
virtual const char * | getAsString (const char *attribute) const =0 |
virtual | ~Matchable () |
|
inlinevirtual |
Virtual destructor, for good manners...
|
pure virtual |
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.
Implemented in cMatchableString.
|
pure virtual |
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.
Implemented in cMatchableString.