OMNeT++ Simulation Library  6.0.3
StringMapParamResolver Class Reference

#include <cxmlelement.h>

Description

A parameter resolver class for cXMLElement::getElementByPath().

It resolves parameters from a string map that contains (parametername, value) pairs.

Inheritance diagram for StringMapParamResolver:
cXMLElement::ParamResolver

Public Member Functions

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

Member Function Documentation

◆ resolve()

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


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