cMatchableString Class Reference

Wrapper to make a string matchable with cMatchExpression. More...

#include <cmatchexpression.h>

Inheritance diagram for cMatchableString:
cMatchExpression::Matchable

List of all members.

Public Member Functions

virtual const char * getAsString () const
virtual const char * getAsString (const char *attribute) const

Detailed Description

Wrapper to make a string matchable with cMatchExpression.


Member Function Documentation

virtual const char* cMatchableString::getAsString ( const char *  attribute  )  const [inline, virtual]

Return the string value of the given attribute, or NULL 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.

virtual const char* cMatchableString::getAsString (  )  const [inline, 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.

Implements cMatchExpression::Matchable.


The documentation for this class was generated from the following file:
Generated on Tue Dec 2 11:16:28 2014 for OMNeT++ Simulation Library by  doxygen 1.6.3