Salome HOME
Abort document operation after error in process apply (Bug #340).
[modules/hydro.git] / src / HYDROPy / HYDROData_PolylineXY.sip
index 40781bdf3c0e03d52858d125c104cae2ef6a78c4..e1aea5d3844be6c052e98d40a4cb4d338c3fb892 100644 (file)
@@ -24,7 +24,7 @@
 #include <HYDROData_PolylineXY.h>
 %End
 
-class HYDROData_PolylineXY : HYDROData_IPolyline
+class HYDROData_PolylineXY : public HYDROData_IPolyline
 {
 
 %TypeHeaderCode
@@ -65,6 +65,29 @@ public:
   virtual bool IsEditable() const;
 
   
+public:
+
+  /**
+   * Imports shape from IOR.
+   * \param theIOR the IOR of Geom object
+   * \return \c true if shape has been successfully imported
+   */
+  bool ImportFromGeomIOR( const TCollection_AsciiString& theIOR );
+
+  /**
+   * Stores the study entry of the imported GEOM object.
+   * \param theEntry GEOM object entry
+   */
+  void SetGeomObjectEntry( const TCollection_AsciiString& theEntry );
+
+  /**
+   * Returns the imported GEOM object entry.
+   */
+  TCollection_AsciiString GetGeomObjectEntry() const;
+
+
+public:
+
   /**
    * Returns true if polyline is closed
    * \param theIsSimpleCheck flag indicating the type of checking