X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAPI%2FGeomAPI_DataMapOfShapeShape.cpp;h=97e3f10683127f11da42d3fe25b3b18ba3540267;hb=7f873aed4bae5a98dca078209699b54276b46fce;hp=23a6c6f4d19e0e0ae823b07b84dec62891d7a6e4;hpb=a7f44a41bdf29e7bd978ff3b8c8bd514d1223be7;p=modules%2Fshaper.git diff --git a/src/GeomAPI/GeomAPI_DataMapOfShapeShape.cpp b/src/GeomAPI/GeomAPI_DataMapOfShapeShape.cpp index 23a6c6f4d..97e3f1068 100644 --- a/src/GeomAPI/GeomAPI_DataMapOfShapeShape.cpp +++ b/src/GeomAPI/GeomAPI_DataMapOfShapeShape.cpp @@ -1,3 +1,5 @@ +// Copyright (C) 2014-20xx CEA/DEN, EDF R&D + // File: GeomAPI_DataMapOfShapeShape.cpp // Created: 28 Oct 2014 // Author: Sergey Zaritchny @@ -12,19 +14,16 @@ using namespace std; GeomAPI_DataMapOfShapeShape::GeomAPI_DataMapOfShapeShape() :GeomAPI_Interface((void *)new TopTools_DataMapOfShapeShape){} -/// Clear void GeomAPI_DataMapOfShapeShape::clear() { implPtr()->Clear(); } -/// Size int GeomAPI_DataMapOfShapeShape::size() { return implPtr()->Extent(); } -/// Adds the Key to the Map with the Item. Returns True if the Key was not already in the map bool GeomAPI_DataMapOfShapeShape::bind (std::shared_ptr theKey, std::shared_ptr theItem) { bool flag(false); @@ -33,7 +32,6 @@ bool GeomAPI_DataMapOfShapeShape::bind (std::shared_ptr theKey, s return flag; } -/// Returns true if theKey is stored in the map. bool GeomAPI_DataMapOfShapeShape::isBound (std::shared_ptr theKey) { bool flag(false); @@ -42,7 +40,6 @@ bool GeomAPI_DataMapOfShapeShape::isBound (std::shared_ptr theKey return flag; } -/// Returns the Item stored with the Key in the Map. To be checked before with isBound() const std::shared_ptr GeomAPI_DataMapOfShapeShape::find(std::shared_ptr theKey) { std::shared_ptr aShape(new GeomAPI_Shape()); @@ -50,7 +47,6 @@ const std::shared_ptr GeomAPI_DataMapOfShapeShape::find(std::shar return aShape; } -/// Removes the Key from the map. Returns true if the Key was in the Map bool GeomAPI_DataMapOfShapeShape::unBind(std::shared_ptr theKey) { bool flag(false);