X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModel%2FModel_AttributeDouble.h;h=6c999936593e4b8a37586e3fd0604ef3da1fafc4;hb=refs%2Ftags%2FV_1.2.1;hp=951c99613ad1f0640acd05890c1c9607dc3841a6;hpb=150ef68b3ea2df3c2130a4f5ea8128ddb5c76048;p=modules%2Fshaper.git diff --git a/src/Model/Model_AttributeDouble.h b/src/Model/Model_AttributeDouble.h index 951c99613..6c9999365 100644 --- a/src/Model/Model_AttributeDouble.h +++ b/src/Model/Model_AttributeDouble.h @@ -36,6 +36,12 @@ class Model_AttributeDouble : public ModelAPI_AttributeDouble /// Returns the double value MODEL_EXPORT virtual std::string text(); + /// Allows to set expression (text) as invalid (by the parameters listener) + MODEL_EXPORT virtual void setExpressionInvalid(const bool theFlag); + + /// Returns true if text is invalid + MODEL_EXPORT virtual bool expressionInvalid(); + protected: /// Initializes attibutes Model_AttributeDouble(TDF_Label& theLabel);