2 #ifndef HYDROData_Digue_HeaderFile
3 #define HYDROData_Digue_HeaderFile
5 #include "HYDROData_Channel.h"
7 DEFINE_STANDARD_HANDLE(HYDROData_Digue, HYDROData_Channel)
9 /**\class HYDROData_Digue
13 class HYDROData_Digue : public HYDROData_Channel
17 * Enumeration of tags corresponding to the persistent object parameters.
21 DataTag_First = HYDROData_Channel::DataTag_First + 100, ///< first tag, to reserve
25 DEFINE_STANDARD_RTTI(HYDROData_Digue);
28 * Returns the kind of this object. Must be redefined in all objects of known type.
30 HYDRODATA_EXPORT virtual const ObjectKind GetKind() const {return KIND_DIGUE;}
33 * Returns default filling color for new digue.
35 HYDRODATA_EXPORT static QColor DefaultFillingColor();
38 * Returns default border color for new digue.
40 HYDRODATA_EXPORT static QColor DefaultBorderColor();
45 * Returns default filling color for new object.
47 HYDRODATA_EXPORT virtual QColor getDefaultFillingColor() const;
50 * Returns default border color for new object.
52 HYDRODATA_EXPORT virtual QColor getDefaultBorderColor() const;
56 friend class HYDROData_Iterator;
59 * Creates new object in the internal data structure. Use higher level objects
60 * to create objects with real content.
62 HYDRODATA_EXPORT HYDROData_Digue();
65 * Destructs properties of the object and object itself, removes it from the document.
67 virtual HYDRODATA_EXPORT ~HYDROData_Digue();