Salome HOME
Fix for the bug #45: check and warning when the same image is used in 2 arguments.
[modules/hydro.git] / src / HYDROPy / HYDROData_Entity.sip
index 20ab25cbe19efdff4dff711db6001e8d42669fad..3bba4c53cb946bcc08eebbc7f189e6febd537534 100644 (file)
@@ -20,7 +20,6 @@
 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 
-
 %ExportedHeaderCode
 #include <HYDROData_Entity.h>
 %End
@@ -31,7 +30,17 @@ const ObjectKind KIND_UNKNOWN;
 const ObjectKind KIND_IMAGE;
 const ObjectKind KIND_POLYLINE;
 const ObjectKind KIND_BATHYMETRY;
+const ObjectKind KIND_ALTITUDE;
 const ObjectKind KIND_IMMERSIBLE_ZONE;
+const ObjectKind KIND_RIVER;
+const ObjectKind KIND_STREAM;
+const ObjectKind KIND_CONFLUENCE;
+const ObjectKind KIND_CHANNEL;
+const ObjectKind KIND_OBSTACLE;
+const ObjectKind KIND_DIGUE;
+const ObjectKind KIND_PROFILE;
+const ObjectKind KIND_PROFILEUZ;
+const ObjectKind KIND_POLYLINEXY;
 const ObjectKind KIND_CALCULATION;
 const ObjectKind KIND_ZONE;
 const ObjectKind KIND_REGION;
@@ -50,8 +59,8 @@ class HYDROData_Entity
         sipClass = sipClass_HYDROData_Image;
         break;
 
-      case KIND_POLYLINE:
-        sipClass = sipClass_HYDROData_Polyline;
+      case KIND_POLYLINEXY:
+        sipClass = sipClass_HYDROData_PolylineXY;
         break;
 
       case KIND_BATHYMETRY:
@@ -63,7 +72,7 @@ class HYDROData_Entity
         break;
         
       case KIND_CALCULATION:
-        sipClass = sipClass_HYDROData_Calculation;
+        sipClass = sipClass_HYDROData_CalculationCase;
         break;
 
       case KIND_REGION:
@@ -103,9 +112,8 @@ public:
 
   /**
    * Updates object state.
-   * \param theIsForce force reupdating of data object
    */
-  void Update(const bool theIsForce);
+  void Update();
 
   /**
    * Checks is object exists in the data structure.