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

Search Toolkit Book for CSequenceDataTester

+ Collaboration diagram for CSequenceDataTester:

Public Member Functions

 CSequenceDataTester (CRef< IQueryFactory > query_factory, TGi gi)
 
 CSequenceDataTester (CRef< IQueryFactory > query_factory, const vector< TGi > &gis)
 
 CSequenceDataTester (CRef< IQueryFactory > query_factory, const IRemoteQueryData::TSeqLocs &seqlocs)
 
void operator() (void)
 

Private Member Functions

void x_Init (const IRemoteQueryData::TSeqLocs *seqlocs=0)
 
bool x_IsProtein ()
 
ENa_strand x_GetStrand (int index)
 
void x_TestSingleSequence_Local (int index)
 
void x_TestSingleSequence_Remote (int index)
 
void x_TestSingleProtein_Local (int index, const BlastQueryInfo *qinfo, const BLAST_SequenceBlk *seqblk)
 
void x_TestSingleNucleotide_Local (int index, const BlastQueryInfo *qinfo, const BLAST_SequenceBlk *seqblk)
 
void x_TestSingleTranslatedNucl_Local (int index, const BlastQueryInfo *qinfo, const BLAST_SequenceBlk *seqblk)
 
void x_TestSingleProtein_Remote (const CSeq_id &id, const CSeq_inst &seq_inst)
 
void x_TestSingleNucleotide_Remote (const CSeq_id &id, const CSeq_inst &seq_inst)
 
void x_TestLocalStrand (const CSeq_id &id, int ctx_index, ENa_strand strand, const BlastQueryInfo *qinfo, const BLAST_SequenceBlk *seqblk)
 
void x_CompareSequenceData (CSeqVector &sv, const Uint1 *sequence, const string &strand="")
 

Private Attributes

CRef< IQueryFactorym_QueryFactory
 
vector< TGim_Gis
 
vector< ENa_strandm_Strands
 
CConstRef< CBlastOptionsm_Options
 
CRef< CScopem_Scope
 

Detailed Description

Definition at line 67 of file querydata_unit_test.cpp.

Constructor & Destructor Documentation

◆ CSequenceDataTester() [1/3]

CSequenceDataTester::CSequenceDataTester ( CRef< IQueryFactory query_factory,
TGi  gi 
)

Definition at line 117 of file querydata_unit_test.cpp.

References x_Init().

◆ CSequenceDataTester() [2/3]

CSequenceDataTester::CSequenceDataTester ( CRef< IQueryFactory query_factory,
const vector< TGi > &  gis 
)

Definition at line 124 of file querydata_unit_test.cpp.

References x_Init().

◆ CSequenceDataTester() [3/3]

CSequenceDataTester::CSequenceDataTester ( CRef< IQueryFactory query_factory,
const IRemoteQueryData::TSeqLocs seqlocs 
)

Definition at line 132 of file querydata_unit_test.cpp.

References x_Init().

Member Function Documentation

◆ operator()()

void CSequenceDataTester::operator() ( void  )

◆ x_CompareSequenceData()

void CSequenceDataTester::x_CompareSequenceData ( CSeqVector sv,
const Uint1 sequence,
const string strand = "" 
)
private

◆ x_GetStrand()

ENa_strand CSequenceDataTester::x_GetStrand ( int  index)
inlineprivate

Definition at line 208 of file querydata_unit_test.cpp.

References m_Strands.

Referenced by x_TestSingleNucleotide_Local().

◆ x_Init()

void CSequenceDataTester::x_Init ( const IRemoteQueryData::TSeqLocs seqlocs = 0)
private

◆ x_IsProtein()

bool CSequenceDataTester::x_IsProtein ( )
private

◆ x_TestLocalStrand()

void CSequenceDataTester::x_TestLocalStrand ( const CSeq_id id,
int  ctx_index,
ENa_strand  strand,
const BlastQueryInfo qinfo,
const BLAST_SequenceBlk seqblk 
)
private

◆ x_TestSingleNucleotide_Local()

void CSequenceDataTester::x_TestSingleNucleotide_Local ( int  index,
const BlastQueryInfo qinfo,
const BLAST_SequenceBlk seqblk 
)
private

◆ x_TestSingleNucleotide_Remote()

void CSequenceDataTester::x_TestSingleNucleotide_Remote ( const CSeq_id id,
const CSeq_inst seq_inst 
)
private

◆ x_TestSingleProtein_Local()

void CSequenceDataTester::x_TestSingleProtein_Local ( int  index,
const BlastQueryInfo qinfo,
const BLAST_SequenceBlk seqblk 
)
private

◆ x_TestSingleProtein_Remote()

void CSequenceDataTester::x_TestSingleProtein_Remote ( const CSeq_id id,
const CSeq_inst seq_inst 
)
private

◆ x_TestSingleSequence_Local()

void CSequenceDataTester::x_TestSingleSequence_Local ( int  index)
private

◆ x_TestSingleSequence_Remote()

void CSequenceDataTester::x_TestSingleSequence_Remote ( int  index)
private

◆ x_TestSingleTranslatedNucl_Local()

void CSequenceDataTester::x_TestSingleTranslatedNucl_Local ( int  index,
const BlastQueryInfo qinfo,
const BLAST_SequenceBlk seqblk 
)
private

Definition at line 270 of file querydata_unit_test.cpp.

References msg().

Member Data Documentation

◆ m_Gis

vector<TGi> CSequenceDataTester::m_Gis
private

◆ m_Options

CConstRef<CBlastOptions> CSequenceDataTester::m_Options
private

Definition at line 85 of file querydata_unit_test.cpp.

Referenced by x_Init(), x_IsProtein(), and x_TestSingleSequence_Local().

◆ m_QueryFactory

CRef<IQueryFactory> CSequenceDataTester::m_QueryFactory
private

◆ m_Scope

CRef<CScope> CSequenceDataTester::m_Scope
private

◆ m_Strands

vector<ENa_strand> CSequenceDataTester::m_Strands
private

Definition at line 84 of file querydata_unit_test.cpp.

Referenced by x_GetStrand(), and x_Init().


The documentation for this class was generated from the following file:
Modified on Wed Sep 04 15:06:15 2024 by modify_doxy.py rev. 669887