Salome HOME
refs #1330: basic implementation of the not zoomable polyline arrows
[modules/hydro.git] / src / HYDROData / HYDROData_Zone.h
index 3f95324ceb28e197b565e1f30b54817081b98232..2ed80acccd52fb4597e844a5bbc540d5d34d7434 100644 (file)
 #include "HYDROData_Entity.h"
 #include "HYDROData_IInterpolator.h"
 
-class Handle(HYDROData_LandCover);
+class HYDROData_LandCover;
 class TopoDS_Shape;
 
-DEFINE_STANDARD_HANDLE(HYDROData_Zone, HYDROData_Entity)
-
 
 /**\class HYDROData_Zone
  * \brief Class that stores/retreives information about the 2d face.
@@ -35,7 +33,6 @@ class HYDROData_Zone : public HYDROData_Entity
 {
 
 public:
-
   // Enumeration of mergin types for conflict altitudes/types
   enum MergeType
   {
@@ -59,7 +56,7 @@ protected:
   };
 
 public:
-  DEFINE_STANDARD_RTTI(HYDROData_Zone);
+  DEFINE_STANDARD_RTTIEXT(HYDROData_Zone, HYDROData_Entity);
 
   /**
    * Returns the kind of this object. Must be redefined in all objects of known type.
@@ -135,11 +132,13 @@ public:
   /**
    * Sets the reference object to resolve the conflict.
    * This object is used only in case of "Merge_Object" merge type.
+   * \param theObject the merge object
    */
   HYDRODATA_EXPORT virtual void SetMergeObject( const Handle(HYDROData_Entity)& theObject );
 
   /**
    * Returns the reference object to resolve the conflict.
+   * \return the merge object
    */
   HYDRODATA_EXPORT virtual Handle(HYDROData_Entity) GetMergeObject() const;
 
@@ -150,11 +149,13 @@ public:
   
   /**
    * Add new one object for zone.
+   * \param theObject the object to add
    */
   HYDRODATA_EXPORT virtual bool AddObject( const Handle(HYDROData_Entity)& theObject );
 
   /**
    * Returns all objects of zone.
+   * \return the list of objects
    */
   HYDRODATA_EXPORT virtual HYDROData_SequenceOfObjects GetObjects() const;
 
@@ -163,6 +164,10 @@ public:
    */
   HYDRODATA_EXPORT virtual void RemoveObjects();
 
+  /**
+   * Returns submersible flag.
+   * \return true if all objects of the zone is submersible
+   */
   HYDRODATA_EXPORT bool IsSubmersible() const;
 
 protected: