1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-05 18:16:23 +03:00

OCC22544 Fixed IsEqual from Standard

This commit is contained in:
RLN and KGV 2011-07-06 08:33:05 +00:00 committed by bugmaster
parent 31c3b8f09c
commit 73653dc8a2
2 changed files with 0 additions and 32 deletions

View File

@ -33,8 +33,6 @@ inline Standard_Integer Abs (const Standard_Integer);
inline Standard_CString ShallowCopy (const Standard_CString Value);
inline Standard_Boolean IsSimilar(const Standard_CString One
,const Standard_CString Two);
inline Standard_Boolean IsEqual(const Standard_CString One
,const Standard_CString Two);
__Standard_API Standard_Integer HashCode (const Standard_CString,
const Standard_Integer);
inline Standard_Integer HashCode (const Standard_CString,
@ -80,15 +78,6 @@ inline Standard_Boolean IsSimilar(const Standard_CString One
return (strcmp(One,Two) == 0);
}
//============================================================================
// IsEqual : Returns Standard_True if two CString have the same value
//============================================================================
inline Standard_Boolean IsEqual(const Standard_CString One
,const Standard_CString Two)
{
return (One == Two);
}
//============================================================================
//==== HashCode of CString. Returns the HashCode itself and
//==== the HashCode % Upper

View File

@ -31,25 +31,4 @@ inline Standard_ExtString ShallowCopy (const Standard_ExtString Value)
//============================================================================
__Standard_API Standard_Integer HashCode (const Standard_ExtString, const Standard_Integer);
//============================================================================
//==== IsSimilar : Returns Standard_True if two booleans have the same value
//============================================================================
inline Standard_Boolean IsSimilar(const Standard_ExtString One
,const Standard_ExtString Two)
{ return One == Two; }
//============================================================================
// IsEqual : Returns Standard_True if two ExtString have the same value
//============================================================================
inline Standard_Boolean IsEqual(const Standard_ExtString One
,const Standard_ExtString Two)
{ return One == Two; }
#endif