34 #ifndef LAYERCONFIGURATION_HEADER_ 35 #define LAYERCONFIGURATION_HEADER_ 44 #include <libxml/tree.h> 55 using ParamStringValues = std::vector<std::string>;
56 using ParamMap = std::map<std::string, ParamStringValues>;
57 using ParamMapIter = ParamMap::iterator;
144 ParamMap & paramMap);
172 xmlNodePtr pParamlistNode);
183 std::string
getAttrVal(xmlNodePtr pNode,
const char * attributename);
194 const char * attributename);
229 std::string sDefinitionPath_;
238 std::string sDefinitionFile_;
Provides default implementation to common layer functionalities.
virtual void doProcessChildNode(xmlNodePtr pNode)
virtual void doProcessChildren(xmlNodePtr pParent, ParamMap ¶mMap)
std::string getDefinitionPath() const
std::string getLibrary() const
std::uint16_t getAttrValNumeric(xmlNodePtr pNode, const char *attributename)
void doProcessParam(ParamMap ¶mMap, xmlNodePtr pParamNode)
std::string getDefinitionFile() const
std::string getType() const
void processDefinition(const char *pxzName, const std::string &sURI)
const ConfigurationUpdateRequest getConfigurationUpdateRequest()
void overlayParams(xmlNodePtr pNode)
LayerConfiguration(std::string sType)
std::vector< ConfigurationNameStringValues > ConfigurationUpdateRequest
virtual void doProcessRootAttributes(xmlNodePtr pRoot)
void setPathAndFile(const std::string sURI)
std::string getAttrVal(xmlNodePtr pNode, const char *attributename)
virtual ~LayerConfiguration()
void doProcessParamlist(ParamMap ¶mMap, xmlNodePtr pParamlistNode)