285 return cdd && *
this < *cdd;
292 return cdd && *
this == *cdd;
296 #define CMP_MEMBER(NAME) \
298 T##NAME v1 = Get##NAME(); \
299 T##NAME v2 = blob_id.Get##NAME(); \
300 if (v1 != v2) return v1 < v2; \
334 params.m_ServiceName,
335 params.m_PoolSoftLimit,
336 params.m_PoolAgeLimit,
337 params.m_ExcludeNucleotides)
352 if (!blob.
data)
return ret;
#define DEFAULT_CDD_POOL_AGE_LIMIT
#define DEFAULT_CDD_POOL_SOFT_LIMIT
#define DEFAULT_CDD_SERVICE_NAME
#define DEFAULT_CDD_EXCLUDE_NUCLEOTIDES
static const char * kCDDLoaderParamName
static const char * kCDDLoaderName
void DataLoaders_Register_CDD(void)
void NCBI_EntryPoint_xloader_cdd(CPluginManager< objects::CDataLoader >::TDriverInfoList &info_list, CPluginManager< objects::CDataLoader >::EEntryPointRequest method)
void NCBI_EntryPoint_DataLoader_Cdd(CPluginManager< CDataLoader >::TDriverInfoList &info_list, CPluginManager< CDataLoader >::EEntryPointRequest method)
const string kDataLoader_Cdd_DriverName("cdd")
static CSafeStatic< CRevoker > s_Revoker(CSafeStaticLifeSpan(CSafeStaticLifeSpan::eLifeLevel_AppMain, CSafeStaticLifeSpan::eLifeSpan_Long))
CRef< CID2_Blob_Id > m_Id2BlobId
TSatKey GetSatKey(void) const
bool operator==(const CBlobId &blob_id) const
string ToString(void) const
Get string representation of blob id.
bool operator<(const CBlobId &blob_id) const
TSubSat GetSubSat(void) const
TVersion GetVersion(void) const
const CID2_Blob_Id & Get(void) const
SCDDBlob GetBlobBySeq_ids(const TSeq_idSet &ids)
CCDDDataLoader_Impl(const CCDDDataLoader::SLoaderParams ¶ms)
CCDDClientPool m_ClientPool
TTSE_LockSet GetBlobBySeq_ids(const TSeq_idSet &ids, CDataSource &ds, TProcessedNAs *processed_nas)
~CCDDDataLoader_Impl(void)
TTSE_LockSet GetOrphanAnnotRecordsNA(const CSeq_id_Handle &idh, const SAnnotSelector *sel, TProcessedNAs *processed_nas) override
new Get*AnnotRecords() methods
static string GetLoaderNameFromArgs(void)
CObjectManager::TPriority GetDefaultPriority(void) const override
CRef< CCDDDataLoader_Impl > m_Impl
TTSE_LockSet GetRecords(const CSeq_id_Handle &idh, EChoice choice) override
Request from a datasource using handles and ranges instead of seq-loc The TSEs loaded in this call wi...
static TRegisterLoaderInfo RegisterInObjectManager(CObjectManager &om, CObjectManager::EIsDefault is_default=CObjectManager::eNonDefault, CObjectManager::TPriority priority=CObjectManager::kPriority_NotSet)
virtual CDataLoader * CreateAndRegister(CObjectManager &om, const TPluginManagerParamTree *params) const
virtual ~CCDD_DataLoaderCF(void)
CObjectManager::TPriority GetPriority(const TPluginManagerParamTree *params) const
CObjectManager::EIsDefault GetIsDefault(const TPluginManagerParamTree *params) const
bool ValidParams(const TPluginManagerParamTree *params) const
CTSE_LoadLock GetTSE_LoadLock(const TBlobId &blob_id)
bool IsDataLoaderMatches(CDataLoader &loader) const
@ eLifeLevel_AppMain
Destroyed in CNcbiApplication::AppMain, if possible.
void SetName(const CAnnotName &name)
void SetSeq_entry(CSeq_entry &entry, CTSE_SetObjectInfo *set_info=0)
bool IsLoaded(void) const
CTempString implements a light-weight string on top of a storage buffer whose lifetime management is ...
definition of a Culling tree
iterator_bool insert(const value_type &val)
Include a standard set of the NCBI C++ Toolkit most basic headers.
virtual void Assign(const CSerialObject &source, ESerialRecursionMode how=eRecursive)
Set object to copy of another one.
int GetInt(const string &driver_name, const string ¶m_name, EErrAction on_error, int default_value, const list< string > *synonyms=NULL)
Utility function to get an integer element of parameter tree Throws an exception when mandatory param...
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 ...
bool GetBool(const string &driver_name, const string ¶m_name, EErrAction on_error, bool default_value, const list< string > *synonyms=NULL)
Utility function to get an integer element of parameter tree Throws an exception when mandatory param...
@ eErr_NoThrow
Return default value on error.
TLoader * GetLoader(void) const
Get pointer to the loader.
static CRef< CObjectManager > GetInstance(void)
Return the existing object manager or create one.
void RevokeDataLoaders(IDataLoaderFilter &filter)
Revoke data loaders by filter, even if they were still used.
static void SetProcessedNA(const string &na, TProcessedNAs *processed_nas)
CDataSource * GetDataSource(void) const
EChoice
main blob is blob with sequence all other blobs are external and contain external annotations
EIsDefault
Flag defining if the data loader is included in the "default" group.
TRegisterInfo GetRegisterInfo(void)
static void RegisterInObjectManager(CObjectManager &om, CLoaderMaker_Base &loader_maker, CObjectManager::EIsDefault is_default, CObjectManager::TPriority priority)
Register the loader only if the name is not yet registered in the object manager.
@ kPriority_Replace
Default priority for replacement loaders.
void Reset(void)
Reset reference object.
static void NCBI_EntryPointImpl(TDriverInfoList &info_list, EEntryPointRequest method)
Entry point implementation.
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.
const TTreeType * FindSubNode(const TKeyType &key) const
Non recursive linear scan of all subnodes, with key comparison.
const TBlob_id & GetBlob_id(void) const
Get the Blob_id member data.
TSet & SetSet(void)
Select the variant.
TSeq_set & SetSeq_set(void)
Assign a value to Seq_set data member.
#define NCBI_ID2PROC_CDD_PARAM_SERVICE_NAME
#define NCBI_ID2PROC_CDD_PARAM_POOL_AGE_LIMIT
#define NCBI_ID2PROC_CDD_PARAM_POOL_SOFT_LIMIT
#define NCBI_ID2PROC_CDD_PARAM_COMPRESS_DATA
#define NCBI_ID2PROC_CDD_PARAM_EXCLUDE_NUCLEOTIDES
Helper classes and templates to implement plugins.
CRef< objects::CObjectManager > om