Salome HOME
Constriction type for all sketch entities
[modules/shaper.git] / src / ModelAPI / ModelAPI_AttributeDouble.h
index 121af02a5c083985ebcf3bf46bb1c5f604b456d8..498b4050901c7d0cdb4b54be64e5ebcf358684cf 100644 (file)
@@ -30,21 +30,14 @@ class ModelAPI_AttributeDouble : public ModelAPI_Attribute
   }
 
   /// 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_AttributeDouble()
-  {
-  }
+  MODELAPI_EXPORT virtual ~ModelAPI_AttributeDouble();
 
  protected:
   /// Objects are created for features automatically
-  MODELAPI_EXPORT ModelAPI_AttributeDouble()
-  {
-  }
+  MODELAPI_EXPORT ModelAPI_AttributeDouble();
 };
 
 //! Pointer on double attribute