X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FBuildAPI%2FBuildAPI_SubShapes.h;h=4ea7d96ef4f0aef0f599a7687247d5d35d807eed;hb=0325db75534c99a962d6c03f2619e1fcc04491b6;hp=b8108f5bf730bd0b4b556d482c974bea9b78b816;hpb=0eb9388d9b4fc0f4c398a63a82c5e6264ed6b48e;p=modules%2Fshaper.git diff --git a/src/BuildAPI/BuildAPI_SubShapes.h b/src/BuildAPI/BuildAPI_SubShapes.h index b8108f5bf..4ea7d96ef 100644 --- a/src/BuildAPI/BuildAPI_SubShapes.h +++ b/src/BuildAPI/BuildAPI_SubShapes.h @@ -1,8 +1,22 @@ -// Copyright (C) 2014-20xx CEA/DEN, EDF R&D --> - -// File: BuildAPI_SubShapes.h -// Created: 09 June 2016 -// Author: Dmitry Bobylev +// Copyright (C) 2014-2017 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 +51,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 +63,10 @@ public: /// Modify sub-shapes attribute of the feature. BUILDAPI_EXPORT void setSubShapes(const std::list& theSubShapes); + + /// Dump wrapped feature + BUILDAPI_EXPORT + virtual void dump(ModelHighAPI_Dumper& theDumper) const; }; /// Pointer on SubShapes object.