Salome HOME
Copyright update 2022
[modules/shaper.git] / src / BuildAPI / BuildAPI_SubShapes.h
index b8108f5bf730bd0b4b556d482c974bea9b78b816..39bfac8682efdba4d93e89e6a05fb29327caba89 100644 (file)
@@ -1,8 +1,21 @@
-// Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
-
-// File:        BuildAPI_SubShapes.h
-// Created:     09 June 2016
-// Author:      Dmitry Bobylev
+// 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
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
 
 #ifndef BuildAPI_SubShapes_H_
 #define BuildAPI_SubShapes_H_
@@ -37,8 +50,10 @@ public:
   virtual ~BuildAPI_SubShapes();
 
   INTERFACE_2(BuildPlugin_SubShapes::ID(),
-              baseShape, BuildPlugin_SubShapes::BASE_SHAPE_ID(), ModelAPI_AttributeSelection, /** Base shape */,
-              subShapes, BuildPlugin_SubShapes::SUBSHAPES_ID(), ModelAPI_AttributeSelectionList, /** Sub-shapes */)
+              baseShape, BuildPlugin_SubShapes::BASE_SHAPE_ID(),
+              ModelAPI_AttributeSelection, /** Base shape */,
+              subShapes, BuildPlugin_SubShapes::SUBSHAPES_ID(),
+              ModelAPI_AttributeSelectionList, /** Sub-shapes */)
 
   /// Modify base attribute of the feature.
   BUILDAPI_EXPORT
@@ -47,6 +62,10 @@ public:
   /// Modify sub-shapes attribute of the feature.
   BUILDAPI_EXPORT
   void setSubShapes(const std::list<ModelHighAPI_Selection>& theSubShapes);
+
+  /// Dump wrapped feature
+  BUILDAPI_EXPORT
+  virtual void dump(ModelHighAPI_Dumper& theDumper) const;
 };
 
 /// Pointer on SubShapes object.