cMatchExpression::Matchable Class Reference

Objects to be matched must implement this interface. More...

#include <cmatchexpression.h>

Inheritance diagram for cMatchExpression::Matchable:
cMatchableString

List of all members.

Public Member Functions

virtual const char * getAsString () const =0
virtual const char * getAsString (const char *attribute) const =0
virtual ~Matchable ()

Detailed Description

Objects to be matched must implement this interface.


Constructor & Destructor Documentation

virtual cMatchExpression::Matchable::~Matchable (  )  [inline, virtual]

Virtual destructor, for good manners.

..


Member Function Documentation

virtual const char* cMatchExpression::Matchable::getAsString ( const char *  attribute  )  const [pure 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.

Implemented in cMatchableString.

virtual const char* cMatchExpression::Matchable::getAsString (  )  const [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.


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