-// Copyright (C) 2014-2017 CEA/DEN, EDF R&D
+// Copyright (C) 2014-2019 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
//
// 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
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
-// See http://www.salome-platform.org/ or
-// email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
#ifndef Model_AttributeSelection_H_
{
Model_AttributeReference myRef; ///< The reference functionality re-usage
/// temporarily storages to avoid keeping in the data structure if not needed
- ResultPtr myTmpContext;
+ ObjectPtr myTmpContext;
/// temporarily storages to avoid keeping in the data structure if not needed
std::shared_ptr<GeomAPI_Shape> myTmpSubShape;
/// temporarily storages to avoid keeping in the data structure if not needed
const ObjectPtr& theContext, const std::shared_ptr<GeomAPI_Shape>& theSubShape,
const bool theTemporarily = false);
- /// Same as SetValue, but it takes an edge (on circular or elliptical curve)
+ /// Same as SetValue, but it takes an edge (on circular or elliptic curve)
/// and stores the vertex of the central point (for ellipse the first or the second focus point)
MODEL_EXPORT virtual void setValueCenter(
const ObjectPtr& theContext, const std::shared_ptr<GeomAPI_Edge>& theEdge,
/// Returns null label otherwise.
TDF_Label baseDocumentLab();
+ /// Returns features that conceals theFeature and located in history before theStop
+ /// theResultOfFeature if not null defines exact referenced result of a feature
+ void concealedFeature(
+ const FeaturePtr theFeature, const FeaturePtr theStop, std::list<FeaturePtr>& theConcealers,
+ const ResultPtr theResultOfFeature);
+
friend class Model_Data;
friend class Model_AttributeSelectionList;
};