Salome HOME
Separate definition from declaration for each ModelAPI class
[modules/shaper.git] / src / ModelAPI / ModelAPI_AttributeInteger.h
index 676352b1977fa5a87bee53f2fcdb8f4928d748d3..c1bc9e6afec24f1ee67304c277ecfbeb9dd983fa 100644 (file)
@@ -34,21 +34,14 @@ class ModelAPI_AttributeInteger : 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_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