X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FFeaturesAPI%2FFeaturesAPI_Recover.h;h=29cae46d3dc55317c05b7e16f0c3c9b62f993a17;hb=4df4bd61da1ea5d357671c819a8ced6ec9ba77ac;hp=e7f57d4262cae2747e5555218ecae4a95185a382;hpb=d34842c50d5f335cca443c78910c16c54139c7d0;p=modules%2Fshaper.git diff --git a/src/FeaturesAPI/FeaturesAPI_Recover.h b/src/FeaturesAPI/FeaturesAPI_Recover.h index e7f57d426..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_ @@ -38,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 @@ -51,10 +66,6 @@ public: FEATURESAPI_EXPORT void setRecoveredList(const std::list& theRecoverList); - /// Set auxiliary - FEATURESAPI_EXPORT - void setIsPersistent(bool thePersistent); - /// Dump wrapped feature FEATURESAPI_EXPORT virtual void dump(ModelHighAPI_Dumper& theDumper) const;