MatchPolicyProteinProtein Class Reference

#include <QueryManager.h>

Inheritance diagram for MatchPolicyProteinProtein:

Inheritance graph
[legend]
Collaboration diagram for MatchPolicyProteinProtein:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MatchPolicyProteinProtein (HashTablePackedProtein &subjectTable)
virtual void operator() (WordSequence &querySeqFwd, MatchStore &store, MatchAlgorithm &findMatch)

Protected Attributes

HashTablePackedProteinsubjectTable_

Detailed Description

Definition at line 269 of file QueryManager.h.


Constructor & Destructor Documentation

MatchPolicyProteinProtein::MatchPolicyProteinProtein ( HashTablePackedProtein subjectTable  ) 

Definition at line 205 of file QueryManager.cpp.

References MatchPolicy::addMatch_, and MatchPolicy::subjectTable_.

00205                                          :
00206 subjectTable_( subjectTable ),
00207 MatchPolicy( subjectTable )
00208 {
00209 
00210   subjectTable_.setQueryProtein();
00211   addMatch_ = new MatchAdderImp(subjectTable_);
00212 }


Member Function Documentation

void MatchPolicyProteinProtein::operator() ( WordSequence querySeqFwd,
MatchStore store,
MatchAlgorithm findMatch 
) [virtual]

Implements MatchPolicy.

Definition at line 215 of file QueryManager.cpp.

References MatchPolicy::addMatch_, MatchAdder::link(), MatchAdder::setQueryForward(), and MatchPolicy::subjectTable_.

00217 {
00218 
00219   addMatch_->link(store);
00220   addMatch_->setQueryForward();
00221 
00222   findMatch( querySeqFwd, *addMatch_, subjectTable_ ); 
00223 
00224 } // ~QueryManager::doMatch

Here is the call graph for this function:


Member Data Documentation

HashTablePackedProtein& MatchPolicyProteinProtein::subjectTable_ [protected]

Reimplemented from MatchPolicy.

Definition at line 279 of file QueryManager.h.


The documentation for this class was generated from the following files:
Generated on Fri Dec 21 13:18:44 2007 for ssaha by  doxygen 1.5.2