NCBI C++ ToolKit
|
Search Toolkit Book for CRCache
Classes | |
class | CDataPool |
class | CRVPool |
struct | SDataItem |
Public Types | |
typedef CDbIndex::TSeqNum | TSeqNum |
Public Member Functions | |
CRCache (Uint4 max_results_per_query) | |
void | update (TSeqNum query, CSRSearch::TResults &results, const string &idstr1, const string &idstr2) |
void | updateSIdMap (const vector< string > &idmap, TSeqNum start) |
const vector< string > & | getSIdMap () const |
void | dump (CNcbiOstream &ostream) |
CSRSearch::ELevel | getLevel1 (TSeqNum q) |
CSRSearch::ELevel | getLevel2 (TSeqNum q) |
Uint4 | getNRes1 (TSeqNum q) |
Uint4 | getNRes2 (TSeqNum q) |
Private Attributes | |
Uint4 | max_res_ |
CDataPool | data_pool |
CRVPool | rv_pool |
vector< string > | idmap1 |
vector< string > | idmap2 |
vector< string > | sidmap |
Definition at line 58 of file srsearch_app.cpp.
typedef CDbIndex::TSeqNum CRCache::TSeqNum |
Definition at line 62 of file srsearch_app.cpp.
|
inline |
Definition at line 76 of file srsearch_app.cpp.
void CRCache::dump | ( | CNcbiOstream & | ostream | ) |
Definition at line 225 of file srsearch_app.cpp.
References data, data_pool, i, PrintResults(), sidmap, and CRCache::CDataPool::size().
Referenced by CSRSearchApplication::Run().
|
inline |
Definition at line 101 of file srsearch_app.cpp.
References data_pool.
Referenced by CSRSearchApplication::Run().
|
inline |
Definition at line 104 of file srsearch_app.cpp.
References data_pool.
Referenced by CSRSearchApplication::Run().
Definition at line 107 of file srsearch_app.cpp.
References data_pool, and r().
Referenced by CSRSearchApplication::Run().
Definition at line 113 of file srsearch_app.cpp.
References data_pool, and r().
Referenced by CSRSearchApplication::Run().
Definition at line 97 of file srsearch_app.cpp.
References sidmap.
Referenced by CSRSearchApplication::Run().
void CRCache::update | ( | TSeqNum | query, |
CSRSearch::TResults & | results, | ||
const string & | idstr1, | ||
const string & | idstr2 | ||
) |
Definition at line 241 of file srsearch_app.cpp.
References data, data_pool, i, CSRSearch::SResults::level_1, CSRSearch::SResults::level_2, CRCache::CRVPool::newItem(), CSRSearch::SResults::nres_1, query, CSRSearch::SResults::res, rv_pool, and CSRSearch::SE.
Referenced by CSRSearchApplication::Run().
Definition at line 86 of file srsearch_app.cpp.
Referenced by CSRSearchApplication::Run().
|
private |
Definition at line 217 of file srsearch_app.cpp.
Referenced by dump(), getLevel1(), getLevel2(), getNRes1(), getNRes2(), and update().
|
private |
Definition at line 219 of file srsearch_app.cpp.
|
private |
Definition at line 220 of file srsearch_app.cpp.
|
private |
Definition at line 216 of file srsearch_app.cpp.
|
private |
Definition at line 218 of file srsearch_app.cpp.
Referenced by update().
|
private |
Definition at line 221 of file srsearch_app.cpp.
Referenced by dump(), getSIdMap(), and updateSIdMap().