Salome HOME
Drawing of zones in OCC view improved.
[modules/hydro.git] / src / HYDROData / HYDROData_Iterator.h
index b24ee4b2cbffa3f09c2e4a065639cf92d666e167..746366a64d9d8c230c3cb1d7e45e9bd7671ebe4c 100644 (file)
@@ -21,7 +21,8 @@ public:
    * \param theDoc document to iterate
    * \param theKind kind of the iterated object, can be UNKNOWN: to iterate all objects
    */
-  HYDRODATA_EXPORT HYDROData_Iterator(Handle(HYDROData_Document) theDoc, ObjectKind theKind);
+  HYDRODATA_EXPORT HYDROData_Iterator(Handle(HYDROData_Document) theDoc,
+                                      ObjectKind theKind = KIND_UNKNOWN);
 
   /**
    * Iterates to the next object
@@ -41,7 +42,7 @@ public:
 protected:
 
   friend class HYDROData_Document;
-  friend class HYDROData_Image;
+  friend class HYDROData_Object;
 
   /**
    * Creates object in the document, call HYDROData_Document method to create