2 #ifndef HYDROData_HYDROData_Calculation
3 #define HYDROData_HYDROData_Calculation
5 #include <HYDROData_Object.h>
12 DEFINE_STANDARD_HANDLE(HYDROData_Calculation, HYDROData_Object)
15 /**\class HYDROData_Calculation
16 * \brief Class that stores/retreives information about the Calculation case.
18 * Calculation case is defined by selection of Geometry objects with or without
\93Zone of water
\94.
20 class HYDROData_Calculation : public HYDROData_Object
26 * Enumeration of tags corresponding to the persistent object parameters.
30 DataTag_First = HYDROData_Object::DataTag_First + 100, ///< first tag, to reserve
35 DEFINE_STANDARD_RTTI(HYDROData_Calculation);
38 * Returns the kind of this object. Must be redefined in all objects of known type.
40 HYDRODATA_EXPORT virtual const ObjectKind GetKind() const { return KIND_CALCULATION; }
44 * Dump Calculation object to Python script representation.
46 HYDRODATA_EXPORT virtual QStringList DumpToPython( MapOfTreatedObjects& theTreatedObjects ) const;
49 // Public methods to work with Calculation
54 friend class HYDROData_Iterator;
57 * Creates new object in the internal data structure. Use higher level objects
58 * to create objects with real content.
60 HYDROData_Calculation();
63 * Destructs properties of the object and object itself, removes it from the document.
65 ~HYDROData_Calculation();