/* $Id: counttable.h 4025 2008-10-01 00:01:14Z abehm $ Copyright (C) 2007 by The Regents of the University of California Redistribution of this file is permitted under the terms of the BSD license Date: 05/21/2007 Author: Jiaheng Lu, Yiming Lu */ #ifndef _counttable_h_ #define _counttable_h_ using namespace std; class CountTable { public: CountTable() { queryId = 0; MAXCOUNT = 999999; };//end CountTable ~CountTable(); void addCount(unsigned queryId); void markCount(); unsigned getCount(); bool isMarked(); private: unsigned queryId ; unsigned stringCount; unsigned MAXCOUNT; }; #endif