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>
Public Member Functions | |
virtual bool | resolve (const char *paramname, std::string &value) |
A parameter resolver class for cXMLElement (more precisely, for cXMLElement::getElementByPath()), which resolves parameters from a string map that contains (parametername, value) pairs.
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.