StringMapParamResolver Class Reference

A parameter resolver class for cXMLElement (more precisely, for cXMLElement::getElementByPath()), which resolves parameters from a string map that contains (parametername, value) pairs. More...

#include <cxmlelement.h>

Inheritance diagram for StringMapParamResolver:
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()), which resolves parameters from a string map that contains (parametername, value) pairs.


Member Function Documentation

virtual bool StringMapParamResolver::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