Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'Dev_1.1.0' of newgeom:newgeom into Dev_1.1.0
[modules/shaper.git]
/
src
/
Config
/
Config_XMLReader.h
diff --git
a/src/Config/Config_XMLReader.h
b/src/Config/Config_XMLReader.h
index 1a75184b619496a5627c26ef968bf2947272454b..603ce7d1faea03605dcebf388af0af69105f8bc3 100644
(file)
--- a/
src/Config/Config_XMLReader.h
+++ b/
src/Config/Config_XMLReader.h
@@
-36,6
+36,10
@@
struct _xmlDoc;
class Config_XMLReader
{
public:
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();
/*!
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);
* "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.
/*!
* \brief Defines which nodes should be processed recursively. Virtual.
* The default impl is to read all nodes.