ZeusBase-Library
2.0.4
|
#include <IVariableResolver.hpp>
Public Member Functions | |
virtual void MQUALIFIER | addVariable (const IString &rName, const IString &rValue)=0 |
virtual void MQUALIFIER | clearVariables ()=0 |
virtual void MQUALIFIER | removeVariable (const IString &rName)=0 |
virtual Retval MQUALIFIER | resolve (const IString &rData, IString &rOut, bool bRecursive)=0 |
Public Member Functions inherited from zeus::IZUnknown | |
virtual Retval MQUALIFIER | askForInterface (const InterfaceID &rInterfaceID, IZUnknown *&rpIface)=0 |
virtual void MQUALIFIER | addRef () const =0 |
virtual void MQUALIFIER | release () const =0 |
Interface defines the access to a variable resolver
|
pure virtual |
adds a new variable or overwrites an existing variable
rName | : Name of the variable |
rValue | value of the variable |
Implemented in zeus::TVariableResolver.
|
pure virtual |
clears the internal map of variables
Implemented in zeus::TVariableResolver.
|
pure virtual |
|
pure virtual |
Resolves all variables of a string
rData | : data string |
rOut | : result |
bRecursive | : if flag is set all variables containing other variables are also resolved |
RET_NOERROR | : Variable has been resolved or no variables has been found |
RET_REQUEST_FAILED | : Variable found but not resolved |
Implemented in zeus::TVariableResolver.