MatchPolicy Class Reference

#include <QueryManager.h>

Inheritance diagram for MatchPolicy:

Inheritance graph
[legend]
Collaboration diagram for MatchPolicy:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MatchPolicy (HashTableGeneric &subjectTable)
virtual ~MatchPolicy ()
virtual void operator() (WordSequence &querySeqFwd, MatchStore &store, MatchAlgorithm &findMatch)=0
int getWordLength (void) const

Protected Attributes

int queryWordLength_
HashTableGenericsubjectTable_
MatchAdderaddMatch_

Detailed Description

Definition at line 240 of file QueryManager.h.


Constructor & Destructor Documentation

MatchPolicy::MatchPolicy ( HashTableGeneric subjectTable  ) 

Definition at line 166 of file QueryManager.cpp.

00166                                                          :
00167   subjectTable_( subjectTable ), 
00168   queryWordLength_( subjectTable.getWordLength() ) 
00169 {}

virtual MatchPolicy::~MatchPolicy (  )  [inline, virtual]

Definition at line 244 of file QueryManager.h.

References addMatch_.

00244 { delete addMatch_; }


Member Function Documentation

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

Implemented in MatchPolicyDNADNA, MatchPolicyProteinProtein, MatchPolicyDNAProtein, MatchPolicyDNATranslated, and MatchPolicyProteinTranslated.

int MatchPolicy::getWordLength ( void   )  const [inline]

Definition at line 249 of file QueryManager.h.

References queryWordLength_.

00249 { return queryWordLength_; }


Member Data Documentation

int MatchPolicy::queryWordLength_ [protected]

Definition at line 251 of file QueryManager.h.

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

HashTableGeneric& MatchPolicy::subjectTable_ [protected]

Reimplemented in MatchPolicyProteinProtein, MatchPolicyDNAProtein, MatchPolicyDNATranslated, and MatchPolicyProteinTranslated.

Definition at line 252 of file QueryManager.h.

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

MatchAdder* MatchPolicy::addMatch_ [protected]

Definition at line 253 of file QueryManager.h.

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


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