#include <SSAHAClient.h>
Inheritance diagram for MatchRemote:


Public Member Functions | |
| MatchRemote (vector< QueryInfo > &query) | |
| virtual | ~MatchRemote () |
| virtual SequenceNumber | getSubjectNum (void) const |
| virtual const char * | getSubjectName (void) const |
| virtual SequenceOffset | getSubjectStart (void) const |
| virtual SequenceOffset | getSubjectEnd (void) const |
| virtual SequenceNumber | getQueryNum (void) const |
| virtual string | getQueryName (void) const |
| virtual SequenceOffset | getQueryStart (void) const |
| virtual SequenceOffset | getQueryEnd (void) const |
| virtual int | getQuerySize (void) const |
| virtual int | getNumBases (void) const |
| virtual bool | isQueryForward (void) const |
| virtual bool | isSubjectForward (void) const |
| virtual void | print (void) const |
Public Attributes | |
| MatchInfo | data_ |
| map< SequenceNumber, std::string > | names_ |
Private Attributes | |
| vector< QueryInfo > & | query_ |
Definition at line 49 of file SSAHAClient.h.
| MatchRemote::MatchRemote | ( | vector< QueryInfo > & | query | ) |
| MatchRemote::~MatchRemote | ( | ) | [virtual] |
| virtual SequenceNumber MatchRemote::getSubjectNum | ( | void | ) | const [inline, virtual] |
Implements Match.
Definition at line 55 of file SSAHAClient.h.
References data_, and MatchInfo::subjectNum.
00056 { return data_.subjectNum; }
| virtual const char* MatchRemote::getSubjectName | ( | void | ) | const [inline, virtual] |
Implements Match.
Definition at line 57 of file SSAHAClient.h.
References data_, names_, and MatchInfo::subjectNum.
00058 { return names_[ data_.subjectNum ].c_str(); }
| virtual SequenceOffset MatchRemote::getSubjectStart | ( | void | ) | const [inline, virtual] |
Implements Match.
Definition at line 59 of file SSAHAClient.h.
References data_, and MatchInfo::subjectStart.
00060 { return data_.subjectStart; }
| virtual SequenceOffset MatchRemote::getSubjectEnd | ( | void | ) | const [inline, virtual] |
Implements Match.
Definition at line 61 of file SSAHAClient.h.
References data_, and MatchInfo::subjectEnd.
00062 { return data_.subjectEnd; }
| virtual SequenceNumber MatchRemote::getQueryNum | ( | void | ) | const [inline, virtual] |
Implements Match.
Definition at line 64 of file SSAHAClient.h.
References data_, and MatchInfo::queryNum.
| string MatchRemote::getQueryName | ( | void | ) | const [inline, virtual] |
Implements Match.
Definition at line 53 of file SSAHAClient.cpp.
References data_, query_, and MatchInfo::queryNum.
| virtual SequenceOffset MatchRemote::getQueryStart | ( | void | ) | const [inline, virtual] |
Implements Match.
Definition at line 67 of file SSAHAClient.h.
References data_, and MatchInfo::queryStart.
00068 { return data_.queryStart; }
| virtual SequenceOffset MatchRemote::getQueryEnd | ( | void | ) | const [inline, virtual] |
Implements Match.
Definition at line 70 of file SSAHAClient.h.
References data_, and MatchInfo::queryEnd.
| int MatchRemote::getQuerySize | ( | void | ) | const [inline, virtual] |
Implements Match.
Definition at line 57 of file SSAHAClient.cpp.
References data_, WordSequence::getNumBasesInLast(), hello, query_, MatchInfo::queryNum, and Handshake::wordLength.
00057 { 00058 WordSequence& thisSeq(query_[ data_.queryNum-1 ].first); 00059 return (thisSeq.size()==0) 00060 ? 0 00061 : (thisSeq.size()-1)*hello.wordLength + thisSeq.getNumBasesInLast(); 00062 }
Here is the call graph for this function:

| virtual int MatchRemote::getNumBases | ( | void | ) | const [inline, virtual] |
Implements Match.
Definition at line 74 of file SSAHAClient.h.
References data_, and MatchInfo::numBases.
| virtual bool MatchRemote::isQueryForward | ( | void | ) | const [inline, virtual] |
Implements Match.
Definition at line 76 of file SSAHAClient.h.
References data_, and MatchInfo::isQueryForward.
00077 { return data_.isQueryForward; }
| virtual bool MatchRemote::isSubjectForward | ( | void | ) | const [inline, virtual] |
Implements Match.
Definition at line 78 of file SSAHAClient.h.
References data_, and MatchInfo::isSubjectForward.
00079 { return data_.isSubjectForward; }
| virtual void MatchRemote::print | ( | void | ) | const [inline, virtual] |
Definition at line 82 of file SSAHAClient.h.
Referenced by getNumBases(), getQueryEnd(), getQueryName(), getQueryNum(), getQuerySize(), getQueryStart(), getSubjectEnd(), getSubjectName(), getSubjectNum(), getSubjectStart(), isQueryForward(), isSubjectForward(), and sendQuery().
map<SequenceNumber,std::string> MatchRemote::names_ [mutable] |
vector<QueryInfo>& MatchRemote::query_ [private] |
1.5.2