Salome HOME
Roll back the modification, not yet approved
[modules/shaper.git] / src / Config / Config_Common.h
index 1850f8a7bd642373ed74ebdc4d262b443403410a..52776d764f7623c1b75ea912f176d713e68e2b91 100644 (file)
@@ -81,6 +81,12 @@ CONFIG_EXPORT bool hasParent(xmlNodePtr theNode);
  */
 CONFIG_EXPORT bool hasParent(xmlNodePtr theNode, const char* theNodeName, ...);
 
+/*!
+ * Checks if the given node has any valid parent in hierarchy with any of the given node names.
+ */
+CONFIG_EXPORT bool hasParentRecursive(xmlNodePtr theNode, const char* theNodeName, ...);
+
+
 /*!
  * Returns named property for an id node as std::string and the parameters of the node.
  */