Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/classCVDBGraphDataLoader.html below:
NCBI C++ ToolKit: CVDBGraphDataLoader Class Reference
Search Toolkit Book for CVDBGraphDataLoader
#include <sra/data_loaders/vdbgraph/vdbgraphloader.hpp>
typedef vector< string > TVDBFiles typedef SRegisterLoaderInfo< CVDBGraphDataLoader > TRegisterLoaderInfo typedef vector< CAnnotName > TAnnotNames enum EChoice {
eBlob , eBioseq , eCore , eBioseqCore ,
eSequence , eFeatures , eGraph , eAlign ,
eAnnot , eExtFeatures , eExtGraph , eExtAlign ,
eExtAnnot , eOrphanAnnot , eAll
} main blob is blob with sequence all other blobs are external and contain external annotations More...
typedef CTSE_Lock TTSE_Lock typedef set< TTSE_Lock > TTSE_LockSet typedef CRef< CTSE_Chunk_Info > TChunk typedef vector< TChunk > TChunkSet typedef set< string > TProcessedNAs typedef set< CSeq_id_Handle > TSeq_idSet typedef vector< CSeq_id_Handle > TIds typedef vector< bool > TLoaded Bulk loading interface for a small pieces of information per id. More...
typedef vector< TIds > TBulkIds typedef vector< TGi > TGis typedef vector< string > TLabels typedef vector< TTaxId > TTaxIds typedef vector< TSeqPos > TSequenceLengths typedef vector< CSeq_inst::TMol > TSequenceTypes typedef vector< int > TSequenceStates typedef vector< int > TSequenceHashes typedef vector< bool > THashKnown typedef map< CSeq_id_Handle, TTSE_LockSet > TTSE_LockSets typedef vector< vector< CSeq_id_Handle > > TSeqIdSets typedef vector< CTSE_Lock > TCDD_Locks typedef CBlobIdKey TBlobId typedef int TBlobVersion typedef CRef< IEditSaver > TEditSaver enum EAllocFillMode { eAllocFillNone = 1 , eAllocFillZero , eAllocFillPattern } Control filling of newly allocated memory. More...
typedef CObjectCounterLocker TLockerType Default locker type for CRef. More...
typedef atomic< Uint8 > TCounter Counter type is CAtomiCounter. More...
typedef Uint8 TCount Alias for value type of counter. More...
virtual CObjectManager::TPriority GetDefaultPriority (void) const override virtual TAnnotNames GetPossibleAnnotNames (void) const virtual TBlobId GetBlobId (const CSeq_id_Handle &idh) override virtual TBlobId GetBlobIdFromString (const string &str) const override virtual bool CanGetBlobById (void) const override virtual TTSE_Lock GetBlobById (const TBlobId &blob_id) override virtual TTSE_LockSet GetRecords (const CSeq_id_Handle &idh, EChoice choice) override Request from a datasource using handles and ranges instead of seq-loc The TSEs loaded in this call will be added to the tse_set. More...
virtual TTSE_LockSet GetOrphanAnnotRecordsNA (const CSeq_id_Handle &idh, const SAnnotSelector *sel, TProcessedNAs *processed_nas) override new Get*AnnotRecords() methods More...
virtual void GetChunk (TChunk chunk) override virtual void GetChunks (const TChunkSet &chunks) override virtual ~CDataLoader (void) TTSE_LockSet GetRecordsNoBlobState (const CSeq_id_Handle &idh, EChoice choice) The same as GetRecords() but always returns empty TSE lock set instead of throwing CBlobStateException. More...
virtual TTSE_LockSet GetDetailedRecords (const CSeq_id_Handle &idh, const SRequestDetails &details) Request from a datasource using handles and ranges instead of seq-loc The TSEs loaded in this call will be added to the tse_set. More...
virtual TTSE_LockSet GetExternalRecords (const CBioseq_Info &bioseq) Request from a datasource set of blobs with external annotations. More...
virtual TTSE_LockSet GetOrphanAnnotRecords (const CSeq_id_Handle &idh, const SAnnotSelector *sel) old Get*AnnotRecords() methods More...
virtual TTSE_LockSet GetExternalAnnotRecords (const CSeq_id_Handle &idh, const SAnnotSelector *sel) virtual TTSE_LockSet GetExternalAnnotRecords (const CBioseq_Info &bioseq, const SAnnotSelector *sel) virtual TTSE_LockSet GetOrphanAnnotRecordsNA (const TSeq_idSet &ids, const SAnnotSelector *sel, TProcessedNAs *processed_nas) virtual TTSE_LockSet GetExternalAnnotRecordsNA (const CSeq_id_Handle &idh, const SAnnotSelector *sel, TProcessedNAs *processed_nas) virtual TTSE_LockSet GetExternalAnnotRecordsNA (const CBioseq_Info &bioseq, const SAnnotSelector *sel, TProcessedNAs *processed_nas) virtual void GetIds (const CSeq_id_Handle &idh, TIds &ids) Request for a list of all Seq-ids of a sequence. More...
bool SequenceExists (const CSeq_id_Handle &idh) helper function to check if sequence exists, uses GetIds() More...
virtual CSeq_id_Handle GetAccVer (const CSeq_id_Handle &idh) Request for a accession.version Seq-id of a sequence. More...
virtual SAccVerFound GetAccVerFound (const CSeq_id_Handle &idh) virtual TGi GetGi (const CSeq_id_Handle &idh) Request for a gi of a sequence. More...
virtual SGiFound GetGiFound (const CSeq_id_Handle &idh) virtual string GetLabel (const CSeq_id_Handle &idh) Request for a label string of a sequence. More...
virtual TTaxId GetTaxId (const CSeq_id_Handle &idh) Request for a taxonomy id of a sequence. More...
virtual TSeqPos GetSequenceLength (const CSeq_id_Handle &idh) Request for a length of a sequence. More...
virtual CSeq_inst::TMol GetSequenceType (const CSeq_id_Handle &idh) Request for a type of a sequence Returns CSeq_inst::eMol_not_set if sequence is not known. More...
virtual STypeFound GetSequenceTypeFound (const CSeq_id_Handle &idh) virtual int GetSequenceState (const CSeq_id_Handle &idh) Request for a state of a sequence. More...
virtual int GetSequenceHash (const CSeq_id_Handle &idh) Request for a sequence hash. More...
virtual SHashFound GetSequenceHashFound (const CSeq_id_Handle &idh) virtual void GetBulkIds (const TIds &ids, TLoaded &loaded, TBulkIds &ret) Bulk request for all Seq-ids of a set of sequences. More...
virtual void GetAccVers (const TIds &ids, TLoaded &loaded, TIds &ret) Bulk request for accession.version Seq-ids of a set of sequences. More...
virtual void GetGis (const TIds &ids, TLoaded &loaded, TGis &ret) Bulk request for gis of a set of sequences. More...
virtual void GetLabels (const TIds &ids, TLoaded &loaded, TLabels &ret) Bulk request for label strings of a set of sequences. More...
virtual void GetTaxIds (const TIds &ids, TLoaded &loaded, TTaxIds &ret) Bulk request for taxonomy ids of a set of sequences. More...
virtual void GetSequenceLengths (const TIds &ids, TLoaded &loaded, TSequenceLengths &ret) Bulk request for lengths of a set of sequences. More...
virtual void GetSequenceTypes (const TIds &ids, TLoaded &loaded, TSequenceTypes &ret) Bulk request for types of a set of sequences. More...
virtual void GetSequenceStates (const TIds &ids, TLoaded &loaded, TSequenceStates &ret) Bulk request for states of a set of sequences. More...
virtual void GetSequenceHashes (const TIds &ids, TLoaded &loaded, TSequenceHashes &ret, THashKnown &known) Bulk request for hashes of a set of sequences. More...
virtual void GetCDDAnnots (const TSeqIdSets &id_sets, TLoaded &loaded, TCDD_Locks &ret) virtual void GetBlobs (TTSE_LockSets &tse_sets) virtual TBlobVersion GetBlobVersion (const TBlobId &id) virtual SRequestDetails ChoiceToDetails (EChoice choice) const virtual EChoice DetailsToChoice (const SRequestDetails::TAnnotSet &annots) const virtual EChoice DetailsToChoice (const SRequestDetails &details) const virtual void DropTSE (CRef< CTSE_Info > tse_info) void SetTargetDataSource (CDataSource &data_source) Specify datasource to send loaded data to. More...
string GetName (void) const virtual TTSE_Lock ResolveConflict (const CSeq_id_Handle &id, const TTSE_LockSet &tse_set) Resolve TSE conflict *select the best TSE from the set of dead TSEs. More...
virtual void GC (void) virtual TEditSaver GetEditSaver () const virtual Uint4 EstimateLoadBytes (const CTSE_Chunk_Info &chunk) const virtual double EstimateLoadSeconds (const CTSE_Chunk_Info &chunk, Uint4 bytes) const virtual unsigned GetDefaultBlobCacheSizeLimit () const virtual bool GetTrackSplitSeq () const CObject (void) Constructor. More...
CObject (const CObject &src) Copy constructor. More...
virtual ~CObject (void) Destructor. More...
CObject & operator= (const CObject &src) THROWS_NONE Assignment operator. More...
bool CanBeDeleted (void) const THROWS_NONE Check if object can be deleted. More...
bool IsAllocatedInPool (void) const THROWS_NONE Check if object is allocated in memory pool (not system heap) More...
bool Referenced (void) const THROWS_NONE Check if object is referenced. More...
bool ReferencedOnlyOnce (void) const THROWS_NONE Check if object is referenced only once. More...
void AddReference (void) const Add reference to object. More...
void RemoveReference (void) const Remove reference to object. More...
void ReleaseReference (void) const Remove reference without deleting object. More...
virtual void DoNotDeleteThisObject (void) Mark this object as not allocated in heap – do not delete this object. More...
virtual void DoDeleteThisObject (void) Mark this object as allocated in heap – object can be deleted. More...
void * operator new (size_t size) Define new operator for memory allocation. More...
void * operator new[] (size_t size) Define new[] operator for 'array' memory allocation. More...
void operator delete (void *ptr) Define delete operator for memory deallocation. More...
void operator delete[] (void *ptr) Define delete[] operator for memory deallocation. More...
void * operator new (size_t size, void *place) Define new operator. More...
void operator delete (void *ptr, void *place) Define delete operator. More...
void * operator new (size_t size, CObjectMemoryPool *place) Define new operator using memory pool. More...
void operator delete (void *ptr, CObjectMemoryPool *place) Define delete operator. More...
virtual void DebugDump (CDebugDumpContext ddc, unsigned int depth) const Define method for dumping debug information. More...
CDebugDumpable (void) virtual ~CDebugDumpable (void) void DebugDumpText (ostream &out, const string &bundle, unsigned int depth) const void DebugDumpFormat (CDebugDumpFormatter &ddf, const string &bundle, unsigned int depth) const void DumpToConsole (void) const static TRegisterLoaderInfo RegisterInObjectManager (CObjectManager &om, CObjectManager::EIsDefault is_default=CObjectManager::eNonDefault, CObjectManager::TPriority priority=CObjectManager::kPriority_NotSet) static TRegisterLoaderInfo RegisterInObjectManager (CObjectManager &om, const string &vdb_file, CObjectManager::EIsDefault is_default=CObjectManager::eNonDefault, CObjectManager::TPriority priority=CObjectManager::kPriority_NotSet) static TRegisterLoaderInfo RegisterInObjectManager (CObjectManager &om, const TVDBFiles &vdb_files, CObjectManager::EIsDefault is_default=CObjectManager::eNonDefault, CObjectManager::TPriority priority=CObjectManager::kPriority_NotSet) static string GetLoaderNameFromArgs (void) static string GetLoaderNameFromArgs (const string &vdb_files) static string GetLoaderNameFromArgs (const TVDBFiles &vdb_files) static bool IsRequestedAnyNA (const SAnnotSelector *sel) static bool IsRequestedNA (const string &na, const SAnnotSelector *sel) static bool IsProcessedNA (const string &na, const TProcessedNAs *processed_nas) static void SetProcessedNA (const string &na, TProcessedNAs *processed_nas) static NCBI_XNCBI_EXPORT void ThrowNullPointerException (void) Define method to throw null pointer exception. More...
static NCBI_XNCBI_EXPORT void ThrowNullPointerException (const type_info &type) static EAllocFillMode GetAllocFillMode (void) static void SetAllocFillMode (EAllocFillMode mode) static void SetAllocFillMode (const string &value) Set mode from configuration parameter value. More...
static void EnableDebugDump (bool on)
Definition at line 49 of file vdbgraphloader.hpp.
◆ TAnnotNames ◆ TMaker ◆ TRegisterLoaderInfo ◆ TVDBFiles ◆ CVDBGraphDataLoader() [1/2] CVDBGraphDataLoader::CVDBGraphDataLoader ( void ) private ◆ CVDBGraphDataLoader() [2/2] ◆ ~CVDBGraphDataLoader() CVDBGraphDataLoader::~CVDBGraphDataLoader ( void ) private
Definition at line 193 of file vdbgraphloader.cpp.
◆ CanGetBlobById() bool CVDBGraphDataLoader::CanGetBlobById ( void ) const overridevirtual ◆ GetBlobById() ◆ GetBlobId() ◆ GetBlobIdFromString() ◆ GetChunk() void CVDBGraphDataLoader::GetChunk ( TChunk chunk ) overridevirtual ◆ GetChunks() ◆ GetDefaultPriority() ◆ GetLoaderNameFromArgs() [1/4] ◆ GetLoaderNameFromArgs() [2/4] ◆ GetLoaderNameFromArgs() [3/4] ◆ GetLoaderNameFromArgs() [4/4] string CVDBGraphDataLoader::GetLoaderNameFromArgs ( void ) static ◆ GetOrphanAnnotRecordsNA() ◆ GetPossibleAnnotNames() ◆ GetRecords() ◆ RegisterInObjectManager() [1/3] ◆ RegisterInObjectManager() [2/3] ◆ RegisterInObjectManager() [3/3] ◆ CParamLoaderMaker< CVDBGraphDataLoader, SLoaderParams > ◆ m_Impl
The 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