NCBI C++ ToolKit
Functions
blast_scope_src.cpp File Reference

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>
+ Include dependency graph for blast_scope_src.cpp:

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...
 

Detailed Description

Defines CBlastScopeSource class to create properly configured CScope objects.

Definition in file blast_scope_src.cpp.

Function Documentation

◆ s_CountBlastDbDataLoaders()

static int s_CountBlastDbDataLoaders ( )
static

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 (

See also
AddDataLoaders)

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()

USING_SCOPE ( objects  )
Modified on Fri Sep 20 14:58:19 2024 by modify_doxy.py rev. 669887