Salome HOME
Optimization for the naming structure loading in the issue 2636 model
[modules/shaper.git] / src / Model / Model_ResultBody.h
index a810f2ea0fd0a9bdd5a5e100bad014f1a3b91c96..629b7c808a91b5379192fa4e8a6167e4ae7d9455 100644 (file)
@@ -26,6 +26,8 @@
 #include <vector>
 #include <map>
 
+#include <TopTools_DataMapOfShapeListOfShape.hxx>
+
 /**\class Model_ResultBody
 * \ingroup DataModel
 * \brief The body (shape) result of a feature.
@@ -49,6 +51,8 @@ class Model_ResultBody : public ModelAPI_ResultBody
   std::list<GeomShapePtr> myOlds;
   /// Information about the kind of the history information: modified or generated
   bool myIsGenerated;
+  /// Map from old shape to list of new shapes, cash for computeOldForSub method
+  TopTools_DataMapOfShapeListOfShape myHistoryCash;
 
 public: