From: kim Date: Tue, 10 Mar 2009 01:27:54 +0000 (+0000) Subject: Added wrapper for TextCollection->Count(s) X-Git-Url: http://git.nguyen.vg/gitweb/?a=commitdiff_plain;h=05e2786e92c705a9efe2bfb3cb96fac6eed187c3;p=SXSI%2FXMLTree.git Added wrapper for TextCollection->Count(s) git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@232 3cdefd35-fc62-479d-8e8d-bae585ffb9ca --- diff --git a/XMLTree.h b/XMLTree.h index 42e02b7..1f8df57 100644 --- a/XMLTree.h +++ b/XMLTree.h @@ -385,6 +385,11 @@ public: bool IsLessThan(uchar const *s) { return Text->IsLessThan(s); } + + /** Count(s): Global counting */ + unsigned Count(uchar const *s) { + return Text->Count(s); + } /** CountPrefix(s): counting version of Prefix(s). */ unsigned CountPrefix(uchar const *s) {