mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-06 18:26:22 +03:00
0025684: Extend TCollection_ExtendedString with method IsEmpty()
This commit is contained in:
parent
4057f898f7
commit
a21ab2c1a1
@ -148,6 +148,12 @@ is
|
|||||||
raises OutOfRange from Standard
|
raises OutOfRange from Standard
|
||||||
is static;
|
is static;
|
||||||
|
|
||||||
|
IsEmpty(me) returns Boolean from Standard
|
||||||
|
is static;
|
||||||
|
---Level: Public
|
||||||
|
---C++: inline
|
||||||
|
---Purpose: Returns True if this string contains no characters.
|
||||||
|
|
||||||
IsEqual (me ; other : ExtString )
|
IsEqual (me ; other : ExtString )
|
||||||
returns Boolean from Standard
|
returns Boolean from Standard
|
||||||
is static;
|
is static;
|
||||||
|
@ -39,3 +39,11 @@ inline Standard_Boolean
|
|||||||
{
|
{
|
||||||
return theString1.IsEqual(theString2);
|
return theString1.IsEqual(theString2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------
|
||||||
|
// IsEmpty
|
||||||
|
//------------------------------------------------------------------------
|
||||||
|
inline Standard_Boolean TCollection_ExtendedString::IsEmpty() const
|
||||||
|
{
|
||||||
|
return mylength == 0;
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user