]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/GeomAPI/GeomAPI_DataMapOfShapeShape.h
Salome HOME
29.10.2014.Extrusion feature update.
[modules/shaper.git] / src / GeomAPI / GeomAPI_DataMapOfShapeShape.h
index 119cfda0ee5ad624fa213fa878d35108cf1005a3..20b63903afe1b72998522857b96d60d7fcf4eaf4 100644 (file)
@@ -26,16 +26,19 @@ class GEOMAPI_EXPORT GeomAPI_DataMapOfShapeShape : public GeomAPI_Interface
   void clear();
 
   /// Adds the Key <K> to  the Map <me>  with  the  Item. Returns True  if the Key  was not already in the map
-  bool bind (const boost::shared_ptr<GeomAPI_Shape>& theKey, const boost::shared_ptr<GeomAPI_Shape>& theItem);
+  bool bind (boost::shared_ptr<GeomAPI_Shape> theKey, boost::shared_ptr<GeomAPI_Shape> theItem);
 
   /// Returns true if theKey is stored  in the map.
-  bool isBound (const boost::shared_ptr<GeomAPI_Shape>& theKey);
+  bool isBound (boost::shared_ptr<GeomAPI_Shape> theKey);
 
   /// Returns  the Item stored  with the Key in the Map.
-  const boost::shared_ptr<GeomAPI_Shape> find(const boost::shared_ptr<GeomAPI_Shape>& theKey);  
+  const boost::shared_ptr<GeomAPI_Shape> find(boost::shared_ptr<GeomAPI_Shape> theKey);  
   
   /// Removes the Key from the  map. Returns true if the Key was in the Map
-  bool unBind(const boost::shared_ptr<GeomAPI_Shape>& theKey);
+  bool unBind(boost::shared_ptr<GeomAPI_Shape> theKey);
+
+  /// Destructor
+  ~GeomAPI_DataMapOfShapeShape();
 };
 
 #endif