17 #ifndef OSFI_CONFM_PARAM_READER
18 #define OSFI_CONFM_PARAM_READER
29 #include "ArrayNode.h"
34 bool operator()(
const string& s1,
const string& s2)
const
36 return s1.compare(s2) < 0;
40 typedef map<string, Parameter, ltstr> t_params_map;
82 OSFI_DEPRECATED(
"Use the single-argument version and then call validate.")
99 bool validateAgainst(const std::
string& xsdFile) const;
103 bool validateAgainstInternalSchema() const;
125 vector<
Parameter> getParameters(const
string& groupName) const;
130 t_params_map getParameters() const;
137 bool existParameter(const
string& paramName) const;
147 void setParameter(const
string& paramName,
string value);
159 const
Parameter& getParameterRef(const
string& path) const;
166 t_params_map _params;
168 std::unique_ptr<XMLparser> src_doc;
#define OSFI_DEPRECATED(reason)
Definition: CLP.h:25
OSFI-C++ header that declares the class that represents parameters in a configuration file.
Definition: ParamReader.h:67
Definition: Parameter.h:33
Definition: ParamReader.h:43
Definition: ParamReader.h:33