src/objtools/data_loaders/genbank/id2/reader_id2.cpp File Reference

#include <ncbi_pch.hpp>
#include <corelib/ncbi_param.hpp>
#include <corelib/ncbi_system.hpp>
#include <objtools/data_loaders/genbank/id2/reader_id2.hpp>
#include <objtools/data_loaders/genbank/id2/reader_id2_entry.hpp>
#include <objtools/data_loaders/genbank/id2/reader_id2_params.h>
#include <objtools/data_loaders/genbank/readers.hpp>
#include <objtools/data_loaders/genbank/dispatcher.hpp>
#include <objtools/data_loaders/genbank/processors.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/tse_split_info.hpp>
#include <objtools/data_loaders/genbank/request_result.hpp>
#include <corelib/ncbimtx.hpp>
#include <corelib/plugin_manager_impl.hpp>
#include <objects/general/Dbtag.hpp>
#include <objects/general/Object_id.hpp>
#include <objects/seqloc/Seq_id.hpp>
#include <objects/seqset/Seq_entry.hpp>
#include <objects/id2/id2__.hpp>
#include <objects/seqsplit/ID2S_Split_Info.hpp>
#include <objects/seqsplit/ID2S_Chunk_Info.hpp>
#include <objects/seqsplit/ID2S_Chunk.hpp>
#include <serial/iterator.hpp>
#include <serial/objistrasnb.hpp>
#include <connect/ncbi_conn_stream.hpp>
#include <corelib/plugin_manager_store.hpp>
#include <iomanip>

Include dependency graph for reader_id2.cpp:

Go to the source code of this file.

Classes

class  CId2ReaderCF
 Class factory for ID2 reader. More...

Defines

#define NCBI_USE_ERRCODE_X   Objtools_Reader_Id2
#define DEFAULT_SERVICE   "ID2"
#define DEFAULT_NUM_CONN   3
#define DEFAULT_RETRY_COUNT   5
#define DEFAULT_TIMEOUT   20
#define DEFAULT_OPEN_TIMEOUT   5
#define MAX_MT_CONN   5
#define GENBANK_ID2_RANDOM_FAILS_FREQUENCY   20
#define GENBANK_ID2_RANDOM_FAILS_RECOVER   10
#define SetRandomFail(stream, conn)   do{}while(0)
#define MConnFormat   MSerial_AsnBinary

Functions

 NCBI_PARAM_DECL (string, GENBANK, ID2_CGI_NAME)
 NCBI_PARAM_DECL (string, GENBANK, ID2_SERVICE_NAME)
 NCBI_PARAM_DECL (string, NCBI, SERVICE_NAME_ID2)
 NCBI_PARAM_DEF_EX (string, GENBANK, ID2_CGI_NAME, kEmptyStr, eParam_NoThread, GENBANK_ID2_CGI_NAME)
 NCBI_PARAM_DEF_EX (string, GENBANK, ID2_SERVICE_NAME, kEmptyStr, eParam_NoThread, GENBANK_ID2_SERVICE_NAME)
 NCBI_PARAM_DEF_EX (string, NCBI, SERVICE_NAME_ID2,"ID2", eParam_NoThread, GENBANK_SERVICE_NAME_ID2)
void GenBankReaders_Register_Id2 (void)
void NCBI_EntryPoint_Id2Reader (CPluginManager< objects::CReader >::TDriverInfoList &info_list, CPluginManager< objects::CReader >::EEntryPointRequest method)
void NCBI_EntryPoint_xreader_id2 (CPluginManager< objects::CReader >::TDriverInfoList &info_list, CPluginManager< objects::CReader >::EEntryPointRequest method)


Define Documentation

#define DEFAULT_NUM_CONN   3
 

Definition at line 79 of file reader_id2.cpp.

#define DEFAULT_OPEN_TIMEOUT   5
 

Definition at line 82 of file reader_id2.cpp.

#define DEFAULT_RETRY_COUNT   5
 

Definition at line 80 of file reader_id2.cpp.

#define DEFAULT_SERVICE   "ID2"
 

Definition at line 78 of file reader_id2.cpp.

#define DEFAULT_TIMEOUT   20
 

Definition at line 81 of file reader_id2.cpp.

#define GENBANK_ID2_RANDOM_FAILS_FREQUENCY   20
 

Definition at line 86 of file reader_id2.cpp.

#define GENBANK_ID2_RANDOM_FAILS_RECOVER   10
 

Definition at line 87 of file reader_id2.cpp.

#define MAX_MT_CONN   5
 

Definition at line 83 of file reader_id2.cpp.

#define MConnFormat   MSerial_AsnBinary
 

Definition at line 323 of file reader_id2.cpp.

Referenced by CId2Reader::x_InitConnection(), and CId2Reader::x_SendPacket().

#define NCBI_USE_ERRCODE_X   Objtools_Reader_Id2
 

Definition at line 73 of file reader_id2.cpp.

#define SetRandomFail stream,
conn   )     do{}while(0)
 

Definition at line 118 of file reader_id2.cpp.


Function Documentation

void GenBankReaders_Register_Id2 void   ) 
 

Definition at line 450 of file reader_id2.cpp.

References NCBI_EntryPoint_Id2Reader().

Referenced by CGBDataLoader::x_GetReaderManager().

void NCBI_EntryPoint_Id2Reader CPluginManager< objects::CReader >::TDriverInfoList &  info_list,
CPluginManager< objects::CReader >::EEntryPointRequest  method
 

Definition at line 490 of file reader_id2.cpp.

References CHostEntryPointImpl< TClassFactory >::NCBI_EntryPointImpl().

Referenced by GenBankReaders_Register_Id2(), and NCBI_EntryPoint_xreader_id2().

void NCBI_EntryPoint_xreader_id2 CPluginManager< objects::CReader >::TDriverInfoList &  info_list,
CPluginManager< objects::CReader >::EEntryPointRequest  method
 

Definition at line 498 of file reader_id2.cpp.

References NCBI_EntryPoint_Id2Reader().

NCBI_PARAM_DECL string  ,
NCBI  ,
SERVICE_NAME_ID2 
 

NCBI_PARAM_DECL string  ,
GENBANK  ,
ID2_SERVICE_NAME 
 

NCBI_PARAM_DECL string  ,
GENBANK  ,
ID2_CGI_NAME 
 

NCBI_PARAM_DEF_EX string  ,
NCBI  ,
SERVICE_NAME_ID2  ,
"ID2"  ,
eParam_NoThread  ,
GENBANK_SERVICE_NAME_ID2 
 

NCBI_PARAM_DEF_EX string  ,
GENBANK  ,
ID2_SERVICE_NAME  ,
kEmptyStr  ,
eParam_NoThread  ,
GENBANK_ID2_SERVICE_NAME 
 

NCBI_PARAM_DEF_EX string  ,
GENBANK  ,
ID2_CGI_NAME  ,
kEmptyStr  ,
eParam_NoThread  ,
GENBANK_ID2_CGI_NAME 
 


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