X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FConfig%2FConfig_XMLReader.h;h=603ce7d1faea03605dcebf388af0af69105f8bc3;hb=7b13546ebd4d7a935189869b0a0c7b72a6f84479;hp=1a75184b619496a5627c26ef968bf2947272454b;hpb=abab0a0689765a60fcec0d7861a3ef7893a685fa;p=modules%2Fshaper.git diff --git a/src/Config/Config_XMLReader.h b/src/Config/Config_XMLReader.h index 1a75184b6..603ce7d1f 100644 --- a/src/Config/Config_XMLReader.h +++ b/src/Config/Config_XMLReader.h @@ -36,6 +36,10 @@ struct _xmlDoc; class Config_XMLReader { public: + /*! + * Constructor + * \param theXmlFile - full path to the xml file which will be processed by the reader + */ CONFIG_EXPORT Config_XMLReader(const std::string& theXmlFile); CONFIG_EXPORT virtual ~Config_XMLReader(); /*! @@ -57,6 +61,12 @@ class Config_XMLReader * "selection_filter" nodes. */ virtual void processNode(xmlNodePtr aNode); + + /*! + * This method gives an ability to finalize processing of a node, + * when reader is about to leave the node (node and all it's children are processed) + */ + virtual void cleanup(xmlNodePtr aNode); /*! * \brief Defines which nodes should be processed recursively. Virtual. * The default impl is to read all nodes.