/* $Id: gramlist.h 5783 2010-10-21 23:12:04Z abehm $ Copyright (C) 2010 by The Regents of the University of California Redistribution of this file is permitted under the terms of the BSD license. Date: 04/04/2008 Author: Alexander Behm Shengyue Ji */ #ifndef _gramlist_h_ #define _gramlist_h_ #include #include using namespace std; template > class GramList { public: virtual InvList* getArray(fstream* invListsFile = NULL) = 0; virtual ~GramList() {}; virtual void free() = 0; virtual void clear() = 0; }; template > class QueryGramList { public: unsigned gramCode; GramList* gl; QueryGramList(unsigned gramCode, GramList* gl) : gramCode(gramCode), gl(gl) {} }; #endif