X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAPI%2FGeomAPI_DataMapOfShapeShape.h;h=24d3db14ed4562770f69ef54a0cd510683c1826a;hb=7f873aed4bae5a98dca078209699b54276b46fce;hp=94a35b780ea9c087acf1ac4b39a07d3da7681a84;hpb=9e869ede4d8c56262bb20534543c2bf56cd6a91b;p=modules%2Fshaper.git diff --git a/src/GeomAPI/GeomAPI_DataMapOfShapeShape.h b/src/GeomAPI/GeomAPI_DataMapOfShapeShape.h index 94a35b780..24d3db14e 100644 --- a/src/GeomAPI/GeomAPI_DataMapOfShapeShape.h +++ b/src/GeomAPI/GeomAPI_DataMapOfShapeShape.h @@ -1,3 +1,5 @@ +// Copyright (C) 2014-20xx CEA/DEN, EDF R&D + // File: GeomAPI_DataMapOfShapeShape.h // Created: 28 Oct 2014 // Author: Sergey Zaritchny @@ -15,7 +17,6 @@ class GeomAPI_Dir; * \ingroup DataModel * \brief DataMap of Shape - Shape defined by TopoDS_Shapes */ - class GEOMAPI_EXPORT GeomAPI_DataMapOfShapeShape : public GeomAPI_Interface { public: @@ -25,7 +26,10 @@ class GEOMAPI_EXPORT GeomAPI_DataMapOfShapeShape : public GeomAPI_Interface /// Clear void clear(); - /// Adds the Key to the Map with the Item. Returns True if the Key was not already in the map + /// Size of the map + int size(); + + /// Adds \a theKey to me with \a theItem. Returns True if the Key was not already in the map bool bind (std::shared_ptr theKey, std::shared_ptr theItem); /// Returns true if theKey is stored in the map.