OCC Main Page | ModelingAlgorithms | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

ModelingAlgorithms
TKBO
BOPTColStd


BOPTColStd_ShapeWithRank Class Reference

The auxiliary class provides structure to store a shape
and its rank

.

#include <BOPTColStd_ShapeWithRank.hxx>


Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT BOPTColStd_ShapeWithRank ()
 Empty constructor

.
Standard_EXPORT void SetShape (const TopoDS_Shape &aS)
 Modifier

.
Standard_EXPORT void SetRank (const Standard_Integer aR)
 Modifier

.
Standard_EXPORT const TopoDS_Shape & Shape () const
 Selector

.
Standard_EXPORT Standard_Integer Rank () const
 Selector

.
Standard_EXPORT Standard_Integer HashCode (const Standard_Integer Upper) const
 Returns a HasCode value for the Key <k> in the
range 0..Upper.

.
Standard_EXPORT Standard_Boolean IsEqual (const BOPTColStd_ShapeWithRank &Other) const
 Returns True when the two keys are the same. Two
same keys must have the same hashcode, the
contrary is not necessary.

.

Private Attributes

TopoDS_Shape myShape
Standard_Integer myRank


Constructor & Destructor Documentation

Standard_EXPORT BOPTColStd_ShapeWithRank::BOPTColStd_ShapeWithRank  ) 
 


Member Function Documentation

Standard_EXPORT Standard_Integer BOPTColStd_ShapeWithRank::HashCode const Standard_Integer  Upper  )  const
 

Standard_EXPORT Standard_Boolean BOPTColStd_ShapeWithRank::IsEqual const BOPTColStd_ShapeWithRank Other  )  const
 

void BOPTColStd_ShapeWithRank::operator delete void *  anAddress  )  [inline]
 

void* BOPTColStd_ShapeWithRank::operator new size_t  size  )  [inline]
 

void* BOPTColStd_ShapeWithRank::operator new size_t  ,
void *  anAddress
[inline]
 

Standard_EXPORT Standard_Integer BOPTColStd_ShapeWithRank::Rank  )  const
 

Standard_EXPORT void BOPTColStd_ShapeWithRank::SetRank const Standard_Integer  aR  ) 
 

Standard_EXPORT void BOPTColStd_ShapeWithRank::SetShape const TopoDS_Shape &  aS  ) 
 

Standard_EXPORT const TopoDS_Shape& BOPTColStd_ShapeWithRank::Shape  )  const
 


Field Documentation

Standard_Integer BOPTColStd_ShapeWithRank::myRank [private]
 

TopoDS_Shape BOPTColStd_ShapeWithRank::myShape [private]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 13:40:44 2008 for OpenCASCADE by  doxygen 1.4.1