NCBI C++ ToolKit
|
Defines CBlastScopeSource class to create properly configured CScope objects. More...
#include <ncbi_pch.hpp>
#include <algo/blast/blastinput/blast_scope_src.hpp>
#include <objmgr/scope.hpp>
#include <objmgr/object_manager.hpp>
#include <objtools/data_loaders/genbank/gbloader.hpp>
#include <objtools/data_loaders/blastdb/bdbloader_rmt.hpp>
#include <objtools/data_loaders/genbank/id2/reader_id2.hpp>
Go to the source code of this file.
Go to the SVN repository for this file.
Functions | |
USING_SCOPE (objects) | |
static int | s_CountBlastDbDataLoaders () |
Counts the number of BLAST database data loaders registered in the object manager. More... | |
Defines CBlastScopeSource class to create properly configured CScope objects.
Definition in file blast_scope_src.cpp.
Counts the number of BLAST database data loaders registered in the object manager.
This is needed so that the priorities of the BLAST databases can be adjusted accordingly when multiple BLAST database data loaders are added to CScope objects (
Definition at line 276 of file blast_scope_src.cpp.
References NStr::Find(), CObjectManager::GetInstance(), CObjectManager::GetRegisteredNames(), CThread::GetSelf(), NStr::IntToString(), ITERATE, kPrefix, kPrefixThread, and NPOS.
Referenced by CBlastScopeSource::AddDataLoaders().
USING_SCOPE | ( | objects | ) |