0025684: Extend TCollection_ExtendedString with method IsEmpty()
[occt.git] / src / TCollection / TCollection_ExtendedString.lxx
index 82ef217..3688a66 100644 (file)
@@ -39,3 +39,11 @@ inline Standard_Boolean
 {
   return theString1.IsEqual(theString2);
 }
+
+//------------------------------------------------------------------------
+//  IsEmpty
+//------------------------------------------------------------------------
+inline Standard_Boolean TCollection_ExtendedString::IsEmpty() const
+{
+  return mylength == 0;
+}