Matchable Class Reference¶
|
API
|
cMatchExpression::Matchable Class Referenceabstract
Inheritance diagram for cMatchExpression::Matchable:
Public Member Functions | |
| virtual const char * | getAsString () const =0 |
| virtual const char * | getAsString (const char *attribute) const =0 |
| virtual | ~Matchable () |
Description
Objects to be matched must implement this interface.
Constructor & Destructor Documentation
◆ ~Matchable()
|
inlinevirtual |
Virtual destructor, for good manners...
Member Function Documentation
◆ getAsString() [1/2]
|
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.
◆ getAsString() [2/2]
|
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.
Generated on for API by