SHAPER  9.12.0
GeomAPI_DataMapOfShapeShape Class Reference

DataMap of Shape - Shape defined by TopoDS_Shapes. More...

Inheritance diagram for GeomAPI_DataMapOfShapeShape:
Inheritance graph

Public Member Functions

GEOMAPI_EXPORT GeomAPI_DataMapOfShapeShape ()
 Constructor. More...
 
GEOMAPI_EXPORT void clear ()
 Clears map. More...
 
GEOMAPI_EXPORT int size ()
 Size of the map. More...
 
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. More...
 
GEOMAPI_EXPORT void merge (const GeomAPI_DataMapOfShapeShape &theDataMap)
 Merges two maps. More...
 
GEOMAPI_EXPORT void merge (const std::shared_ptr< GeomAPI_DataMapOfShapeShape > theDataMap)
 Merges two maps. More...
 
GEOMAPI_EXPORT bool isBound (const std::shared_ptr< GeomAPI_Shape > theKey)
 
GEOMAPI_EXPORT const std::shared_ptr< GeomAPI_Shapefind (const std::shared_ptr< GeomAPI_Shape > theKey)
 
GEOMAPI_EXPORT bool unBind (const std::shared_ptr< GeomAPI_Shape > theKey)
 Removes the Key from the map. More...
 
GEOMAPI_EXPORT ~GeomAPI_DataMapOfShapeShape ()
 Destructor. More...
 
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...
 

Detailed Description

DataMap of Shape - Shape defined by TopoDS_Shapes.

Constructor & Destructor Documentation

◆ GeomAPI_DataMapOfShapeShape()

GeomAPI_DataMapOfShapeShape::GeomAPI_DataMapOfShapeShape ( )

Constructor.

◆ ~GeomAPI_DataMapOfShapeShape()

GeomAPI_DataMapOfShapeShape::~GeomAPI_DataMapOfShapeShape ( )

Destructor.

Member Function Documentation

◆ clear()

void GeomAPI_DataMapOfShapeShape::clear ( )

Clears map.

◆ size()

int GeomAPI_DataMapOfShapeShape::size ( )

Size of the map.

◆ bind()

bool GeomAPI_DataMapOfShapeShape::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.

◆ merge() [1/2]

void GeomAPI_DataMapOfShapeShape::merge ( const GeomAPI_DataMapOfShapeShape theDataMap)

Merges two maps.

◆ merge() [2/2]

void GeomAPI_DataMapOfShapeShape::merge ( const std::shared_ptr< GeomAPI_DataMapOfShapeShape theDataMap)

Merges two maps.

◆ isBound()

bool GeomAPI_DataMapOfShapeShape::isBound ( const std::shared_ptr< GeomAPI_Shape theKey)
Returns
true if theKey is stored in the map.

◆ find()

const std::shared_ptr< GeomAPI_Shape > GeomAPI_DataMapOfShapeShape::find ( const std::shared_ptr< GeomAPI_Shape theKey)
Returns
the Item stored with the Key in the Map.

◆ unBind()

bool GeomAPI_DataMapOfShapeShape::unBind ( const std::shared_ptr< GeomAPI_Shape theKey)

Removes the Key from the map.

Returns
true if the Key was in the Map.

◆ implPtr() [1/2]

template<class T >
T* GeomAPI_Interface::implPtr ( )
inlineinherited

Returns the pointer to the impl.

◆ implPtr() [2/2]

template<class T >
const T* GeomAPI_Interface::implPtr ( ) const
inlineinherited

Returns the pointer to the impl.

◆ impl()

template<class T >
const T& GeomAPI_Interface::impl ( ) const
inlineinherited

Returns the reference object of the impl.

◆ setImpl()

template<class T >
void GeomAPI_Interface::setImpl ( T *  theImpl)
inlineinherited

Updates the impl (deletes the old one)

◆ empty()

bool GeomAPI_Interface::empty ( ) const
inherited

Returns true if the impl is empty.