SetMaximumConnections(1);
69 const string& driver_name)
92 voids_LogFunc(
intseverity,
char*
msg)
118 ERR_POST_ONCE(
"This app is using deprecated OM++ reader gicache. Please remove it from your configuration.");
121 if(
CFile(index).IsDir() ) {
123 #if defined(DEFAULT_64BIT_SUFFIX) && SIZEOF_VOIDP > 4 178 if( seq_id.
IsGi() ) {
198 ": \""<<
buffer<<
"\"");
273objects::CReader* drv = 0;
279drv =
newobjects::CGICacheReader(params, driver);
Class factory for ID1 reader.
objects::CReader * CreateInstance(const string &driver=kEmptyStr, CVersionInfo version=NCBI_INTERFACE_VERSION(objects::CReader), const TPluginManagerParamTree *params=0) const
Create instance of TDriver.
CSimpleClassFactoryImpl< objects::CReader, objects::CGICacheReader > TParent
bool MayBeSkippedOnErrors(void) const
int GetRetryCount(void) const
virtual void x_DisconnectAtSlot(TConn conn, bool failed)
int GetMaximumConnectionsLimit(void) const
virtual bool LoadStringSeq_ids(CReaderRequestResult &result, const string &seq_id)
virtual bool LoadSeq_idSeq_ids(CReaderRequestResult &result, const CSeq_id_Handle &seq_id)
virtual void x_AddConnectionSlot(TConn conn)
virtual bool LoadBlobVersion(CReaderRequestResult &result, const TBlobId &blob_id)
virtual void x_RemoveConnectionSlot(TConn conn)
virtual void x_ConnectAtSlot(TConn conn)
virtual bool LoadSeq_idAccVer(CReaderRequestResult &result, const CSeq_id_Handle &seq_id)
virtual bool LoadBlob(CReaderRequestResult &result, const CBlob_id &blob_id)
virtual bool LoadBlobState(CReaderRequestResult &result, const TBlobId &blob_id)
bool SetLoadedAccVer(const TData &data)
Template class helps to implement one driver class factory.
definition of a Culling tree
int GICache_ReadData(const char *prefix)
void GICache_SetLogEx(void(*logfunc)(int severity, char *msg))
int GICache_GetAccession(int64_t gi, char *acc, int buf_len)
#define DEFAULT_GI_CACHE_PREFIX
constexpr size_t ArraySize(const Element(&)[Size])
#define ERR_POST_ONCE(message)
Error posting only once during program execution.
#define ERR_POST(message)
Error posting with file, line number information but without error codes.
EDiagSev
Severity level for the posted diagnostics.
@ eDiag_Info
Informational message.
@ eDiag_Error
Error message.
@ eDiag_Warning
Warning message.
@ eDiag_Fatal
Fatal error â guarantees exit(or abort)
@ eDiag_Critical
Critical error message.
static string MakePath(const string &dir=kEmptyStr, const string &base=kEmptyStr, const string &ext=kEmptyStr)
Assemble a path from basic components.
string GetString(const string &driver_name, const string ¶m_name, EErrAction on_error, const string &default_value, const list< string > *synonyms=NULL)
Utility function to get an element of parameter tree Throws an exception when mandatory parameter is ...
@ eErr_NoThrow
Return default value on error.
static CSeq_id_Handle GetHandle(const CSeq_id &id)
Normal way of getting a handle, works for any seq-id.
static void NCBI_EntryPointImpl(TDriverInfoList &info_list, EEntryPointRequest method)
Entry point implementation.
#define NCBI_INTERFACE_VERSION(iface)
Macro to construct CVersionInfo class using interface name (relies on CInterfaceVersion class)
list< SDriverInfo > TDriverInfoList
List of driver information.
EEntryPointRequest
Actions performed by the entry point.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define END_SCOPE(ns)
End the previously defined scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define BEGIN_SCOPE(ns)
Define a new scope.
@ eNonCompatible
major, minor does not match
const string version
version string
Helper classes and templates to implement plugins.
void GenBankReaders_Register_GICache(void)
#define DEFAULT_GI_CACHE_PATH
void NCBI_EntryPoint_GICacheReader(CPluginManager< objects::CReader >::TDriverInfoList &info_list, CPluginManager< objects::CReader >::EEntryPointRequest method)
void NCBI_EntryPoint_xreader_gicache(CPluginManager< objects::CReader >::TDriverInfoList &info_list, CPluginManager< objects::CReader >::EEntryPointRequest method)
#define NCBI_GBLOADER_READER_GICACHE_PARAM_PATH_NAME
#define NCBI_GBLOADER_READER_GICACHE_DRIVER_NAME
static SLJIT_INLINE sljit_ins msg(sljit_gpr r, sljit_s32 d, sljit_gpr x, sljit_gpr b)
Better replacement of GetAccVer(), this method should be defined in data loaders, GetAccVer() is left...
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4