Salome HOME
Added CPP High API for FeaturesPlugin_Pipe
[modules/shaper.git] / src / Model / Model_AttributeDouble.h
index 390cc66bc7bfcbe0824bb75ad9212d9c9850a48a..abf394aa611c84b59883de8932ef3eb86d9445c5 100644 (file)
@@ -12,7 +12,7 @@
 
 #include <TDF_Label.hxx>
 
-class ModelAPI_Expression;
+class ModelAPI_ExpressionDouble;
 
 /**\class Model_AttributeDouble
  * \ingroup DataModel
@@ -21,7 +21,7 @@ class ModelAPI_Expression;
 
 class Model_AttributeDouble : public ModelAPI_AttributeDouble
 {
-  std::shared_ptr<ModelAPI_Expression> myExpression;
+  std::shared_ptr<ModelAPI_ExpressionDouble> myExpression;
 
  public:
   /// Defines the double value
@@ -59,7 +59,7 @@ class Model_AttributeDouble : public ModelAPI_AttributeDouble
 
  protected:
   /// Initializes attributes
-  Model_AttributeDouble(TDF_Label& theLabel);
+  Model_AttributeDouble();
 
   friend class Model_Data;
 };