Salome HOME
Constriction type for all sketch entities
[modules/shaper.git] / src / ModelAPI / ModelAPI_ResultConstruction.h
index 4ff1a01891dede1434255710081dea20bb8fc9bd..85a8d81baa5df9534704a2471a1a1142f82df388 100644 (file)
@@ -1,3 +1,5 @@
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
 // File:        ModelAPI_ResultConstruction.h
 // Created:     07 Jul 2014
 // Author:      Mikhail PONIKAROV
@@ -21,21 +23,15 @@ class ModelAPI_ResultConstruction : public ModelAPI_Result
 {
  public:
   /// Returns the group identifier of this result
-  virtual std::string groupName()
-  {
-    return group();
-  }
+  MODELAPI_EXPORT virtual std::string groupName();
 
   /// Returns the group identifier of this result
-  static std::string group()
+  inline static std::string group()
   {
     static std::string MY_GROUP = "Construction";
     return MY_GROUP;
   }
 
-  /// Returns the shape-result produced by this feature
-  virtual std::shared_ptr<GeomAPI_Shape>& shape() = 0;
-
   /// Sets the result
   virtual void setShape(std::shared_ptr<GeomAPI_Shape> theShape) = 0;