NCBI C++ ToolKit
|
Search Toolkit Book for CSNPFileInfo
#include <sra/data_loaders/snp/impl/snploader_impl.hpp>
Public Types | |
typedef CSNPDataLoader::TAnnotNames | TAnnotNames |
Protected Types | |
typedef map< CSeq_id_Handle, CRef< CSNPSeqInfo > > | TSeqById |
typedef map< size_t, CRef< CSNPSeqInfo > > | TSeqByIdx |
typedef map< objects::CSeq_id_Handle, CRef< CSNPSeqInfo > > | TSeqById |
typedef map< size_t, CRef< CSNPSeqInfo > > | TSeqByIdx |
Protected Member Functions | |
void | x_Initialize (CSNPDataLoader_Impl &impl, const string &file_name) |
void | x_Initialize (CSNPClient &client, const string &file_name) |
Protected Attributes | |
unsigned | m_RemainingOpenRetries |
bool | m_IsValidNA |
string | m_FileName |
string | m_Accession |
string | m_AnnotName |
CMutex | m_SNPMutex |
CSNPDb | m_SNPDb |
TSeqById | m_SeqById |
TSeqByIdx | m_SeqByIdx |
objects::CSNPDb | m_SNPDb |
Friends | |
class | CSNPDataLoader_Impl |
class | CSNPClient |
Definition at line 222 of file snploader_impl.hpp.
Definition at line 270 of file snploader_impl.hpp.
|
protected |
Definition at line 276 of file snploader_impl.hpp.
|
protected |
Definition at line 286 of file snp_client.hpp.
|
protected |
Definition at line 277 of file snploader_impl.hpp.
|
protected |
Definition at line 287 of file snp_client.hpp.
CSNPFileInfo::CSNPFileInfo | ( | CSNPDataLoader_Impl & | impl, |
const string & | file_name | ||
) |
Definition at line 1010 of file snploader_impl.cpp.
References x_Initialize().
CSNPFileInfo::CSNPFileInfo | ( | CSNPClient & | client, |
const string & | file_name | ||
) |
Definition at line 608 of file snp_client.cpp.
References client, and x_Initialize().
void CSNPFileInfo::AddSeq | ( | const CSeq_id_Handle & | id | ) |
void CSNPFileInfo::AddSeq | ( | const objects::CSeq_id_Handle & | id | ) |
Definition at line 236 of file snploader_impl.hpp.
References m_Accession.
Definition at line 256 of file snp_client.hpp.
References m_Accession.
CRef<CSNPBlobId> CSNPFileInfo::GetAnnotBlobId | ( | const CSeq_id_Handle & | id | ) | const |
CSNPBlobId CSNPFileInfo::GetAnnotBlobId | ( | const objects::CSeq_id_Handle & | id | ) | const |
Definition at line 240 of file snploader_impl.hpp.
References m_AnnotName.
Referenced by GetSNPAnnotName().
Definition at line 260 of file snp_client.hpp.
References m_AnnotName.
|
inline |
Definition at line 259 of file snploader_impl.hpp.
References m_SNPDb.
Referenced by operator CSNPDb &(), and operator objects::CSNPDb &().
|
inline |
Definition at line 272 of file snp_client.hpp.
References m_SNPDb.
Definition at line 232 of file snploader_impl.hpp.
References m_FileName.
Definition at line 252 of file snp_client.hpp.
References m_FileName.
|
inline |
Definition at line 252 of file snploader_impl.hpp.
References m_SNPMutex.
void CSNPFileInfo::GetPossibleAnnotNames | ( | TAnnotNames & | names | ) | const |
Definition at line 1064 of file snploader_impl.cpp.
References GetSNPAnnotName(), m_SNPDb, and names.
CRef< CSNPSeqInfo > CSNPFileInfo::GetSeqInfo | ( | const CSeq_id_Handle & | seq_id | ) |
CRef< CSNPSeqInfo > CSNPFileInfo::GetSeqInfo | ( | const CSNPBlobId & | blob_id | ) |
Definition at line 662 of file snp_client.cpp.
References CSNPBlobId::GetSeqId(), CSNPBlobId::GetSeqIndex(), GetSeqInfo(), CSNPBlobId::IsSatId(), and CSNPSeqInfo::SetFromBlobId().
CRef<CSNPSeqInfo> CSNPFileInfo::GetSeqInfo | ( | const CSNPBlobId & | blob_id | ) |
CRef<CSNPSeqInfo> CSNPFileInfo::GetSeqInfo | ( | const objects::CSeq_id_Handle & | seq_id | ) |
CRef< CSNPSeqInfo > CSNPFileInfo::GetSeqInfo | ( | size_t | seq_index | ) |
Definition at line 653 of file snp_client.cpp.
CRef<CSNPSeqInfo> CSNPFileInfo::GetSeqInfo | ( | size_t | seq_index | ) |
string CSNPFileInfo::GetSNPAnnotName | ( | size_t | filter_index | ) | const |
Definition at line 636 of file snp_client.cpp.
References GetBaseAnnotName(), and s_AddFilterIndex().
Referenced by CSNPSeqInfo::GetAnnotName(), and GetPossibleAnnotNames().
string CSNPFileInfo::GetSNPAnnotName | ( | size_t | filter_index | ) | const |
void CSNPFileInfo::InitializeDb | ( | CSNPDataLoader_Impl & | impl | ) |
Definition at line 1039 of file snploader_impl.cpp.
References eDebug_open, eDebug_open_time, CStopWatch::Elapsed(), GetDebugLevel(), Info(), LOG_POST_X, m_FileName, m_RemainingOpenRetries, m_SNPDb, CStopWatch::Start(), and sw.
|
inline |
Definition at line 228 of file snploader_impl.hpp.
References m_IsValidNA.
|
inline |
Definition at line 247 of file snp_client.hpp.
References m_IsValidNA.
|
inline |
Definition at line 263 of file snploader_impl.hpp.
References GetDb().
|
inline |
Definition at line 276 of file snp_client.hpp.
References GetDb().
|
protected |
Definition at line 616 of file snp_client.cpp.
References client, CSNPBlobId::IsValidNA(), m_Accession, m_AnnotName, m_FileName, m_IsValidNA, NPOS, and s_ExtractFilterIndex().
|
protected |
Definition at line 1017 of file snploader_impl.cpp.
References CSNPBlobId::IsValidNA(), m_Accession, m_AnnotName, m_FileName, m_IsValidNA, m_RemainingOpenRetries, NPOS, and sx_ExtractFilterIndex().
Referenced by CSNPFileInfo().
|
friend |
Definition at line 284 of file snp_client.hpp.
|
friend |
Definition at line 274 of file snploader_impl.hpp.
|
protected |
Definition at line 285 of file snploader_impl.hpp.
Referenced by GetAccession(), and x_Initialize().
|
protected |
Definition at line 286 of file snploader_impl.hpp.
Referenced by GetBaseAnnotName(), and x_Initialize().
|
protected |
Definition at line 284 of file snploader_impl.hpp.
Referenced by GetFileName(), InitializeDb(), and x_Initialize().
|
protected |
Definition at line 283 of file snploader_impl.hpp.
Referenced by IsValidNA(), and x_Initialize().
|
protected |
Definition at line 282 of file snploader_impl.hpp.
Referenced by InitializeDb(), and x_Initialize().
|
protected |
Definition at line 289 of file snploader_impl.hpp.
|
protected |
Definition at line 290 of file snploader_impl.hpp.
|
protected |
Definition at line 288 of file snploader_impl.hpp.
Referenced by GetDb(), GetPossibleAnnotNames(), GetSeqInfo(), and InitializeDb().
|
protected |
Definition at line 296 of file snp_client.hpp.
|
mutableprotected |
Definition at line 287 of file snploader_impl.hpp.
Referenced by GetMutex().