Salome HOME
refs #423: color for polylines presentation is correctly set
[modules/hydro.git] / src / HYDROPy / HYDROData_Region.sip
index 0f228ff4d89485961d8cfbef09291f534e6f6bf2..444d57f2a48d00fbcc3987ea2b5d694940c45869 100644 (file)
 #include <HYDROData_Region.h>
 %End
 
-class HYDROData_Region : HYDROData_Entity
+class HYDROData_Region : public HYDROData_Entity
 {
 
-%TypeHeaderCode
-#include <HYDROData_Region.h>
-%End
-
 %ConvertToSubClassCode
     switch ( sipCpp->GetKind() )
     {
@@ -44,6 +40,10 @@ class HYDROData_Region : HYDROData_Entity
     }
 %End
 
+%TypeHeaderCode
+#include <HYDROData_Region.h>
+%End
+
 public:      
 
   /**
@@ -67,7 +67,7 @@ public:
   /**
    * Returns all reference zone of region.
    */
-  //void HYDROData_SequenceOfObjects GetZones() const;
+  HYDROData_SequenceOfObjects GetZones() const;
 
   /**
    * Removes reference zone from region.