X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FConfig%2FConfig_Common.h;h=52776d764f7623c1b75ea912f176d713e68e2b91;hb=853e0eec6016120b641efa6adf427a239cf203cf;hp=1850f8a7bd642373ed74ebdc4d262b443403410a;hpb=1eb338bda4fd99a4db24005f62a073a2866c9689;p=modules%2Fshaper.git diff --git a/src/Config/Config_Common.h b/src/Config/Config_Common.h index 1850f8a7b..52776d764 100644 --- a/src/Config/Config_Common.h +++ b/src/Config/Config_Common.h @@ -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. */