NCBI C++ ToolKit
|
Search Toolkit Book for IDMSearchTool
IDMSearchTool interface representing a single search tool in Data Mining Service. More...
#include <gui/core/dm_search_tool.hpp>
Classes | |
struct | TConversions |
struct | TFilters |
Public Types | |
enum | TUIFlagValue { eNone = 0 , eAutorun = 1 , eCache = 2 , eFilter = 4 } |
typedef int | TUIToolFlags |
typedef pair< string, string > | TFilter |
Public Member Functions | |
virtual | ~IDMSearchTool () |
virtual CIRef< IDMSearchForm > | CreateSearchForm ()=0 |
factory method for creating a form representing the tool More... | |
virtual bool | IsCompatible (IDataMiningContext *context)=0 |
retuns true if the tool is compatible with the provided Search Context More... | |
virtual bool | StartSearch (IDMSearchQuery &query, IDMSearchFormController &listener)=0 |
Starts search Job, the job is identified by the query object. More... | |
virtual bool | CancelSearch (IDMSearchFormController &listener)=0 |
virtual bool | PullSearch (IDMSearchQuery &query, IDMSearchFormController &listener)=0 |
Pulls cached result from cache if possible (true) More... | |
virtual string | GetJobDescr (IDMSearchFormController &listener)=0 |
virtual TUIToolFlags | GetFlags (void)=0 |
special flags More... | |
virtual TConversions & | GetConversions (void)=0 |
list of acceptable feat types top convert and default type More... | |
virtual const TFilters & | GetFilters (void) const =0 |
list of all tool-provided filters More... | |
virtual TFilters & | SetFilters ()=0 |
IUITool implementation | |
virtual IUITool * | Clone () const =0 |
virtual string | GetName () const =0 |
returns unique name of the method that is used in UI to identify it More... | |
virtual string | GetDescription () const =0 |
returns a detailed description of the method that is used in UI More... | |
Public Member Functions inherited from IUITool | |
virtual | ~IUITool () |
IDMSearchTool interface representing a single search tool in Data Mining Service.
The tool manages multiple Search Sessions and provides a mechanism for asynchronous parallel execution of search jobs.
Definition at line 72 of file dm_search_tool.hpp.
typedef pair<string, string> IDMSearchTool::TFilter |
Definition at line 89 of file dm_search_tool.hpp.
typedef int IDMSearchTool::TUIToolFlags |
Definition at line 82 of file dm_search_tool.hpp.
Enumerator | |
---|---|
eNone | |
eAutorun | |
eCache | |
eFilter |
Definition at line 75 of file dm_search_tool.hpp.
|
inlinevirtual |
Definition at line 96 of file dm_search_tool.hpp.
|
pure virtual |
Implemented in CSearchToolBase.
|
pure virtual |
Implements IUITool.
Implemented in CSearchToolBase, CVcfSearchTool, CSequenceSearchTool, COrfSearchTool, CFeatureSearchTool, CEntrezSearchTool, CCpgSearchTool, CComponentSearchTool, CSNPSearchTool, and CNetBLAST_DMSearchTool.
|
pure virtual |
factory method for creating a form representing the tool
Implemented in CSeqLocToolBase, CSearchToolBase, CVcfSearchTool, CSequenceSearchTool, COrfSearchTool, CFeatureSearchTool, CEntrezSearchTool, CCpgSearchTool, CComponentSearchTool, CSNPSearchTool, and CNetBLAST_DMSearchTool.
|
pure virtual |
list of acceptable feat types top convert and default type
Implemented in CSearchToolBase.
|
pure virtual |
returns a detailed description of the method that is used in UI
Implements IUITool.
Implemented in CSearchToolBase, CVcfSearchTool, CSequenceSearchTool, COrfSearchTool, CFeatureSearchTool, CEntrezSearchTool, CCpgSearchTool, CComponentSearchTool, CSNPSearchTool, and CNetBLAST_DMSearchTool.
list of all tool-provided filters
Implemented in CSearchToolBase.
|
pure virtual |
special flags
Implemented in CSequenceSearchTool, COrfSearchTool, CNetBLAST_DMSearchTool, and CSearchToolBase.
|
pure virtual |
Implemented in CSearchToolBase.
|
pure virtual |
returns unique name of the method that is used in UI to identify it
Implements IUITool.
Implemented in CSearchToolBase, CVcfSearchTool, CSequenceSearchTool, COrfSearchTool, CFeatureSearchTool, CEntrezSearchTool, CCpgSearchTool, CComponentSearchTool, CSNPSearchTool, and CNetBLAST_DMSearchTool.
Referenced by CDataMiningService::RegisterTool().
|
pure virtual |
retuns true if the tool is compatible with the provided Search Context
Implemented in CSearchToolBase, CVcfSearchTool, CSequenceSearchTool, COrfSearchTool, CFeatureSearchTool, CEntrezSearchTool, CCpgSearchTool, CComponentSearchTool, CSNPSearchTool, CNetBLAST_DMSearchTool, and CSeqLocToolBase.
Referenced by CSearchFormBase::UpdateContexts().
|
pure virtual |
Pulls cached result from cache if possible (true)
Implemented in CSearchToolBase.
|
pure virtual |
Implemented in CSearchToolBase.
|
pure virtual |
Starts search Job, the job is identified by the query object.
Implemented in CSearchToolBase.