Salome HOME
Copyright update 2022
[modules/shaper.git] / src / CollectionPlugin / CollectionPlugin_GroupIntersection.h
index 115f3f5444475c2fb8764b4029d5b973c5d52633..8f953a0529228566e117acb18db827807bf435bb 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2019  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2022  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 #define COLLECTIONPLUGIN_GROUPINTERSECTION_H_
 
 #include "CollectionPlugin.h"
-#include "CollectionPlugin_Group.h"
+#include "CollectionPlugin_GroupOperation.h"
 
 /**\class CollectionPlugin_GroupIntersection
  * \ingroup Plugins
  * \brief Merge several groups of same shape type into single group.
  */
-class CollectionPlugin_GroupIntersection : public CollectionPlugin_Group
+class CollectionPlugin_GroupIntersection : public CollectionPlugin_GroupOperation
 {
- public:
+public:
   /// Extrusion kind
   inline static const std::string& ID()
   {
@@ -56,9 +56,6 @@ class CollectionPlugin_GroupIntersection : public CollectionPlugin_Group
   /// Request for initialization of data model of the feature: adding all attributes
   COLLECTIONPLUGIN_EXPORT virtual void initAttributes();
 
-  /// Result of groups is created on the fly and don't stored to the document
-  COLLECTIONPLUGIN_EXPORT virtual bool isPersistentResult() {return true;}
-
   /// Use plugin manager for features creation
   CollectionPlugin_GroupIntersection();