X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModelAPI%2FModelAPI_AttributeInteger.h;h=e683166d32179ffcc6c9a92b63a2c576d8fe985e;hb=5ee0ac732ede71b1a7784be6870c5f21f6782565;hp=16e70ee663d4647cb51646501b15dacebe8fbd93;hpb=4783f146b71a48c651523fcf0e12367bcf3d1fa8;p=modules%2Fshaper.git diff --git a/src/ModelAPI/ModelAPI_AttributeInteger.h b/src/ModelAPI/ModelAPI_AttributeInteger.h index 16e70ee66..e683166d3 100644 --- a/src/ModelAPI/ModelAPI_AttributeInteger.h +++ b/src/ModelAPI/ModelAPI_AttributeInteger.h @@ -1,3 +1,5 @@ +// Copyright (C) 2014-20xx CEA/DEN, EDF R&D + // File: ModelAPI_AttributeInteger.h // Created: 2 Apr 2014 // Author: Mikhail PONIKAROV @@ -26,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