*/
CONFIG_EXPORT Config_XMLReader(const std::string& theXmlFile);
CONFIG_EXPORT virtual ~Config_XMLReader();
+ /*!
+ * Returns a path to the plugins.xml file (created from ROOT_DIR environment variable)
+ * \return string value
+ */
+ CONFIG_EXPORT static std::string pluginConfigFile();
/*!
* Read all nodes in associated xml file,
* recursively if processChildren(xmlNode) is true for the xmlNode.
*/
CONFIG_EXPORT xmlNodePtr findRoot();
+ CONFIG_EXPORT const char* encoding() const;
+
protected:
/*!
* \brief Allows to customize reader's behavior for a node. Virtual.
- * The default implementation process "source", "validator" and
- * "selection_filter" nodes.
+ * The default implementation process "source" and "validator" nodes.
*/
virtual void processNode(xmlNodePtr aNode);
std::string restoreAttribute(xmlNodePtr theNode, const char* theNodeAttribute);
/// Restores an attribute from internal map.
std::string restoreAttribute(const char* theNodeName, const char* theNodeAttribute);
+ /// Cleanups attribute from cache
bool cleanupAttribute(xmlNodePtr theNode, const char* theNodeAttribute);
+ /// Cleanups attribute from cache
bool cleanupAttribute(const char* theNodeName, const char* theNodeAttribute);
protected: