X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModelAPI%2FModelAPI_AttributeInteger.h;h=e683166d32179ffcc6c9a92b63a2c576d8fe985e;hb=a11ca8e50848c291ed13f920168622937ae3b8dc;hp=676352b1977fa5a87bee53f2fcdb8f4928d748d3;hpb=7bf19255421b34594c7b0a76d0ce28166d0ce895;p=modules%2Fshaper.git diff --git a/src/ModelAPI/ModelAPI_AttributeInteger.h b/src/ModelAPI/ModelAPI_AttributeInteger.h index 676352b19..e683166d3 100644 --- a/src/ModelAPI/ModelAPI_AttributeInteger.h +++ b/src/ModelAPI/ModelAPI_AttributeInteger.h @@ -28,27 +28,20 @@ class ModelAPI_AttributeInteger : public ModelAPI_Attribute MODELAPI_EXPORT virtual int value() = 0; /// Returns the type of this class of attributes - MODELAPI_EXPORT static std::string type() + MODELAPI_EXPORT static std::string typeId() { return "Integer"; } /// Returns the type of this class of attributes, not static method - MODELAPI_EXPORT virtual std::string attributeType() - { - return type(); - } + MODELAPI_EXPORT virtual std::string attributeType(); /// To virtually destroy the fields of successors - MODELAPI_EXPORT virtual ~ModelAPI_AttributeInteger() - { - } + MODELAPI_EXPORT virtual ~ModelAPI_AttributeInteger(); protected: /// Objects are created for features automatically - MODELAPI_EXPORT ModelAPI_AttributeInteger() - { - } + MODELAPI_EXPORT ModelAPI_AttributeInteger(); }; //! Pointer on double attribute