+ MODEL_EXPORT void setLabel(TDF_Label theLab);
+
+ /// Sets the object of this data
+ MODEL_EXPORT virtual void setObject(ObjectPtr theObject)
+ {
+ myObject = theObject;
+ }
+
+ /// Erases all the data from the data model
+ MODEL_EXPORT virtual void erase();
+
+ /// Stores the state of the object to execute it later accordingly
+ MODEL_EXPORT virtual void execState(const ModelAPI_ExecState theState);
+
+ /// Returns the state of the latest execution of the feature
+ MODEL_EXPORT virtual ModelAPI_ExecState execState();
+
+ /// Registers error during the execution, causes the ExecutionFailed state
+ MODEL_EXPORT virtual void setError(const std::string& theError);
+
+ /// Returns the identifier of feature-owner, unique in this document
+ MODEL_EXPORT virtual int featureId() const;
+
+ // returns all objects referenced to this
+ MODEL_EXPORT virtual const std::set<AttributePtr>& refsToMe() {return myRefsToMe;}