Search Toolkit Book for CSparseGraph
#include <gui/widgets/seq_graphic/sparse_graph.hpp>
Definition at line 54 of file sparse_graph.hpp.
◆ TSparseVector ◆ TUpdateMap ◆ TValType ◆ CSparseGraph() [1/2] CSparseGraph::CSparseGraph ( ) ◆ CSparseGraph() [2/2]Definition at line 107 of file sparse_graph.cpp.
References _ASSERT, CTime::AddHour(), data, CTime::eCurrent, m_Data, m_DataMap, m_DataSize, m_IsCacheGood, m_LastChecked, m_LastModified, m_LastSynced, m_NetCacheKey, m_RemotePath, m_SeqId, and m_SessionTag.
◆ ~CSparseGraph() ◆ CreateCompoundID() ◆ GetMissingRegions()Definition at line 128 of file sparse_graph.cpp.
References bm::bvector< Alloc >::count_range(), first(), CRange_Base::GetFrom(), COpenRange< Position >::GetLength(), CRange_Base::GetTo(), COpenRange< Position >::GetToOpen(), i, last(), m_DataMap, m_DataMutex, m_DataSize, and mask.
Referenced by CWigGraph::GetDataCoverage(), and CWigGraph::Prefetch().
◆ Init() ◆ InitFromCompoundID() void CSparseGraph::InitFromCompoundID ( CCompoundID id ) ◆ IsCacheGood() bool CSparseGraph::IsCacheGood ( ) const inline ◆ Save()Reimplemented in CWigGraph.
Definition at line 349 of file sparse_graph.cpp.
References BM_DECLARE_TEMP_BLOCK, data, CStopWatch::Elapsed(), CStopWatch::eStart, CDiagContext::Extra(), GetDiagContext(), m_Data, m_NetCacheKey, CDiagContext_Extra::Print(), sw, x_Sync(), x_WriteData(), and x_WriteMap().
Referenced by CWigGraph::Save().
◆ Update()Definition at line 335 of file sparse_graph.cpp.
References _ASSERT, data, CRange_Base::GetFrom(), COpenRange< Position >::GetLength(), CRange_Base::GetTo(), m_Data, m_DataMap, m_DataMutex, NCBI_THROW, bm::bvector< Alloc >::set_range(), and map_checker< Container >::size().
Referenced by CGraphStatCollector_Graph::UpdateGroup(), and CWigGraph::x_FetchData().
◆ x_CheckRemoteData() void CSparseGraph::x_CheckRemoteData ( ) protectedDefinition at line 371 of file sparse_graph.cpp.
References bm::bvector< Alloc >::clear(), data, CTime::eCurrent, NStr::eNocase, CDiagContext::Extra(), GetDiagContext(), CUrlUtils::GetLastModified(), CUrlUtils::IfModifiedSince(), m_Data, m_DataMap, m_DataMutex, m_IsCacheGood, m_LastChecked, m_LastModified, m_RemotePath, CDiagContext_Extra::Print(), NStr::StartsWith(), and t.
◆ x_ReadData()Definition at line 508 of file sparse_graph.cpp.
References buffer, ERR_POST, Error(), eUnknown, CRWStreambuf::fOwnReader, ICache::GetReadStream(), ICache::GetSize(), int, NCBI_THROW, NcbiEmptyString, ncbi::grid::netcache::search::fields::size, bm::sparse_vector_deserialize(), tag, and val.
◆ x_ReadMap()Definition at line 447 of file sparse_graph.cpp.
References CChecksum::AddChars(), buffer, bm::bvector< Alloc >::clear(), bm::deserialize(), CChecksum::eMD5, eUnknown, CRWStreambuf::fOwnReader, CChecksum::GetMD5Digest(), ICache::GetReadStream(), ICache::GetSize(), int, m_NetCacheKey, md5(), NCBI_THROW, NcbiEmptyString, ncbi::grid::netcache::search::fields::size, tag, and val.
◆ x_Sync()Definition at line 204 of file sparse_graph.cpp.
References BM_DECLARE_TEMP_BLOCK, data, ERR_POST, Error(), CDiagContext::Extra(), f, GetDiagContext(), max(), md5(), NcbiEmptyString, CDiagContext_Extra::Print(), s_GetMD5Tag(), and tag.
Referenced by Init(), and Save().
◆ x_WriteData()Definition at line 431 of file sparse_graph.cpp.
References bm::sparse_vector_serial_layout< SV >::buf(), eUnknown, CRWStreambuf::fOwnWriter, ICache::GetWriteStream(), int, m_SessionTag, NCBI_THROW, NcbiEmptyString, bm::sparse_vector_serial_layout< SV >::size(), bm::sparse_vector_serialize(), and val.
Referenced by Save().
◆ x_WriteMap() ◆ m_Datamap of sprasvectors, the key is used as a part of suffix of NetCache key (m_NetCacheKey + "_" + this map key
Definition at line 88 of file sparse_graph.hpp.
Referenced by CPileUpGraph::CPileUpGraph(), CSparseGraph(), CWigGraph::CWigGraph(), CWigGraph::GetData(), CPileUpGraph::GetNumberOfReads(), CWigGraph::Init(), Save(), CWigGraph::Save(), Update(), CPileUpGraph::UpdateAlignStats(), x_CheckRemoteData(), CWigGraph::x_DecodeDelta(), and CWigGraph::x_FetchSummary().
◆ m_DataMap ◆ m_DataMutex mutex CSparseGraph::m_DataMutex protected ◆ m_DataSize size_t CSparseGraph::m_DataSize = 0 protected ◆ m_IsCacheGood ◆ m_LastChecked time_t CSparseGraph::m_LastChecked = 0 protected ◆ m_LastModified string CSparseGraph::m_LastModified protected ◆ m_LastSynced CTime CSparseGraph::m_LastSynced protected ◆ m_NetCacheKey string CSparseGraph::m_NetCacheKey protected ◆ m_RemotePath string CSparseGraph::m_RemotePath protected ◆ m_SeqId ◆ m_SessionTag string CSparseGraph::m_SessionTag protectedThe documentation for this class was generated from the following files:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4