src/objtools/data_loaders/genbank/gbloader.cpp File Reference

#include <ncbi_pch.hpp>
#include <corelib/ncbi_param.hpp>
#include <objtools/data_loaders/genbank/gbloader.hpp>
#include <objtools/data_loaders/genbank/gbloader_params.h>
#include <objtools/data_loaders/genbank/dispatcher.hpp>
#include <objtools/data_loaders/genbank/request_result.hpp>
#include <objtools/data_loaders/genbank/reader_interface.hpp>
#include <objtools/data_loaders/genbank/writer_interface.hpp>
#include <objtools/data_loaders/genbank/readers.hpp>
#include <objtools/data_loaders/genbank/seqref.hpp>
#include <objtools/error_codes.hpp>
#include <objmgr/objmgr_exception.hpp>
#include <objmgr/impl/tse_info.hpp>
#include <objmgr/impl/tse_chunk_info.hpp>
#include <objmgr/impl/bioseq_info.hpp>
#include <objmgr/impl/data_source.hpp>
#include <objmgr/data_loader_factory.hpp>
#include <objmgr/annot_selector.hpp>
#include <objects/seqloc/Seq_id.hpp>
#include <corelib/ncbithr.hpp>
#include <corelib/ncbiapp.hpp>
#include <corelib/plugin_manager_impl.hpp>
#include <corelib/plugin_manager_store.hpp>
#include <algorithm>

Include dependency graph for gbloader.cpp:

Go to the source code of this file.

Classes

class  CGBReaderRequestResult
class  CTimerGuard
class  CGB_DataLoaderCF

Defines

#define REGISTER_READER_ENTRY_POINTS   1
#define NCBI_USE_ERRCODE_X   Objtools_GBLoader
#define GBLOADER_NAME   "GBLOADER"
#define DEFAULT_ID_GC_SIZE   1000

Typedefs

typedef CGBDataLoader::TParamTree TParams

Functions

 NCBI_PARAM_DEF_EX (string, GENBANK, LOADER_METHOD, kEmptyStr, eParam_NoThread, GENBANK_LOADER_METHOD)
typedef NCBI_PARAM_TYPE (GENBANK, LOADER_METHOD) TGenbankLoaderMethod
TParamsFindSubNode (TParams *params, const string &name)
const TParamsFindSubNode (const TParams *params, const string &name)
void DumpParams (const TParams *params, const string &prefix="")
 NCBI_PARAM_DECL (bool, GENBANK, REGISTER_READERS)
 NCBI_PARAM_DEF_EX (bool, GENBANK, REGISTER_READERS, true, eParam_NoThread, GENBANK_REGISTER_READERS)
static bool s_ForceDriver (const string &names)
 USING_SCOPE (objects)
void DataLoaders_Register_GenBank (void)
void NCBI_EntryPoint_DataLoader_GB (CPluginManager< CDataLoader >::TDriverInfoList &info_list, CPluginManager< CDataLoader >::EEntryPointRequest method)
void NCBI_EntryPoint_xloader_genbank (CPluginManager< objects::CDataLoader >::TDriverInfoList &info_list, CPluginManager< objects::CDataLoader >::EEntryPointRequest method)

Variables

static const char *const DEFAULT_DRV_ORDER = "ID2:ID1"


Define Documentation

#define DEFAULT_ID_GC_SIZE   1000
 

Definition at line 98 of file gbloader.cpp.

#define GBLOADER_NAME   "GBLOADER"
 

Definition at line 96 of file gbloader.cpp.

Referenced by CGBDataLoader::GetLoaderNameFromArgs().

#define NCBI_USE_ERRCODE_X   Objtools_GBLoader
 

Definition at line 71 of file gbloader.cpp.

#define REGISTER_READER_ENTRY_POINTS   1
 

Definition at line 43 of file gbloader.cpp.


Typedef Documentation

typedef CGBDataLoader::TParamTree TParams [static]
 

Definition at line 316 of file gbloader.cpp.


Function Documentation

void DataLoaders_Register_GenBank void   ) 
 

Definition at line 1436 of file gbloader.cpp.

References NCBI_EntryPoint_DataLoader_GB().

void @0::DumpParams const TParams params,
const string &  prefix = ""
[static]
 

Definition at line 346 of file gbloader.cpp.

References NcbiCout, NcbiEndl, and prefix.

const TParams* @0::FindSubNode const TParams params,
const string &  name
[static]
 

Definition at line 332 of file gbloader.cpp.

References NStr::CompareNocase().

TParams* @0::FindSubNode TParams params,
const string &  name
[static]
 

Definition at line 318 of file gbloader.cpp.

References NStr::CompareNocase().

Referenced by CGBDataLoader::GetParam(), CGBDataLoader::GetParamsSubnode(), CGBDataLoader::SetParam(), and SPluginParams::SetSubNode().

void NCBI_EntryPoint_DataLoader_GB CPluginManager< CDataLoader >::TDriverInfoList &  info_list,
CPluginManager< CDataLoader >::EEntryPointRequest  method
 

Definition at line 1481 of file gbloader.cpp.

References CHostEntryPointImpl< TClassFactory >::NCBI_EntryPointImpl().

void NCBI_EntryPoint_xloader_genbank CPluginManager< objects::CDataLoader >::TDriverInfoList &  info_list,
CPluginManager< objects::CDataLoader >::EEntryPointRequest  method
 

Definition at line 1489 of file gbloader.cpp.

References NCBI_EntryPoint_DataLoader_GB().

NCBI_PARAM_DECL bool  ,
GENBANK  ,
REGISTER_READERS 
 

NCBI_PARAM_DEF_EX bool  ,
GENBANK  ,
REGISTER_READERS  ,
true  ,
eParam_NoThread  ,
GENBANK_REGISTER_READERS 
 

NCBI_PARAM_DEF_EX string  ,
GENBANK  ,
LOADER_METHOD  ,
kEmptyStr  ,
eParam_NoThread  ,
GENBANK_LOADER_METHOD 
 

typedef NCBI_PARAM_TYPE GENBANK  ,
LOADER_METHOD 
 

static bool s_ForceDriver const string &  names  )  [static]
 

Definition at line 655 of file gbloader.cpp.

Referenced by CGBDataLoader::x_CreateReader(), and CGBDataLoader::x_CreateWriter().

USING_SCOPE objects   ) 
 


Variable Documentation

const char* const DEFAULT_DRV_ORDER = "ID2:ID1" [static]
 

Definition at line 93 of file gbloader.cpp.


Generated on Wed Dec 9 07:47:44 2009 for NCBI C++ ToolKit by  doxygen 1.4.6
Modified on Wed Dec 09 08:18:39 2009 by modify_doxy.py rev. 173732