NCBI C++ ToolKit
Classes | Macros | Functions
reader_pubseq2.cpp File Reference
#include <ncbi_pch.hpp>
#include <corelib/ncbi_param.hpp>
#include <objtools/data_loaders/genbank/pubseq2/reader_pubseq2.hpp>
#include <objtools/data_loaders/genbank/pubseq2/reader_pubseq2_entry.hpp>
#include <objtools/data_loaders/genbank/pubseq2/reader_pubseq2_params.h>
#include <objtools/data_loaders/genbank/readers.hpp>
#include <objtools/data_loaders/genbank/impl/request_result.hpp>
#include <objtools/data_loaders/genbank/impl/dispatcher.hpp>
#include <objtools/error_codes.hpp>
#include <objmgr/objmgr_exception.hpp>
#include <objmgr/impl/tse_info.hpp>
#include <dbapi/driver/exception.hpp>
#include <dbapi/driver/driver_mgr.hpp>
#include <dbapi/driver/drivers.hpp>
#include <dbapi/driver/dbapi_svc_mapper.hpp>
#include <objects/seqloc/Seq_id.hpp>
#include <objects/seqset/Seq_entry.hpp>
#include <corelib/ncbicntr.hpp>
#include <corelib/plugin_manager_impl.hpp>
#include <corelib/plugin_manager_store.hpp>
#include <corelib/rwstream.hpp>
#include <serial/objistrasnb.hpp>
#include <serial/serial.hpp>
#include <objects/id2/id2__.hpp>
#include <connect/ncbi_http_session.hpp>
#include <objtools/data_loaders/genbank/pubseq2/EMyNCBIResult.hpp>
#include <strstream>
#include <serial/objostrasnb.hpp>
+ Include dependency graph for reader_pubseq2.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

class  CPubseq2ReaderCF
 Class factory for Pubseq reader. More...
 

Macros

#define BINARY_REQUESTS   1
 
#define LONG_REQUESTS   1
 
#define CRequestSerializer   CObjectOStreamAsnBinary
 
#define MAX_ASN_IN   (20*1024)
 
#define DEFAULT_DB_SERVER   "PUBSEQ_OS_PUBLIC_GI64"
 
#define DEFAULT_DB_USER   "anyone"
 
#define DEFAULT_DB_PASSWORD   "allowed"
 
#define DEFAULT_DB_DRIVER   "ftds;ctlib"
 
#define DEFAULT_NUM_CONN   2
 
#define MAX_MT_CONN   256
 
#define DEFAULT_EXCL_WGS_MASTER   false
 
#define DEFAULT_TIMEOUT   40
 
#define DEFAULT_OPEN_TIMEOUT   20
 
#define NCBI_USE_ERRCODE_X   Objtools_Rd_Pubseq2
 

Functions

static string s_GetCubbyUserName (const string &web_cookie)
 
void GenBankReaders_Register_Pubseq2 (void)
 
void NCBI_EntryPoint_ReaderPubseqos2 (CPluginManager< objects::CReader >::TDriverInfoList &info_list, CPluginManager< objects::CReader >::EEntryPointRequest method)
 
void NCBI_EntryPoint_xreader_pubseqos2 (CPluginManager< objects::CReader >::TDriverInfoList &info_list, CPluginManager< objects::CReader >::EEntryPointRequest method)
 

Macro Definition Documentation

◆ BINARY_REQUESTS

#define BINARY_REQUESTS   1

Definition at line 65 of file reader_pubseq2.cpp.

◆ CRequestSerializer

#define CRequestSerializer   CObjectOStreamAsnBinary

Definition at line 70 of file reader_pubseq2.cpp.

◆ DEFAULT_DB_DRIVER

#define DEFAULT_DB_DRIVER   "ftds;ctlib"

Definition at line 84 of file reader_pubseq2.cpp.

◆ DEFAULT_DB_PASSWORD

#define DEFAULT_DB_PASSWORD   "allowed"

Definition at line 83 of file reader_pubseq2.cpp.

◆ DEFAULT_DB_SERVER

#define DEFAULT_DB_SERVER   "PUBSEQ_OS_PUBLIC_GI64"

Definition at line 81 of file reader_pubseq2.cpp.

◆ DEFAULT_DB_USER

#define DEFAULT_DB_USER   "anyone"

Definition at line 82 of file reader_pubseq2.cpp.

◆ DEFAULT_EXCL_WGS_MASTER

#define DEFAULT_EXCL_WGS_MASTER   false

Definition at line 87 of file reader_pubseq2.cpp.

◆ DEFAULT_NUM_CONN

#define DEFAULT_NUM_CONN   2

Definition at line 85 of file reader_pubseq2.cpp.

◆ DEFAULT_OPEN_TIMEOUT

#define DEFAULT_OPEN_TIMEOUT   20

Definition at line 89 of file reader_pubseq2.cpp.

◆ DEFAULT_TIMEOUT

#define DEFAULT_TIMEOUT   40

Definition at line 88 of file reader_pubseq2.cpp.

◆ LONG_REQUESTS

#define LONG_REQUESTS   1

Definition at line 66 of file reader_pubseq2.cpp.

◆ MAX_ASN_IN

#define MAX_ASN_IN   (20*1024)

Definition at line 76 of file reader_pubseq2.cpp.

◆ MAX_MT_CONN

#define MAX_MT_CONN   256

Definition at line 86 of file reader_pubseq2.cpp.

◆ NCBI_USE_ERRCODE_X

#define NCBI_USE_ERRCODE_X   Objtools_Rd_Pubseq2

Definition at line 91 of file reader_pubseq2.cpp.

Function Documentation

◆ GenBankReaders_Register_Pubseq2()

void GenBankReaders_Register_Pubseq2 ( void  )

◆ NCBI_EntryPoint_ReaderPubseqos2()

void NCBI_EntryPoint_ReaderPubseqos2 ( CPluginManager< objects::CReader >::TDriverInfoList &  info_list,
CPluginManager< objects::CReader >::EEntryPointRequest  method 
)

◆ NCBI_EntryPoint_xreader_pubseqos2()

void NCBI_EntryPoint_xreader_pubseqos2 ( CPluginManager< objects::CReader >::TDriverInfoList &  info_list,
CPluginManager< objects::CReader >::EEntryPointRequest  method 
)

Definition at line 717 of file reader_pubseq2.cpp.

References NCBI_EntryPoint_ReaderPubseqos2().

◆ s_GetCubbyUserName()

static string s_GetCubbyUserName ( const string web_cookie)
static
Modified on Sun Jul 14 05:00:03 2024 by modify_doxy.py rev. 669887