X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPartSetAPI%2FPartSetAPI_Part.h;h=2cc3111a5aa9252f69434fea0199d36fd37a43f1;hb=db25cb9e9be0ce3e2332141f7f2f47f088956bea;hp=b65fce9b9053aeae6fde879f03744bc59e4b45aa;hpb=a97af12c3bf7f23f77f2fb231b394ec9643cce40;p=modules%2Fshaper.git diff --git a/src/PartSetAPI/PartSetAPI_Part.h b/src/PartSetAPI/PartSetAPI_Part.h index b65fce9b9..2cc3111a5 100644 --- a/src/PartSetAPI/PartSetAPI_Part.h +++ b/src/PartSetAPI/PartSetAPI_Part.h @@ -1,8 +1,22 @@ -// Name : PartSetAPI_Part.h -// Purpose: +// 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 // -// History: -// 16/06/16 - Sergey POKHODENKO - Creation of the file #ifndef SRC_PARTSETAPI_PARTSETAPI_PART_H_ #define SRC_PARTSETAPI_PARTSETAPI_PART_H_ @@ -36,6 +50,10 @@ public: /// Return document PARTSETAPI_EXPORT std::shared_ptr document() const; + + /// Dump wrapped feature + PARTSETAPI_EXPORT + virtual void dump(ModelHighAPI_Dumper& theDumper) const; }; //! Pointer on Part object @@ -51,13 +69,13 @@ PartPtr addPart(const std::shared_ptr & thePartSet); * \brief Duplicate Part feature */ PARTSETAPI_EXPORT -PartPtr duplicatePart(const std::shared_ptr & thePart); +PartPtr duplicatePart(const ModelHighAPI_Interface& thePart); /**\ingroup CPPHighAPI * \brief Remove Part feature */ PARTSETAPI_EXPORT -void removePart(const std::shared_ptr & thePart); +void removePart(const ModelHighAPI_Interface& thePart); //-------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------