Exemplo n.º 1
0
void search(string x,ostream &t,TextQuery a) {
	print(t, a.query(x));
	t << "---------------------------------------------------------------------------------------" << endl;
	cout << "1 record has been writen in file." << endl;
}
Exemplo n.º 2
0
 QueryResult eval(const TextQuery &t) const override {
     return t.query(query_word);
 }