20 #ifndef GeomAPI_DataMapOfShapeShape_H_
21 #define GeomAPI_DataMapOfShapeShape_H_
24 #include <GeomAPI_Interface.h>
26 #include <GeomAPI_Shape.h>
49 bool bind (
const std::shared_ptr<GeomAPI_Shape> theKey,
50 const std::shared_ptr<GeomAPI_Shape> theItem);
56 GEOMAPI_EXPORT
void merge(
const std::shared_ptr<GeomAPI_DataMapOfShapeShape> theDataMap);
60 bool isBound (
const std::shared_ptr<GeomAPI_Shape> theKey);
64 const std::shared_ptr<GeomAPI_Shape>
find(
const std::shared_ptr<GeomAPI_Shape> theKey);
69 bool unBind(
const std::shared_ptr<GeomAPI_Shape> theKey);
DataMap of Shape - Shape defined by TopoDS_Shapes.
Definition: GeomAPI_DataMapOfShapeShape.h:33
GEOMAPI_EXPORT void clear()
Clears map.
Definition: GeomAPI_DataMapOfShapeShape.cpp:29
GEOMAPI_EXPORT ~GeomAPI_DataMapOfShapeShape()
Destructor.
Definition: GeomAPI_DataMapOfShapeShape.cpp:91
GEOMAPI_EXPORT int size()
Size of the map.
Definition: GeomAPI_DataMapOfShapeShape.cpp:34
GEOMAPI_EXPORT void merge(const GeomAPI_DataMapOfShapeShape &theDataMap)
Merges two maps.
Definition: GeomAPI_DataMapOfShapeShape.cpp:49
GEOMAPI_EXPORT bool bind(const std::shared_ptr< GeomAPI_Shape > theKey, const std::shared_ptr< GeomAPI_Shape > theItem)
Adds theKey to me with theItem. Returns True if the Key was not already in the map.
Definition: GeomAPI_DataMapOfShapeShape.cpp:39
GEOMAPI_EXPORT const std::shared_ptr< GeomAPI_Shape > find(const std::shared_ptr< GeomAPI_Shape > theKey)
Definition: GeomAPI_DataMapOfShapeShape.cpp:75
GEOMAPI_EXPORT bool isBound(const std::shared_ptr< GeomAPI_Shape > theKey)
Definition: GeomAPI_DataMapOfShapeShape.cpp:66
GEOMAPI_EXPORT GeomAPI_DataMapOfShapeShape()
Constructor.
Definition: GeomAPI_DataMapOfShapeShape.cpp:26
GEOMAPI_EXPORT bool unBind(const std::shared_ptr< GeomAPI_Shape > theKey)
Removes the Key from the map.
Definition: GeomAPI_DataMapOfShapeShape.cpp:83
General base class for all interfaces in this package.
Definition: GeomAPI_Interface.h:38