Salome HOME
Issue #2130: arc is done not as desired
[modules/shaper.git] / src / Config / Config_Common.h
index 52776d764f7623c1b75ea912f176d713e68e2b91..eb7cbc9fa9f2ef97be584f2437e95554b823ddce 100644 (file)
@@ -84,7 +84,7 @@ 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, ...);
+CONFIG_EXPORT xmlNodePtr hasParentRecursive(xmlNodePtr theNode, const char* theNodeName, ...);
 
 
 /*!
@@ -111,6 +111,11 @@ CONFIG_EXPORT std::string library(const std::string& theLibName);
  */
 CONFIG_EXPORT std::string getProperty(xmlNodePtr theNode, const char* thePropName);
 
+/*!
+ * Returns content of the node as std::string if it is exists.
+ */
+CONFIG_EXPORT std::string getContent(xmlNodePtr theNode);
+
 /*!
  * Returns normalized (lower case) named property for a given node as std::string.
  */