20 #ifndef CONFIG_VALIDATORREADER_H_
21 #define CONFIG_VALIDATORREADER_H_
23 #include <Config_def.h>
24 #include <Config_XMLReader.h>
47 CONFIG_EXPORT
void setFeatureId(
const std::string& theId) { myExtFeatureId = theId; }
67 virtual void cleanup(xmlNodePtr theNode);
76 std::string myCurrentWidget;
77 std::string myExtFeatureId;
Base class for all libxml readers. Provides high-level API for all xml operations.
Definition: Config_ValidatorReader.h:36
virtual void processNode(xmlNodePtr aNode)
Allows to customize reader's behavior for a node. Virtual. The default implementation process "source...
Definition: Config_ValidatorReader.cpp:45
virtual bool processChildren(xmlNodePtr aNode)
Defines which nodes should be processed recursively. Virtual. The default impl is to read all nodes.
Definition: Config_ValidatorReader.cpp:71
void processValidator(xmlNodePtr theNode)
Retrieves all the necessary info from the validator node. Sends ValidatorLoaded event.
Definition: Config_ValidatorReader.cpp:76
CONFIG_EXPORT Config_ValidatorReader(const std::string &theXmlFile, bool isXMLContent=false)
Definition: Config_ValidatorReader.cpp:36
CONFIG_EXPORT void setFeatureId(const std::string &theId)
Set feature ID for cases when XML for validators is parsed from memory.
Definition: Config_ValidatorReader.h:47
virtual void cleanup(xmlNodePtr theNode)
Definition: Config_ValidatorReader.cpp:60
Base class for all libxml readers. Provides high-level API for all xml operations.
Definition: Config_XMLReader.h:48
CONFIG_EXPORT void readAll()
Definition: Config_XMLReader.cpp:161