#include <TDF_Label.hxx>
-class ModelAPI_Expression;
+class ModelAPI_ExpressionDouble;
/**\class Model_AttributeDouble
* \ingroup DataModel
class Model_AttributeDouble : public ModelAPI_AttributeDouble
{
- std::shared_ptr<ModelAPI_Expression> myExpression;
+ std::shared_ptr<ModelAPI_ExpressionDouble> myExpression;
public:
/// Defines the double value
protected:
/// Initializes attributes
Model_AttributeDouble(TDF_Label& theLabel);
+ /// Reinitializes the internal state of the attribute (may be needed on undo/redo, abort, etc)
+ virtual void reinit();
friend class Model_Data;
};