Salome HOME
Code alignment.
[modules/hydro.git] / src / HYDROData / HYDROData_Object.h
index f4b30d7076e29afafa161007657ad784a910b28d..e5bfa5fb2945a3337fd4d9f5f465d4d5af1a454d 100644 (file)
@@ -5,6 +5,7 @@
 
 #include <NCollection_Sequence.hxx>
 #include <TDF_Label.hxx>
+#include <QMap>
 #include <QString>
 
 ///! Kind of an object in a document
@@ -13,6 +14,8 @@ typedef int ObjectKind;
 const ObjectKind KIND_UNKNOWN = 0;
 const ObjectKind KIND_IMAGE = 1;
 const ObjectKind KIND_POLYLINE = 2;
+const ObjectKind KIND_VISUAL_STATE = 3;
+const ObjectKind KIND_BATHYMETRY = 4;
 
 DEFINE_STANDARD_HANDLE(HYDROData_Object, MMgt_TShared)
 
@@ -25,6 +28,16 @@ DEFINE_STANDARD_HANDLE(HYDROData_Object, MMgt_TShared)
  */
 class HYDROData_Object : public MMgt_TShared
 {
+protected:
+  /**
+   * Enumeration of tags corresponding to the persistent object parameters.
+   */
+  enum DataTag
+  {
+    DataTag_First = 0     ///< first tag, to reserve
+    // ...
+  };
+
 public:
   DEFINE_STANDARD_RTTI(HYDROData_Object);
 
@@ -43,18 +56,6 @@ public:
    */
   HYDRODATA_EXPORT void SetName(const QString& theName);
 
-  /**
-   * Returns the object visibility state.
-   * \returns visibility state
-   */
-  HYDRODATA_EXPORT bool GetVisibility() const;
-
-  /**
-   * Sets the object visibility state.
-   * \param theState visibility state
-   */
-  HYDRODATA_EXPORT void SetVisibility(bool theState);
-
   /**
    * Checks is object exists in the data structure.
    * \returns true is object is not exists in the data model