Open CASCADE Technology
6.5.4
|
#include <Standard_DefineHandle.hxx>
#include <Standard_Type.hxx>
#include <MMgt_TShared.hxx>
#include <TCollection_ExtendedString.hxx>
#include <TCollection_HExtendedString.hxx>
#include <Standard_Failure.hxx>
Functions | |
Standard_Boolean | IsEqual (const Handle< Standard_Transient > &One, const Handle< Standard_Transient > &Two) |
Basic CASCADE definitions. | |
Standard_Integer | HashCode (const Handle< TCollection_HExtendedString > &theStr, const Standard_Integer theBnd) |
Methods inline implimentation for HExtendedString. | |
Standard_Boolean | IsEqual (const Handle< TCollection_HExtendedString > &theStr1, const Handle< TCollection_HExtendedString > &theStr2) |
Standard_Integer HashCode | ( | const Handle< TCollection_HExtendedString > & | theStr, |
const Standard_Integer | theBnd | ||
) | [inline] |
Standard_Boolean IsEqual | ( | const Handle< Standard_Transient > & | One, |
const Handle< Standard_Transient > & | Two | ||
) | [inline] |
The function IsEqual explicitly defined for Handle(Standard_Transient) in order to avoid the problem with implicit using of IsEqual() defined for Standard_Address. The problem is that Handle(Standard_Transient) have only operator of type casting to (non-const) Standard_Transient*, hence this implicit way cannot be used for const Handle(Standard_Transient)
Standard_Boolean IsEqual | ( | const Handle< TCollection_HExtendedString > & | theStr1, |
const Handle< TCollection_HExtendedString > & | theStr2 | ||
) | [inline] |