/* $Id: filtertreenode.cc 5146 2010-03-24 23:05:57Z 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 */ #include "filtertreenode.h" template<> void FilterTreeNode >:: getQueryGramLists(const vector& gramCodes, vector >* >* queryGramLists) { for(unsigned i = 0; i < gramCodes.size(); i++) { unsigned gramCode = gramCodes.at(i); if(gramMap.find(gramCode) != gramMap.end()) { queryGramLists->push_back(new QueryGramList >(gramCode, gramMap[gramCode], (unsigned char)i)); } } }