Salome HOME
Migration on new model architecture
[modules/shaper.git] / src / ModelAPI / ModelAPI_ResultBody.h
index f801ad45cd8e8f36e9cbf9743b74e03932a0670a..09ce4d6b0f6225b78242ae107ce7632b47079e5f 100644 (file)
@@ -20,8 +20,12 @@ class ModelAPI_ResultBody : public ModelAPI_Result
 {
 public:
   /// Returns the group identifier of this result
-  virtual std::string group()
-    {static std::string MY_GROUP = "Bodies"; return MY_GROUP;}
+  virtual std::string groupName()
+    { return group(); }
+
+  /// Returns the group identifier of this result
+  static std::string group()
+  {static std::string MY_GROUP = "Bodies"; return MY_GROUP;}
 
   /// Stores the shape (called by the execution method).
   virtual void store(const boost::shared_ptr<GeomAPI_Shape>& theShape) = 0;