From 2964dbea7ff35f8d76384e1848f59fb7472927db Mon Sep 17 00:00:00 2001 From: dockes Date: Tue, 5 Dec 2006 15:17:13 +0000 Subject: [PATCH] clauseCount --- src/rcldb/searchdata.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/rcldb/searchdata.h b/src/rcldb/searchdata.h index 79800c2c..bad37103 100644 --- a/src/rcldb/searchdata.h +++ b/src/rcldb/searchdata.h @@ -16,7 +16,7 @@ */ #ifndef _SEARCHDATA_H_INCLUDED_ #define _SEARCHDATA_H_INCLUDED_ -/* @(#$Id: searchdata.h,v 1.6 2006-11-17 10:06:34 dockes Exp $ (C) 2004 J.F.Dockes */ +/* @(#$Id: searchdata.h,v 1.7 2006-12-05 15:17:13 dockes Exp $ (C) 2004 J.F.Dockes */ /** * Structures to hold data coming almost directly from the gui @@ -88,6 +88,8 @@ public: string getTopdir() {return m_topdir;} void setTopdir(const string& t) {m_topdir = t;} void addFiletype(const string& ft) {m_filetypes.push_back(ft);} + int clauseCount() {return m_query.size();} + private: SClType m_tp; // Only SCLT_AND or SCLT_OR here vector m_query;