#include <MatchStore.h>
Inheritance diagram for MatchTaskPrintTabbed:


Public Member Functions | |
| MatchTaskPrintTabbed (ostream &outputStream=cout) | |
| virtual void | operator() (MatchStore &store) |
Private Attributes | |
| ostream & | outputStream_ |
Definition at line 292 of file MatchStore.h.
| MatchTaskPrintTabbed::MatchTaskPrintTabbed | ( | ostream & | outputStream = cout |
) | [inline] |
Definition at line 295 of file MatchStore.h.
00295 : 00296 outputStream_( outputStream ) {} virtual void operator()( MatchStore& store );
| void MatchTaskPrintTabbed::operator() | ( | MatchStore & | store | ) | [virtual] |
Implements MatchTask.
Definition at line 222 of file MatchStore.cpp.
References outputStream_.
00223 { 00224 if (store.empty()) return; 00225 00226 outputStream_ << setprecision(2) << setiosflags(ios::fixed); 00227 for (MatchStore::iterator i(store.begin()); i!=store.end() ; ++i ) 00228 outputStream_ 00229 << ((*i)->isQueryForward()?"F":"R") 00230 << ((*i)->isSubjectForward()?"F":"R") << "\t" 00231 << (*i)->getQueryName() << "\t" 00232 << (*i)->getQueryStart() << "\t" 00233 << (*i)->getQueryEnd() << "\t" 00234 << (*i)->getSubjectName() << "\t" 00235 << (*i)->getSubjectStart() << "\t" 00236 << (*i)->getSubjectEnd() << "\t" 00237 << (*i)->getNumBases() << "\t" 00238 << 100.0*((*i)->getNumBases()) / 00239 ((*i)->getQueryEnd()-(*i)->getQueryStart()+1) 00240 << endl; 00241 00242 }
ostream& MatchTaskPrintTabbed::outputStream_ [private] |
1.5.2