]> SALOME platform Git repositories - modules/hydro.git/blob - src/HYDROData/HYDROData_River.h
Salome HOME
Empty classes for all geometry objects has been added.
[modules/hydro.git] / src / HYDROData / HYDROData_River.h
1
2 #ifndef HYDROData_River_HeaderFile
3 #define HYDROData_River_HeaderFile
4
5 #include "HYDROData_NaturalObject.h"
6
7 DEFINE_STANDARD_HANDLE(HYDROData_River, HYDROData_NaturalObject)
8
9 /**\class HYDROData_River
10  * \brief 
11  *
12  */
13 class HYDROData_River : public HYDROData_NaturalObject
14 {
15 protected:
16   /**
17    * Enumeration of tags corresponding to the persistent object parameters.
18    */
19   enum DataTag
20   {
21     DataTag_First = HYDROData_NaturalObject::DataTag_First + 100, ///< first tag, to reserve
22   };
23
24 public:
25   DEFINE_STANDARD_RTTI(HYDROData_River);
26
27   /**
28    * Returns the kind of this object. Must be redefined in all objects of known type.
29    */
30   HYDRODATA_EXPORT virtual const ObjectKind GetKind() const {return KIND_RIVER;}
31
32   /**
33    * Dump object to Python script representation.
34    */
35   HYDRODATA_EXPORT virtual QStringList DumpToPython( MapOfTreatedObjects& theTreatedObjects ) const;
36
37   /**
38    * Returns the top shape of the object.
39    */
40   HYDRODATA_EXPORT virtual TopoDS_Shape GetTopShape() const;
41
42   /**
43    * Returns the 3d shape of the object.
44    */
45   HYDRODATA_EXPORT virtual TopoDS_Shape GetShape3D() const;
46
47 protected:
48
49   friend class HYDROData_Iterator;
50
51   /**
52    * Creates new object in the internal data structure. Use higher level objects 
53    * to create objects with real content.
54    */
55   HYDRODATA_EXPORT HYDROData_River();
56
57   /**
58    * Destructs properties of the object and object itself, removes it from the document.
59    */
60   virtual HYDRODATA_EXPORT ~HYDROData_River();
61 };
62
63 #endif