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/search__tool__base_8cpp_source.html below:

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

70  case eRegexp

:

return "eRegexp"

;

71  case eNamed

:

return "eNamed"

;

72  default

:

return "Unknown Search Pattern"

;

93

job->x_GetNewOLTModel(),

97

listener.OnSearchFinished(*res);

112  string

descr = job->GetDescr();

132  ERR_POST

(

"CSearchToolBase::StartSearch() - Failed to execute query"

);

162  ERR_POST

(

"CSearchToolBase::CancelSearch() - Failed to cancel search"

);

179  ERR_POST

(

"CSearchToolBase::OnAJNotification() - unknown Job ID "

<< job_id);

216  ERR_POST

(

"CSearchToolBase::OnProgress() - unknown Job ID "

<< job_id);

231  if

(progress &&

result

) {

232  string

s = progress->

GetText

();

298  ERR_POST

(

"CSearchToolBase::x_OnJobCompleted() notification for job " 299

<< session.

m_JobID

<<

" does not contain results."

);

312  ERR_POST

(

"CSearchToolBase::x_OnJobFailed() notification for job " 313

<< session.

m_JobID

<<

" does not have an error object"

);

CAppJobError Default implementation for IAppJobError - encapsulates a text error message.

IAppJobListener Interface for components that need to be notified about changes in Jobs.

CAppJobNotification Notification send by CAppJobEventTranslator.

CDMSearchProgress CDMSearchProgress represents the specialized progress report that may contain inter...

CRef< CDMSearchResult > m_Result

CDMSearchResult - result object delivered using job progress object.

CObjectList * GetObjectList()

const string & GetQueryDescr() const

void SetMaxSearchResult(size_t maxsr)

void SetIncomplete(bool incomplete=true)

CEvent - generic event implementation TODO TODO - Attachments.

CObjectList Data structure representing a list of CObjects with associated Scopes and other optional ...

void Append(const CObjectList &list)

adds rows from the given list, the lists must have identical sets of columns

int m_MaxResultsCount

Max possible results count.

CRef< CDMSearchResult > m_TempResult

holds temporary results, guarded by Mutex

string m_Descr

human-readable description of the Job

int m_ResultsCount

total number of results

virtual bool x_ValidateParams()=0

returns true if Job params are correct, implement in derived classes

virtual EJobState x_DoSearch()=0

performs searching, assuming that params are correct; Implement in derived classes

virtual CObjectListTableModel * x_GetNewOLTModel() const

factory method creating new column handler for CObjectListWidget

virtual ~CSearchJobBase()

CRef< CDMSearchResult > m_Result

guarded by Mutex

virtual CConstIRef< IAppJobError > GetError()

Returns IAppJobError object describing internal error that caused the Job to fail.

virtual EJobState Run()

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

virtual void x_TransferResults()

transfer data from Temp Results to Final

virtual CRef< CObject > GetResult()

Returns the Job Result.

virtual void x_SetupColumns(CObjectList &obj_list)

add custom columns if needed

CMutex m_Mutex

synchronizes access to the Job members

CRef< CAppJobError > m_Error

virtual string GetDescr() const

Returns a human readable description of the Job (optional)

virtual void x_PrepareSearch()

CSearchJobBase()

CSearchJobBase.

CObjectList m_AccList

accumulates found objects before they are transferred to m_ResultList

virtual CConstIRef< IAppJobProgress > GetProgress()

return progress object, the function shall be synchronized internally.

IDMSearchFormController - interface representing an entity that controls the lifecycle of search Form...

virtual void OnSearchProgress(CDMSearchResult &, const string &)

virtual void OnSearchCanceled()

virtual void OnSearchFinished(CDMSearchResult &)

virtual void OnSearchFailed(const string &)

IDMSearchQuery - abstract data mining query.

#define ERR_POST(message)

Error posting with file, line number information but without error codes.

#define LOG_POST(message)

This macro is deprecated and it's strongly recomended to move in all projects (except tests) to macro...

void Error(CExceptionArgs_Base &args)

void Warning(CExceptionArgs_Base &args)

void Info(CExceptionArgs_Base &args)

CConstIRef< IAppJobError > GetError() const

returns non-null pointer only if job Failed

static CAppJobDispatcher & GetInstance()

CRef< CObject > GetResult() const

returns non-null pointer only if Completed or Running and has temporary results available

bool DeleteJob(TJobID job_id)

when a Job is deleted the listener is not notified

EJobState

Job states (describe FSM)

TJobID StartJob(IAppJob &job, const string &engine_name, IEngineParams *params=NULL)

Starts a Job on the specified engine in "passive mode" - no notifications or progress reports will be...

CConstIRef< IAppJobProgress > GetProgress() const

returns non-null pointer only if notification type is eProgress

#define END_EVENT_MAP()

Ends definition of Command Map.

#define BEGIN_EVENT_MAP(thisClass, baseClass)

Begins definition of Command Map for CEventHandler-derived class.

TJobState GetState() const

virtual string GetText() const override

returns a text string describing current state

TObjectType * GetPointer(void) const THROWS_NONE

Get pointer,.

TObjectType * GetPointer(void) THROWS_NONE

Get pointer,.

void Reset(void)

Reset reference object.

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.


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