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
Issue #1351: partition is not done
[modules/shaper.git]
/
src
/
Config
/
Config_Common.h
diff --git
a/src/Config/Config_Common.h
b/src/Config/Config_Common.h
index 52fc1e1726fa0adbfedd95f72a7f3a930995c362..52776d764f7623c1b75ea912f176d713e68e2b91 100644
(file)
--- a/
src/Config/Config_Common.h
+++ b/
src/Config/Config_Common.h
@@
-43,6
+43,8
@@
CONFIG_EXPORT bool isElementNode(xmlNodePtr theNode);
*/
CONFIG_EXPORT bool isNode(xmlNodePtr theNode, const char* theNodeName, ...);
*/
CONFIG_EXPORT bool isNode(xmlNodePtr theNode, const char* theNodeName, ...);
+//#define isNode(p) _isNode(p, NULL)
+
/*!
* Checks if the given node is attribute node.
* Attribute node represents a widget, that is able to store/restore
/*!
* Checks if the given node is attribute node.
* Attribute node represents a widget, that is able to store/restore
@@
-79,6
+81,12
@@
CONFIG_EXPORT bool hasParent(xmlNodePtr theNode);
*/
CONFIG_EXPORT bool hasParent(xmlNodePtr theNode, const char* theNodeName, ...);
*/
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.
*/
/*!
* Returns named property for an id node as std::string and the parameters of the node.
*/