ParamResolver Class Reference

API: cXMLElement::ParamResolver Class Reference
API
cXMLElement::ParamResolver Class Referenceabstract
Inheritance diagram for cXMLElement::ParamResolver:
[legend]

Public Member Functions

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

Description

Base class for classes that resolve parameters ($PARAM) that occur in in XPath expressions to their values.

Member Function Documentation

◆ resolve()

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

Implemented in ModNameParamResolver, and StringMapParamResolver.