ModNameParamResolver Class Reference

A parameter resolver class for cXMLElement (more precisely, for cXMLElement::getElementByPath()) that, given a cModule pointer, resolves the following parameters: $MODULE_FULLPATH, $MODULE_FULLNAME, $MODULE_NAME, $MODULE_INDEX, $MODULE_ID; $PARENTMODULE_FULLPATH etc; $GRANDPARENTMODULE_FULLPATH etc. More...

#include <cxmlelement.h>

Inheritance diagram for ModNameParamResolver:
cXMLElement::ParamResolver

List of all members.

Public Member Functions

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

Detailed Description

A parameter resolver class for cXMLElement (more precisely, for cXMLElement::getElementByPath()) that, given a cModule pointer, resolves the following parameters: $MODULE_FULLPATH, $MODULE_FULLNAME, $MODULE_NAME, $MODULE_INDEX, $MODULE_ID; $PARENTMODULE_FULLPATH etc; $GRANDPARENTMODULE_FULLPATH etc.


Member Function Documentation

virtual bool ModNameParamResolver::resolve ( const char *  paramname,
std::string &  value 
) [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.

Implements cXMLElement::ParamResolver.


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