// ...
};
- /**
- * Enumeration of tags corresponding to the child sub-objects of object.
- */
- enum ChildTag
- {
- ChildTag_First = 0 ///< first tag, to reserve
- // ...
- };
-
public:
DEFINE_STANDARD_RTTI(HYDROData_Entity);
HYDRODATA_EXPORT virtual QStringList DumpToPython( MapOfTreatedObjects& theTreatedObjects ) const;
/**
- * Updates object state.
- * Base implementation dose nothing.
- * \param theIsForce force reupdating of data object
+ * Updates object state. Base implementation dose nothing.
*/
- HYDRODATA_EXPORT virtual void Update( const bool theIsForce = true );
+ HYDRODATA_EXPORT virtual void Update();
/**
* Returns data of object wrapped to QVariant.
*/
HYDRODATA_EXPORT virtual QVariant GetDataVariant();
+ /**
+ * Sets the "MustBeUpdated" flag: if object is depended on updated features.
+ * \param theFlag is true for objects that must be updated, false for up-to-date
+ */
+ HYDRODATA_EXPORT void SetToUpdate(bool theFlag);
+
+ /**
+ * Returns the "MustBeUpdated" flag: is object data must be updated or not
+ * \returns false if object is up to date
+ */
+ HYDRODATA_EXPORT bool IsMustBeUpdated() const;
+
/**
* Checks is object exists in the data structure.
* \returns true is object is not exists in the data model