MatchAdder Class Reference

#include <QueryManager.h>

Inheritance diagram for MatchAdder:

Inheritance graph
[legend]
Collaboration diagram for MatchAdder:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MatchAdder (HashTableGeneric &subjectTable)
virtual void operator() (SequenceNumber subjectNum, SequenceOffset numBases, SequenceOffset queryStart, SequenceOffset queryEnd, SequenceOffset subjectStart, SequenceOffset subjectEnd)=0
void link (MatchStore &store)
void setQueryForward (void)
void setQueryReverse (void)
void setQuerySize (int size)

Protected Attributes

bool isQueryForward_
int querySize_
MatchStorepStore_
HashTableGenericsubjectTable_

Detailed Description

Definition at line 139 of file QueryManager.h.


Constructor & Destructor Documentation

MatchAdder::MatchAdder ( HashTableGeneric subjectTable  )  [inline]

Definition at line 142 of file QueryManager.h.

00142                                                :
00143     isQueryForward_(true),
00144     //    isSubjectForward_(true), 
00145     //    readFrame_(0), 
00146     pStore_(NULL), 
00147     subjectTable_( subjectTable ) {}
  virtual void operator()(  SequenceNumber subjectNum,


Member Function Documentation

virtual void MatchAdder::operator() ( SequenceNumber  subjectNum,
SequenceOffset  numBases,
SequenceOffset  queryStart,
SequenceOffset  queryEnd,
SequenceOffset  subjectStart,
SequenceOffset  subjectEnd 
) [pure virtual]

Implemented in MatchAdderImp, MatchAdderCodonProtein, MatchAdderProteinCodon, and MatchAdderCodonCodon.

void MatchAdder::link ( MatchStore store  )  [inline]

Definition at line 154 of file QueryManager.h.

References pStore_.

Referenced by MatchPolicyDNATranslated::operator()(), MatchPolicyProteinTranslated::operator()(), MatchPolicyDNAProtein::operator()(), MatchPolicyProteinProtein::operator()(), and MatchPolicyDNADNA::operator()().

00154 { pStore_ = &store; }

Here is the caller graph for this function:

void MatchAdder::setQueryForward ( void   )  [inline]

Definition at line 155 of file QueryManager.h.

References isQueryForward_.

Referenced by MatchPolicyDNATranslated::operator()(), MatchPolicyProteinTranslated::operator()(), MatchPolicyDNAProtein::operator()(), MatchPolicyProteinProtein::operator()(), and MatchPolicyDNADNA::operator()().

00155 { isQueryForward_=true; }

Here is the caller graph for this function:

void MatchAdder::setQueryReverse ( void   )  [inline]

Definition at line 156 of file QueryManager.h.

References isQueryForward_.

Referenced by MatchPolicyDNATranslated::operator()(), MatchPolicyDNAProtein::operator()(), and MatchPolicyDNADNA::operator()().

00156 { isQueryForward_=false; }

Here is the caller graph for this function:

void MatchAdder::setQuerySize ( int  size  )  [inline]

Definition at line 159 of file QueryManager.h.

References querySize_.

Referenced by MatchPolicyDNATranslated::operator()(), MatchPolicyProteinTranslated::operator()(), MatchPolicyDNAProtein::operator()(), and MatchPolicyDNADNA::operator()().

00159 { querySize_=size; }

Here is the caller graph for this function:


Member Data Documentation

bool MatchAdder::isQueryForward_ [protected]

Definition at line 162 of file QueryManager.h.

Referenced by MatchAdderCodonCodon::operator()(), MatchAdderCodonProtein::operator()(), MatchAdderImp::operator()(), setQueryForward(), and setQueryReverse().

int MatchAdder::querySize_ [protected]

Definition at line 165 of file QueryManager.h.

Referenced by setQuerySize().

MatchStore* MatchAdder::pStore_ [protected]

Definition at line 166 of file QueryManager.h.

Referenced by link(), MatchAdderProteinCodon::operator()(), MatchAdderCodonCodon::operator()(), MatchAdderCodonProtein::operator()(), and MatchAdderImp::operator()().

HashTableGeneric& MatchAdder::subjectTable_ [protected]

Reimplemented in MatchAdderProteinCodon, and MatchAdderCodonCodon.

Definition at line 167 of file QueryManager.h.


The documentation for this class was generated from the following file:
Generated on Fri Dec 21 13:17:58 2007 for ssaha by  doxygen 1.5.2