A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/prefetch__seq__descr_8cpp_source.html below:

NCBI C++ ToolKit: src/gui/core/prefetch_seq_descr.cpp Source File

59

:

CAppJob

(

"Retrieving sequence descriptions"

)

75  typedef

vector< CConstRef<CSeq_id> > TSeqIds;

78  const string

target_type =

"Seq-id"

;

89  const CObject

* obj = obj_iter->GetPointer();

93

seq_ids.emplace_back(seq_id);

111  if

(relations.size() > 1 && itr == relations.begin()){

127  const CSeq_id

* seq_id =

dynamic_cast<const CSeq_id

*

>

(rlt_iter->GetObjectPtr());

130

seq_ids.emplace_back(seq_id);

139  _TRACE

(

"Get sequence title, extract seq-ids time: "

<<

sw

.

Elapsed

());

148

return a->GetSeqIdString() < b->GetSeqIdString();

151

seq_ids.erase(unique(seq_ids.begin(), seq_ids.end(),

153

return a->GetSeqIdString() == b->GetSeqIdString();

156

total_ids = seq_ids.size();

158  ITERATE

(TSeqIds, id_iter, seq_ids) {

165  if

((

i

% 50) == 0) {

166  string msg

=

"Retrieving descriptions: "

;

171  if

((

i

% 100) == 0) {

191  if

(!clone)

continue

;

203  "Retrieving sequence descriptions"

, 5,

"ObjManagerEngine"

, 2

));

User-defined methods of the data storage class.

CAppJobTask CAppJobTask is an adapter that allows for running IAppJobs as Tasks in App Task Service.

CAppJob - default implementation of IAppJob that could be used as a base class.

CAppTaskService - Application Task Service.

vector< TRelation > TRelationVector

static void FindRelations(objects::CScope &scope, const CObject &obj, const string &to_type_in, TRelationVector &relations)

static void PrefetchSeqDescr(IServiceLocator *serviceLocator, const vector< CRef< objects::CProjectItem > > &items)

vector< SObject > TObjects

virtual string GetProperty(const string &) const

virtual void GetRelated(objects::CScope &scope, const CObject &obj, TObjects &related, TFlags flags=eDefault, ICanceled *cancel=NULL) const =0

@ fConvert_NoExpensive

do not perform any expensive tests (such as fetching from the network)

CSeqDescrRetrievalJob - class.

virtual EJobState Run()

Function that does all the useful work, called by the Engine.

CSeqDescrRetrievalJob(const TConstObjects &objs)

Base class for all serializable objects.

IServiceLocator - an abstract mechanism for locating services.

#define ITERATE(Type, Var, Cont)

ITERATE macro to sequence through container elements.

#define NON_CONST_ITERATE(Type, Var, Cont)

Non constant version of ITERATE macro.

void Info(CExceptionArgs_Base &args)

CIRef< T > GetServiceByType()

retrieves a typed reference to a service, the name of C++ type is used as the name of the service.

void AddTask(IAppTask &task)

Add a task to the queue.

static bool IsVDBAccession(const string &acc)

Check if string starts with ("SRA", "SRR", "DRR", "ERR")

ICanceled * x_GetICanceled()

static void AddCaches(const map< TGi, string > &caches)

vector< CConstRef< CObject > > TConstObjects

virtual bool IsCanceled() const override

static void CacheSeqId(const objects::CSeq_id &id, objects::CScope *scope)

Generate and cache description label for the specified gi.

EJobState

Job states (describe FSM)

virtual void x_SetStatusText(const string &text)

virtual const CTypeInfo * GetThisTypeInfo(void) const =0

string GetSeqIdString(bool with_version=false) const

Return seqid string with optional version for text seqid type.

static CRef< CObjectManager > GetInstance(void)

Return the existing object manager or create one.

void AddDefaults(TPriority pri=kPriority_Default)

Add default data loaders from object manager.

void ResetDataAndHistory(void)

Clear all information in the scope except added data loaders.

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

static string SizetToString(size_t value, TNumToStringFlags flags=0, int base=10)

Convert size_t to string.

double Restart(void)

Return time elapsed since first Start() or last Restart() call (in seconds).

double Elapsed(void) const

Return time elapsed since first Start() or last Restart() call (in seconds).

void Start(void)

Start the timer.

TObjectPtr Create(CObjectMemoryPool *memoryPool=0) const

Create object of this type on heap (can be deleted by operator delete)

constexpr auto sort(_Init &&init)

void copy(Njn::Matrix< S > *matrix_, const Njn::Matrix< T > &matrix0_)

static SLJIT_INLINE sljit_ins msg(sljit_gpr r, sljit_s32 d, sljit_gpr x, sljit_gpr b)


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