NCBI C++ ToolKit
|
Search Toolkit Book for IUITool
IUITool represents an abstract algorithm that is bound to a UI component. More...
#include <gui/widgets/wx/ui_tool.hpp>
Public Member Functions | |
virtual | ~IUITool () |
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... | |
IUITool represents an abstract algorithm that is bound to a UI component.
IUITool has a unique Name that identifies the algorithm and Description that can contain provide detailed information. Both Name and Description are supposed to be human-readable so that they can be used in UI. IUITool serves as a base class for the hierarchy of interfaces representing various types of algorithms such as alignment scoring methods, functions calculated along the sequence, search methods etc.
Definition at line 58 of file ui_tool.hpp.
|
inlinevirtual |
Definition at line 61 of file ui_tool.hpp.
|
pure virtual |
Implemented in CNonSynonymousScoringMethod, CSearchToolBase, IDMSearchTool, CVcfSearchTool, CSequenceSearchTool, COrfSearchTool, CFeatureSearchTool, CEntrezSearchTool, CCpgSearchTool, CComponentSearchTool, CMatrixScoringMethod, CColumnScoringMethod, CColorTableMethod, CTestSeqBasedMethod, CSNPScoringMethod, CSimpleScoringMethod, CConservationScoringMethod, CQualityScoringMethodAA, CQualityScoringMethodNA, CSNPSearchTool, and CNetBLAST_DMSearchTool.
Referenced by CUIToolRegistry::CreateToolInstance(), and CUIToolRegistry::x_ReadToolInfo().
|
pure virtual |
returns a detailed description of the method that is used in UI
Implemented in CNonSynonymousScoringMethod, CSearchToolBase, IDMSearchTool, CVcfSearchTool, CSequenceSearchTool, COrfSearchTool, CFeatureSearchTool, CEntrezSearchTool, CCpgSearchTool, CComponentSearchTool, CTestSeqBasedMethod, CSNPScoringMethod, CSimpleScoringMethod, CTemplateScoringMethod, CConservationScoringMethod, CQualityScoringMethod, CSNPSearchTool, and CNetBLAST_DMSearchTool.
|
pure virtual |
returns unique name of the method that is used in UI to identify it
Implemented in CNonSynonymousScoringMethod, CSearchToolBase, IDMSearchTool, CVcfSearchTool, CSequenceSearchTool, COrfSearchTool, CFeatureSearchTool, CEntrezSearchTool, CCpgSearchTool, CComponentSearchTool, CTestSeqBasedMethod, CSNPScoringMethod, CSimpleScoringMethod, CTemplateScoringMethod, CConservationScoringMethod, CQualityScoringMethodAA, CQualityScoringMethodNA, CSNPSearchTool, and CNetBLAST_DMSearchTool.
Referenced by CScoringMethodsDlg::CreateControls(), CScoreMethodsDlg::Init(), CUIToolRegistry::RegisterTool(), CAlnMultiWidget::x_GetCurrentMethodName(), CSGAlignmentDS::x_InitScoringMethods(), and CUIToolRegistry::x_ReadToolInfo().