#include <sstream>
#include <vector>
#include <iterator>
#include <fstream>
#include <algorithm>
#include "query.h"
#include "wordstreamiterator.h"
Go to the source code of this file.
Functions | |
ostream & | operator<< (ostream &os, const Query &q) |
|
Definition at line 98 of file query.C. References Query::phrases_, and Query::words_.
00098 { 00099 os << "q.words = "; 00100 copy(q.words_.begin(), q.words_.end(), ostream_iterator<string>(os," ")); 00101 os << "\n"; 00102 os << "q.phrases = " << endl; 00103 for (list<Query::Phrase>::const_iterator i=q.phrases_.begin(); 00104 i!=q.phrases_.end(); ++i) { 00105 os << " \""; 00106 copy((*i).begin(), (*i).end(), ostream_iterator<string>(os," ")); 00107 os << "\"\n"; 00108 } 00109 return os; 00110 } |
textindexer-0.2 | [27 March, 2002] |