NCBI C++ ToolKit
Public Member Functions | Private Member Functions | Private Attributes | List of all members
CSRSearch::CResCache Class Reference

Search Toolkit Book for CSRSearch::CResCache

#include <algo/blast/dbindex_search/sr_search.hpp>

Public Member Functions

void init (Uint4 sz)
bool is_set (Uint4 idx, bool fw_strand) const
void set (Uint4 idx, bool fw_strand)
TSRResultsat (Uint4 idx, bool fw_strand)

Private Member Functions

Uint4 size ()
void resize (Uint4 new_sz)

Private Attributes

vector< Uint1f_ind_
vector< Uint1r_ind_
vector< TSRResultsf_res_cache_
vector< TSRResultsr_res_cache_

Detailed Description

Definition at line 179 of file sr_search.hpp.

Member Function Documentation

◆ at()

TSRResults& CSRSearch::CResCache::at ( Uint4  idx,
bool  fw_strand 

◆ init()

void CSRSearch::CResCache::init ( Uint4  sz)

Definition at line 211 of file sr_search.hpp.

References pythonpp::resize().

Referenced by CSRSearch_Impl< index_t >::search().

◆ is_set()

bool CSRSearch::CResCache::is_set ( Uint4  idx,
bool  fw_strand 
) const

Definition at line 218 of file sr_search.hpp.

References bool.

Referenced by CSRSearch_Impl< index_t >::searchOneMismatch().

◆ resize()

void CSRSearch::CResCache::resize ( Uint4  new_sz)

Definition at line 190 of file sr_search.hpp.

References i, and ncbi::grid::netcache::search::fields::size.

◆ set()

void CSRSearch::CResCache::set ( Uint4  idx,
bool  fw_strand 

Definition at line 221 of file sr_search.hpp.

Referenced by CSRSearch_Impl< index_t >::setResults4Idx().

◆ size()

Uint4 CSRSearch::CResCache::size ( )

Definition at line 188 of file sr_search.hpp.

Member Data Documentation

◆ f_ind_

vector< Uint1 > CSRSearch::CResCache::f_ind_

Definition at line 183 of file sr_search.hpp.

◆ f_res_cache_

vector< TSRResults > CSRSearch::CResCache::f_res_cache_

Definition at line 185 of file sr_search.hpp.

◆ r_ind_

vector< Uint1 > CSRSearch::CResCache::r_ind_

Definition at line 184 of file sr_search.hpp.

◆ r_res_cache_

vector< TSRResults > CSRSearch::CResCache::r_res_cache_

Definition at line 186 of file sr_search.hpp.

The documentation for this class was generated from the following file:
Modified on Sun Feb 25 03:05:54 2024 by rev. 669887