NCBI C++ ToolKit
|
Search Toolkit Book for CRCache::CRVPool
Public Member Functions | |
CRVPool (Uint4 mres) | |
TItem * | newItem () |
Private Types | |
typedef vector< CSRSearch::SResultData > | TItem |
typedef vector< TItem > | TBlock |
typedef vector< TBlock > | TBlocks |
Private Member Functions | |
void | newBlock () |
Private Attributes | |
Uint4 | max_res |
Uint4 | num_items |
TBlocks | blocks |
Static Private Attributes | |
static const Uint4 | BLOCK_SIZE = 1024UL*1024UL |
static const Uint4 | BLOCKS_RESERVE = 1024UL |
Definition at line 121 of file srsearch_app.cpp.
|
private |
Definition at line 127 of file srsearch_app.cpp.
|
private |
Definition at line 128 of file srsearch_app.cpp.
|
private |
Definition at line 126 of file srsearch_app.cpp.
|
inline |
Definition at line 132 of file srsearch_app.cpp.
References blocks, and BLOCKS_RESERVE.
|
inlineprivate |
Definition at line 146 of file srsearch_app.cpp.
References b, BLOCK_SIZE, blocks, i, max_res, and num_items.
Referenced by newItem().
|
inline |
Definition at line 138 of file srsearch_app.cpp.
References BLOCK_SIZE, blocks, newBlock(), and num_items.
Referenced by CRCache::update().
Definition at line 123 of file srsearch_app.cpp.
Referenced by newBlock(), and newItem().
|
private |
Definition at line 160 of file srsearch_app.cpp.
Referenced by CRVPool(), newBlock(), and newItem().
Definition at line 124 of file srsearch_app.cpp.
Referenced by CRVPool().
|
private |
Definition at line 158 of file srsearch_app.cpp.
Referenced by newBlock().
|
private |
Definition at line 159 of file srsearch_app.cpp.
Referenced by newBlock(), and newItem().