]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/Model/Model_ResultBody.h
Salome HOME
Result CompSolid should inherits ResultBody. All model realization concerned Naming...
[modules/shaper.git] / src / Model / Model_ResultBody.h
index 1bb3f6870aba1633150bc361e5816d4c705a5f46..f8c83a3f87ca8333e8c252c59a37cb735326ccf1 100644 (file)
@@ -9,11 +9,11 @@
 
 #include "Model.h"
 #include <ModelAPI_ResultBody.h>
-#include <GeomAlgoAPI_MakeShape.h>
-#include <GeomAPI_DataMapOfShapeShape.h>
-#include <vector>
+//#include <GeomAlgoAPI_MakeShape.h>
+//#include <GeomAPI_DataMapOfShapeShape.h>
+//#include <vector>
 
-class TNaming_Builder;
+//class TNaming_Builder;
 
 /**\class Model_ResultBody
  * \ingroup DataModel
@@ -27,7 +27,7 @@ class Model_ResultBody : public ModelAPI_ResultBody
 {
   /// builders that tores the naming history: one per label to allow store several shapes to one 
   /// label; index in vector corresponds to the label tag
-  std::vector<TNaming_Builder*> myBuilders;
+  //std::vector<TNaming_Builder*> myBuilders;
 public:
   /// Request for initialization of data model of the result: adding all attributes
   virtual void initAttributes();
@@ -40,7 +40,7 @@ public:
   /// naming data structure if theFlag if false. Or restores everything on theFlag is true.
   MODEL_EXPORT virtual bool setDisabled(std::shared_ptr<ModelAPI_Result> theThis,
     const bool theFlag);
-
+  /*
   /// Stores the shape (called by the execution method).
   MODEL_EXPORT virtual void store(const std::shared_ptr<GeomAPI_Shape>& theShape);
 
@@ -56,10 +56,10 @@ public:
   MODEL_EXPORT virtual void storeModified(const std::shared_ptr<GeomAPI_Shape>& theOldShape,
                                                const std::shared_ptr<GeomAPI_Shape>& theNewShape,
                                           const int theDecomposeSolidsTag = 0);
-
+                                          */
   /// Returns the shape-result produced by this feature
   MODEL_EXPORT virtual std::shared_ptr<GeomAPI_Shape> shape();
-
+  /*
   /// Records the subshape newShape which was generated during a topological construction.
   /// As an example, consider the case of a face generated in construction of a box.
   MODEL_EXPORT virtual void generated(const std::shared_ptr<GeomAPI_Shape>& theNewShape, 
@@ -112,14 +112,14 @@ public:
 
   /// Loads disconnected vetexes
   MODEL_EXPORT virtual void loadDisconnectedVertexes(std::shared_ptr<GeomAPI_Shape> theShape, const std::string& theName, int&  theTag);
-
+*/
   /// Removes the stored builders
-  MODEL_EXPORT virtual ~Model_ResultBody();
+  MODEL_EXPORT virtual ~Model_ResultBody() {};
 
 protected:
   /// Makes a body on the given feature
   Model_ResultBody();
-
+/*
   /// Removes the stored builders
   void clean();
 
@@ -132,7 +132,7 @@ private:
 
   /// builds name for the shape kept at the specified tag 
   void buildName(const int theTag, const std::string& theName);
-
+  */
   friend class Model_Objects;
 };