OMNeT++ Simulation Library
6.0.3
|
#include <cxmlelement.h>
A parameter resolver class for cXMLElement cXMLElement::getElementByPath().
Given a cModule pointer, this class resolves the following parameters: $MODULE_FULLPATH, $MODULE_FULLNAME, $MODULE_NAME, $MODULE_INDEX, $MODULE_ID; $PARENTMODULE_FULLPATH etc; $GRANDPARENTMODULE_FULLPATH etc.
Public Member Functions | |
virtual bool | resolve (const char *paramname, std::string &value) override |
|
overridevirtual |
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.
Implements cXMLElement::ParamResolver.