#include <algo.h>
Inheritance diagram for Algo:
Public Member Functions | |
Algo (TrapperDoc *pDoc_, std::set< db_recno_t > &recnoList, AlgoParam *param=0, QObject *parent=0, const char *name=0) | |
virtual | ~Algo () |
virtual void | start ()=0 |
void | select (db_recno_t recno, bool status) |
Protected Attributes | |
std::set< db_recno_t > & | selectedReads |
TrapperDoc * | pDoc |
AlgoParam * | my_param |
Definition at line 30 of file algo.h.
|
|
|
Definition at line 27 of file algo.cpp.
|
|
Definition at line 30 of file algo.cpp. References selectedReads. 00031 { 00032 set<db_recno_t>::iterator pos; 00033 if ( status == true ) 00034 selectedReads.insert( recno ); 00035 else if ( ( pos = selectedReads.find( recno )) != selectedReads.end() ) { 00036 selectedReads.erase( pos ); 00037 } 00038 00039 }
|
|
Implemented in AceWriter, ConsAlgo, DnpAlgo, DnpSearchAlgo, DnpSortAlgo, FindMatesAlgo, MoveAlgo, PrintAlgo, RAlgo, ReadListAlgo, ReadnamesAlgo, RealignerAlgo, RemoveAlgo, RWAlgo, SortAlgo, StrandsAlgo, SubsetAlgo, TrashAlgo, and TrashRemoveAlgo. Referenced by TrapperView::runAlgo(). |
|
Definition at line 42 of file algo.h. Referenced by SubsetAlgo::start(), ReadnamesAlgo::start(), MoveAlgo::start(), and ConsAlgo::start(). |
|
Definition at line 41 of file algo.h. Referenced by MoveAlgo::start(), and FindMatesAlgo::start(). |
|
Definition at line 40 of file algo.h. Referenced by select(), MoveAlgo::start(), FindMatesAlgo::start(), and DnpSortAlgo::start(). |