OMNeT++ Simulation Library  6.0.3
cXMLElement::ParamResolver Class Referenceabstract

#include <cxmlelement.h>

Description

Base class for classes that resolve parameters ($PARAM) that occur in in XPath expressions to their values.

Inheritance diagram for cXMLElement::ParamResolver:
ModNameParamResolver StringMapParamResolver

Public Member Functions

virtual bool resolve (const char *paramname, std::string &value)=0
 

Member Function Documentation

◆ resolve()

virtual bool resolve ( const char *  paramname,
std::string &  value 
)
pure virtual

To be redefined in subclasses. If paramname is recognized, the method should store the value in the 'value' argument and return true; otherwise it should return false.

Implemented in StringMapParamResolver, and ModNameParamResolver.


The documentation for this class was generated from the following file: