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