Add EmptyText(id) method which checks if the text
[SXSI/TextCollection.git] / TextCollection.h
index e7f0d4b..6a4eb1c 100644 (file)
@@ -86,7 +86,13 @@ namespace SXSI
          * New texts can not be inserted after this operation.
          */
         virtual void MakeStatic() = 0;
-        
+       
+       /**
+          tests if the string pointed to by DocId is empty
+        */
+       
+       virtual bool EmptyText(DocId) const = 0;
+
         /**
          * Displaying content
          *