X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FGeomAPI%2FGeomAPI_DataMapOfShapeShape.h;h=cbc5f113c52947c28e6a74b6ce06c5ef2dc8fa58;hb=59c066f4e0b62942f48f173c9e052658ca94eaf5;hp=40c447baed4d31ff5d5c083391ca584a90b4d50e;hpb=38afbd899a8645c83e17f2c24a17a2b7414911b4;p=modules%2Fshaper.git diff --git a/src/GeomAPI/GeomAPI_DataMapOfShapeShape.h b/src/GeomAPI/GeomAPI_DataMapOfShapeShape.h index 40c447bae..cbc5f113c 100644 --- a/src/GeomAPI/GeomAPI_DataMapOfShapeShape.h +++ b/src/GeomAPI/GeomAPI_DataMapOfShapeShape.h @@ -17,32 +17,39 @@ class GeomAPI_Dir; * \ingroup DataModel * \brief DataMap of Shape - Shape defined by TopoDS_Shapes */ - -class GEOMAPI_EXPORT GeomAPI_DataMapOfShapeShape : public GeomAPI_Interface +class GeomAPI_DataMapOfShapeShape : public GeomAPI_Interface { public: /// Creation of plane by the point and normal + GEOMAPI_EXPORT GeomAPI_DataMapOfShapeShape(); /// Clear + GEOMAPI_EXPORT void clear(); /// Size of the map + GEOMAPI_EXPORT int size(); - /// Adds the Key to the Map with the Item. Returns True if the Key was not already in the map + /// Adds \a theKey to me with \a theItem. Returns True if the Key was not already in the map + GEOMAPI_EXPORT bool bind (std::shared_ptr theKey, std::shared_ptr theItem); /// Returns true if theKey is stored in the map. + GEOMAPI_EXPORT bool isBound (std::shared_ptr theKey); /// Returns the Item stored with the Key in the Map. + GEOMAPI_EXPORT const std::shared_ptr find(std::shared_ptr theKey); /// Removes the Key from the map. Returns true if the Key was in the Map + GEOMAPI_EXPORT bool unBind(std::shared_ptr theKey); /// Destructor + GEOMAPI_EXPORT ~GeomAPI_DataMapOfShapeShape(); };