|
SHAPER
9.15.0
|
DataMap of Shape - Map of Shapes defined by TopoDS_Shapes. More...

Data Structures | |
| class | iterator |
Public Types | |
| typedef iterator | const_iterator |
Public Member Functions | |
| GEOMAPI_EXPORT | GeomAPI_DataMapOfShapeMapOfShapes () |
| Constructor.Creates empty map. More... | |
| GEOMAPI_EXPORT bool | bind (const std::shared_ptr< GeomAPI_Shape > theKey, const ListOfShape &theItems) |
| Binds list of shapes to the key shape. More... | |
| GEOMAPI_EXPORT bool | add (const std::shared_ptr< GeomAPI_Shape > theKey, const std::shared_ptr< GeomAPI_Shape > theItem) |
| Adds item to the map bounded to the key. More... | |
| GEOMAPI_EXPORT bool | isBound (const std::shared_ptr< GeomAPI_Shape > theKey) const |
| GEOMAPI_EXPORT bool | find (const std::shared_ptr< GeomAPI_Shape > theKey, ListOfShape &theItems) const |
| GEOMAPI_EXPORT bool | unBind (const std::shared_ptr< GeomAPI_Shape > theKey) |
| Undinds shapes from theKey. More... | |
| GEOMAPI_EXPORT void | clear () |
| Clears map. More... | |
| GEOMAPI_EXPORT int | size () const |
| GEOMAPI_EXPORT iterator | begin () |
| GEOMAPI_EXPORT const_iterator | begin () const |
| GEOMAPI_EXPORT iterator | end () |
| GEOMAPI_EXPORT const_iterator | end () const |
| template<class T > | |
| T * | implPtr () |
| Returns the pointer to the impl. More... | |
| template<class T > | |
| const T * | implPtr () const |
| Returns the pointer to the impl. More... | |
| template<class T > | |
| const T & | impl () const |
| Returns the reference object of the impl. More... | |
| template<class T > | |
| void | setImpl (T *theImpl) |
| Updates the impl (deletes the old one) More... | |
| GEOMAPI_EXPORT bool | empty () const |
| Returns true if the impl is empty. More... | |
DataMap of Shape - Map of Shapes defined by TopoDS_Shapes.
| GeomAPI_DataMapOfShapeMapOfShapes::GeomAPI_DataMapOfShapeMapOfShapes | ( | ) |
Constructor.Creates empty map.
| bool GeomAPI_DataMapOfShapeMapOfShapes::bind | ( | const std::shared_ptr< GeomAPI_Shape > | theKey, |
| const ListOfShape & | theItems | ||
| ) |
Binds list of shapes to the key shape.
| [in] | theKey | key shape. |
| [in] | theItems | list of shapes. If shapes have duplications in list only one will be stored. |
| bool GeomAPI_DataMapOfShapeMapOfShapes::add | ( | const std::shared_ptr< GeomAPI_Shape > | theKey, |
| const std::shared_ptr< GeomAPI_Shape > | theItem | ||
| ) |
Adds item to the map bounded to the key.
| [in] | theKey | key shape. |
| [in] | theItem | item shape. |
| bool GeomAPI_DataMapOfShapeMapOfShapes::isBound | ( | const std::shared_ptr< GeomAPI_Shape > | theKey | ) | const |
| bool GeomAPI_DataMapOfShapeMapOfShapes::find | ( | const std::shared_ptr< GeomAPI_Shape > | theKey, |
| ListOfShape & | theItems | ||
| ) | const |
| bool GeomAPI_DataMapOfShapeMapOfShapes::unBind | ( | const std::shared_ptr< GeomAPI_Shape > | theKey | ) |
Undinds shapes from theKey.
| void GeomAPI_DataMapOfShapeMapOfShapes::clear | ( | ) |
Clears map.
| int GeomAPI_DataMapOfShapeMapOfShapes::size | ( | ) | const |
|
inlineinherited |
Returns the pointer to the impl.
|
inlineinherited |
Returns the pointer to the impl.
|
inlineinherited |
Returns the reference object of the impl.
|
inlineinherited |
Updates the impl (deletes the old one)
|
inherited |
Returns true if the impl is empty.