X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FFeaturesAPI%2FFeaturesAPI_Recover.h;h=29cae46d3dc55317c05b7e16f0c3c9b62f993a17;hb=f60dc9dd94d5d4b0ea07e3e3cbfd5b3028f0942d;hp=28c8e180488c4135d90b185bc6afb7691a03a022;hpb=0cf033e3d2d9a6419aac40d77cd200187562a159;p=modules%2Fshaper.git diff --git a/src/FeaturesAPI/FeaturesAPI_Recover.h b/src/FeaturesAPI/FeaturesAPI_Recover.h index 28c8e1804..29cae46d3 100644 --- a/src/FeaturesAPI/FeaturesAPI_Recover.h +++ b/src/FeaturesAPI/FeaturesAPI_Recover.h @@ -1,8 +1,22 @@ -// Copyright (C) 2014-20xx CEA/DEN, EDF R&D --> - -// File: FeaturesAPI_Recover.h -// Created: 04 August 2016 -// Author: Mikhail Ponikarov +// 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 FeaturesAPI_Recover_H_ #define FeaturesAPI_Recover_H_ @@ -14,6 +28,7 @@ #include #include +class ModelHighAPI_Dumper; class ModelHighAPI_Reference; /// \class FeaturesAPI_Recover @@ -37,10 +52,11 @@ public: FEATURESAPI_EXPORT virtual ~FeaturesAPI_Recover(); - INTERFACE_3(FeaturesPlugin_Recover::ID(), - baseFeature, FeaturesPlugin_Recover::BASE_FEATURE(), ModelAPI_AttributeReference, /** Concealed feature */, - recoveredList, FeaturesPlugin_Recover::RECOVERED_ENTITIES(), ModelAPI_AttributeRefList, /** Recover list*/, - isPersistent, FeaturesPlugin_Recover::PERSISTENT(), ModelAPI_AttributeBoolean, /** Is persistent flag */) + INTERFACE_2(FeaturesPlugin_Recover::ID(), + baseFeature, FeaturesPlugin_Recover::BASE_FEATURE(), + ModelAPI_AttributeReference, /** Concealed feature */, + recoveredList, FeaturesPlugin_Recover::RECOVERED_ENTITIES(), + ModelAPI_AttributeRefList, /** Recover list*/) /// Set base feature. FEATURESAPI_EXPORT @@ -50,10 +66,9 @@ public: FEATURESAPI_EXPORT void setRecoveredList(const std::list& theRecoverList); - /// Set auxiliary + /// Dump wrapped feature FEATURESAPI_EXPORT - void setIsPersistent(bool thePersistent); - + virtual void dump(ModelHighAPI_Dumper& theDumper) const; }; /// Pointer on Recover object.