Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/classCSearchFormBase.html below:
NCBI C++ ToolKit: CSearchFormBase Class Reference
Search Toolkit Book for CSearchFormBase
CSearchFormBase. More...
#include <gui/core/search_form_base.hpp>
CSearchFormBase () CSearchFormBase. More...
virtual ~CSearchFormBase () virtual void SetController (IDMSearchFormController *controller) virtual IDMSearchTool * x_GetTool ()=0 virtual wxSizer * GetWidget (wxWindow *parent) return a widget associated with the form; the form controls the lifetime of the widget (do not delete the widget) More...
virtual CIRef< IDMSearchQuery > ConstructQuery () virtual void UpdateContexts () updates m_ContextCombo More...
void UpdateContextCombo (wxChoice *combo) virtual void PopupADialog (TDialogType dt) TODO this function should be here - it should be move the the form that needs this dialog. More...
virtual void SetDictionary (list< string > *ddd) virtual void Push () virtual void SetRangeLimit (bool bLimit) virtual string GetMainValue () get/set main search value, this is separate from settings More...
virtual void SetMainValue (string val) virtual void SetRegistryPath (const string ®_path) virtual void LoadSettings () virtual void SaveSettings () const CObjectEx (void) virtual ~CObjectEx (void) CObject (void) Constructor. More...
CObject (const CObject &src) Copy constructor. More...
virtual ~CObject (void) Destructor. More...
CObject & operator= (const CObject &src) THROWS_NONE Assignment operator. More...
bool CanBeDeleted (void) const THROWS_NONE Check if object can be deleted. More...
bool IsAllocatedInPool (void) const THROWS_NONE Check if object is allocated in memory pool (not system heap) More...
bool Referenced (void) const THROWS_NONE Check if object is referenced. More...
bool ReferencedOnlyOnce (void) const THROWS_NONE Check if object is referenced only once. More...
void AddReference (void) const Add reference to object. More...
void RemoveReference (void) const Remove reference to object. More...
void ReleaseReference (void) const Remove reference without deleting object. More...
virtual void DoNotDeleteThisObject (void) Mark this object as not allocated in heap – do not delete this object. More...
virtual void DoDeleteThisObject (void) Mark this object as allocated in heap – object can be deleted. More...
void * operator new (size_t size) Define new operator for memory allocation. More...
void * operator new[] (size_t size) Define new[] operator for 'array' memory allocation. More...
void operator delete (void *ptr) Define delete operator for memory deallocation. More...
void operator delete[] (void *ptr) Define delete[] operator for memory deallocation. More...
void * operator new (size_t size, void *place) Define new operator. More...
void operator delete (void *ptr, void *place) Define delete operator. More...
void * operator new (size_t size, CObjectMemoryPool *place) Define new operator using memory pool. More...
void operator delete (void *ptr, CObjectMemoryPool *place) Define delete operator. More...
virtual void DebugDump (CDebugDumpContext ddc, unsigned int depth) const Define method for dumping debug information. More...
CDebugDumpable (void) virtual ~CDebugDumpable (void) void DebugDumpText (ostream &out, const string &bundle, unsigned int depth) const void DebugDumpFormat (CDebugDumpFormatter &ddf, const string &bundle, unsigned int depth) const void DumpToConsole (void) const CWeakObject (void) virtual ~CWeakObject (void) CPtrToObjectProxy * GetPtrProxy (void) const Get pointer to proxy object containing pointer to this object. More...
virtual ~IDMSearchForm () virtual void Create () virtual void Init () virtual void Update ()=0 virtual bool IsRunning () const the tool associated with the form is running More...
virtual string GetCurrentModeKey () return a section name for the current mode or "" More...
virtual ~IRegSettings () ◆ TContexts ◆ TFeatTypeItem ◆ TFeatTypeItemSet ◆ TMRUInputs ◆ TNameToType ◆ TPatternType ◆ CSearchFormBase() [1/2] CSearchFormBase::CSearchFormBase ( ) ◆ ~CSearchFormBase() ◆ CSearchFormBase() [2/2] ◆ ConstructQuery() ◆ GetMainValue() string CSearchFormBase::GetMainValue ( ) virtual ◆ GetWidget() wxSizer * CSearchFormBase::GetWidget ( wxWindow * ) virtual ◆ LoadSettings() void CSearchFormBase::LoadSettings ( ) virtual ◆ operator=() ◆ PopupADialog() ◆ Push() void CSearchFormBase::Push ( ) virtual ◆ SaveSettings() void CSearchFormBase::SaveSettings ( ) const virtual ◆ SetController() ◆ SetDictionary() void CSearchFormBase::SetDictionary ( list< string > * ddd ) virtual ◆ SetMainValue() void CSearchFormBase::SetMainValue ( string val ) virtual ◆ SetRangeLimit() void CSearchFormBase::SetRangeLimit ( bool bLimit ) virtual ◆ SetRegistryPath() void CSearchFormBase::SetRegistryPath ( const string & reg_path ) virtual ◆ UpdateContextCombo() void CSearchFormBase::UpdateContextCombo ( wxChoice * combo )
Definition at line 241 of file search_form_base.cpp.
References IDataMiningContext::GetDMContextName(), i, m_ActiveContext, m_Contexts, NStr::SizetToString(), ToWxString(), and wxT.
Referenced by CComponentSearchForm::Update(), CCpgSearchForm::Update(), CFeatureSearchForm::Update(), COrfSearchForm::Update(), CSequenceSearchForm::Update(), and CVcfSearchForm::Update().
◆ UpdateContexts() void CSearchFormBase::UpdateContexts ( ) virtual
updates m_ContextCombo
Implements IDMSearchForm.
Reimplemented in CVcfSearchForm, CSequenceSearchForm, CFeatureSearchForm, CEntrezSearchForm, CCpgSearchForm, CComponentSearchForm, CSNPSearchForm, and CNetBLAST_DMSearchForm.
Definition at line 186 of file search_form_base.cpp.
References ctx, CRef< C, Locker >::Empty(), CDataMiningService::GetContexts(), IDMSearchFormController::GetDataMiningService(), CDataMiningService::GetLastActiveContext(), ISeqLocSearchContext::GetSearchLoc(), i, IDMSearchTool::IsCompatible(), ITERATE, m_ActiveContext, m_Contexts, m_Controller, ok, IDMSearchFormController::OnSearchEnabled(), and x_GetTool().
Referenced by CNetBLAST_DMSearchForm::UpdateContexts(), CSNPSearchForm::UpdateContexts(), CComponentSearchForm::UpdateContexts(), CCpgSearchForm::UpdateContexts(), CEntrezSearchForm::UpdateContexts(), CFeatureSearchForm::UpdateContexts(), CSequenceSearchForm::UpdateContexts(), and CVcfSearchForm::UpdateContexts().
◆ x_GetTool() ◆ x_LoadSettings() ◆ x_SaveSettings() ◆ m_ActiveContext ◆ m_bRange bool CSearchFormBase::m_bRange protected ◆ m_Contexts ◆ m_Controller ◆ m_FeatTypesSet ◆ m_Input ◆ m_RegPath string CSearchFormBase::m_RegPath protected ◆ m_Sizer wxSizer* CSearchFormBase::m_Sizer protected ◆ m_Text
Definition at line 110 of file search_form_base.hpp.
Referenced by CSNPSearchForm::ConstructQuery(), CComponentSearchForm::ConstructQuery(), CEntrezSearchForm::ConstructQuery(), CFeatureSearchForm::ConstructQuery(), CSequenceSearchForm::ConstructQuery(), CVcfSearchForm::ConstructQuery(), GetMainValue(), CSNPSearchForm::GetWidget(), CComponentSearchForm::GetWidget(), CEntrezSearchForm::GetWidget(), CFeatureSearchForm::GetWidget(), CSequenceSearchForm::GetWidget(), CVcfSearchForm::GetWidget(), Push(), SetDictionary(), and SetMainValue().
The documentation for this class was generated from the following files:
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