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

NCBI C++ ToolKit: CClickableSortUniqueCount Class Reference

Search Toolkit Book for CClickableSortUniqueCount

#include <gui/packages/pkg_sequence_edit/csuc_frame.hpp>

  CClickableSortUniqueCount ()   Constructors. More...
    CClickableSortUniqueCount (wxWindow *parent, IWorkbench *wb, wxWindowID id=17000, const wxString &caption=_("Clickable Sort Unique Count"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(800, 600), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX)   bool  Create (wxWindow *parent, wxWindowID id=17000, const wxString &caption=_("Clickable Sort Unique Count"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(800, 600), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX)   virtual  ~CClickableSortUniqueCount ()   Destructor. More...
  void  Init ()   Initialises member variables. More...
  void  CreateControls ()   Creates the controls and sizers. More...
  void  OnChildFocus (wxChildFocusEvent &evt)   void  OnRefresh (wxCommandEvent &event)   void  OnDismiss (wxCommandEvent &event)   void  OnExpand (wxCommandEvent &event)   void  OnCollapse (wxCommandEvent &event)   void  OnTreeSelectionChanged (wxTreeEvent &event)   void  OnTreeItemActivated (wxTreeEvent &event)   void  OnListItemSelected (wxListEvent &event)   void  OnListItemActivated (wxListEvent &event)   void  OnDataChanged (CEvent *evt)   wxBitmap  GetBitmapResource (const wxString &name)   Retrieves bitmap resources. More...
  wxIcon  GetIconResource (const wxString &name)   Retrieves icon resources. More...
  virtual void  OnJobResult (CObject *result, CJobAdapter &adapter)   virtual void  OnJobFailed (const string &, CJobAdapter &adapter)    Public Member Functions inherited from CEventHandler   CEventHandler ()   CEventHandler. More...
  virtual  ~CEventHandler ()   virtual void  AddListener (CEventHandler *listener, int pool_name=ePool_Default)   Add a listener. More...
  virtual void  RemoveListener (CEventHandler *listener)   Remove a listener. More...
  virtual void  RemoveAllListeners (void)   virtual bool  HasListener (CEventHandler *listener, int pool_name=ePool_Default) const   returns "true" if the given listener belongs to the specified pool More...
  virtual const TListenersGetListeners (int pool_name=ePool_Default) const   returns a set of listeners fro the specified pool More...
  virtual bool  OnEvent (CEvent *evt)   Processes en event. Returns "true" if event has been processed. More...
  virtual bool  Dispatch (CEvent *evt, EDispatch disp_how=eDispatch_Default, int pool_name=ePool_Default)   Dispatches an event to the listeners (but does not handle it). More...
  virtual bool  Send (CEvent *evt, EDispatch disp_how=eDispatch_Default, int pool_name=ePool_Default)   Sends an event synchronously. More...
  virtual bool  Send (CEvent *evt, int pool_name)   void  Post (CRef< CEvent > evt, EDispatch disp_how=eDispatch_Default, int pool_name=ePool_Default)   Handles an event asynchronously (process and/or dispatch). More...
  virtual  ~IJobCallback ()    Public Types inherited from CEventHandler enum   EDispatch { eDispatch_SelfOnly , eDispatch_AllHandlers , eDispatch_FirstHandler , eDispatch_Default = eDispatch_AllHandlers }   enum controlling dispatching strategies More...
  enum   EPoolName {
  ePool_Default = 0 , ePool_Parent , ePool_Child , ePool_Sibling ,
  ePool_NextAvailable
}   Identifiers for standard pools. More...
  typedef vector< CEventHandler * >  TListeners   typedef map< int, TListenersTPools   typedef list< AutoPtr< SPostRequest > >  TPostRequests   typedef std::map< CEventHandler *, intTHandlerToCount   typedef void(*  FOnPostCallback) ()    Protected Member Functions inherited from CEventHandler virtual const SEvtMapGetEventMap () const   void  x_DeclareDead ()   Removes itself unavailable for async event delivery. More...
  void  x_AddListenerToPool (CEventHandler *listener, int pool_name)    Protected Attributes inherited from CEventHandler TPools  m_Pools    Static Protected Attributes inherited from CEventHandler static const SEvtMap  sm_EvtMap  

CClickableSortUniqueCount class declaration

Definition at line 88 of file csuc_frame.hpp.

◆ CClickableSortUniqueCount() [1/2] CClickableSortUniqueCount::CClickableSortUniqueCount ( ) ◆ CClickableSortUniqueCount() [2/2] CClickableSortUniqueCount::CClickableSortUniqueCount ( wxWindow *  parent, IWorkbenchwb, wxWindowID  id = 17000, const wxString &  caption = _("Clickable Sort Unique Count"), const wxPoint &  pos = wxDefaultPosition, const wxSize &  size = wxSize(800, 600), long  style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX  ) ◆ ~CClickableSortUniqueCount() CClickableSortUniqueCount::~CClickableSortUniqueCount ( ) virtual ◆ AddToBulkEditList()

Definition at line 679 of file csuc_frame.cpp.

References CSeq_inst_Base::eMol_na, map_checker< Container >::end(), CSeqFeatData::eSubtype_biosrc, CSeqFeatData::eSubtype_cdregion, CSeqFeatData::eSubtype_gene, CSeqFeatData::eSubtype_rRNA, f, map_checker< Container >::find(), CScope::GetBioseqHandle(), CConstRef< C, Locker >::GetPointer(), CSUCLine::GetRelatedObject(), CSUCLine::GetRelatedObjectCount(), CScope::GetSeq_featHandle(), GetSeqEntryForSeqdesc(), i, CSeqdesc_Base::IsSource(), m_item_to_line, m_Scope, and rna.

Referenced by OnTreeItemActivated().

◆ AddToListCtrl() void CClickableSortUniqueCount::AddToListCtrl ( wxTreeItemId &  id ) private

Definition at line 564 of file csuc_frame.cpp.

References b, map_checker< Container >::end(), f, map_checker< Container >::find(), CConstRef< C, Locker >::GetPointer(), CSUCLine::GetRelatedObject(), CSUCLine::GetRelatedObjectAccession(), CSUCLine::GetRelatedObjectCount(), GetTextObjectDescription(), i, m_CurLines, m_item_to_line, m_ListCtrl, m_Scope, and text().

Referenced by OnTreeSelectionChanged().

◆ ClearListCtrl() void CClickableSortUniqueCount::ClearListCtrl ( void  ) private ◆ ConnectListener() void CClickableSortUniqueCount::ConnectListener ( ) private ◆ Create() bool CClickableSortUniqueCount::Create ( wxWindow *  parent, wxWindowID  id = 17000, const wxString &  caption = _("Clickable Sort Unique Count"), const wxPoint &  pos = wxDefaultPosition, const wxSize &  size = wxSize(800, 600), long  style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX  ) ◆ CreateControls() void CClickableSortUniqueCount::CreateControls ( )

Creates the controls and sizers.

Definition at line 182 of file csuc_frame.cpp.

References _, ID_CCLICKABLESORTUNIQUECOUNT_COLLAPSE, ID_CCLICKABLESORTUNIQUECOUNT_DISMISS, ID_CCLICKABLESORTUNIQUECOUNT_EXPAND, ID_CCLICKABLESORTUNIQUECOUNT_PANEL, ID_CCLICKABLESORTUNIQUECOUNT_REFRESH, ID_CCLICKABLESORTUNIQUECOUNT_TEXTCTRL, ID_CCLICKABLESORTUNIQUECOUNT_TREECTRL, LoadData(), m_ListCtrl, m_StatusText, m_TreeCtrl, and wxT.

Referenced by Create().

◆ DECLARE_EVENT_MAP() CClickableSortUniqueCount::DECLARE_EVENT_MAP ( ) private ◆ DisconnectListener() void CClickableSortUniqueCount::DisconnectListener ( ) private ◆ GetBitmapResource() wxBitmap CClickableSortUniqueCount::GetBitmapResource ( const wxString &  name ) ◆ GetExpandedNodes() void CClickableSortUniqueCount::GetExpandedNodes ( wxTreeItemId  id, set< string > &  expanded_nodes  ) private ◆ GetIconResource() wxIcon CClickableSortUniqueCount::GetIconResource ( const wxString &  name ) ◆ Init() void CClickableSortUniqueCount::Init ( void  ) ◆ LoadData() void CClickableSortUniqueCount::LoadData ( void  ) private

Definition at line 263 of file csuc_frame.cpp.

References _, _ASSERT, CJobAdapter::Cancel(), map_checker< Container >::clear(), ClearListCtrl(), DisconnectListener(), Error(), IServiceLocator::GetServiceByType(), CGBDocument::GetUndoManager(), GetViewObjects(), LOG_POST, m_FlatFileCtrl, m_IsBusy, m_item_to_line, m_JobAdapter, m_Scope, m_SelectionClient, m_SelectionClientAttached, m_StatusText, m_TreeCtrl, m_TreeDeleteAllItemsFlag, m_Workbench, CRef< C, Locker >::Reset(), CSelectionClient::SetSelectedObjects(), and CJobAdapter::Start().

Referenced by CreateControls(), and OnRefresh().

◆ OnChildFocus() void CClickableSortUniqueCount::OnChildFocus ( wxChildFocusEvent &  evt ) ◆ OnCollapse() void CClickableSortUniqueCount::OnCollapse ( wxCommandEvent &  event ) ◆ OnDataChanged() void CClickableSortUniqueCount::OnDataChanged ( CEventevt ) ◆ OnDismiss() void CClickableSortUniqueCount::OnDismiss ( wxCommandEvent &  event )

Definition at line 371 of file csuc_frame.cpp.

◆ OnExpand() void CClickableSortUniqueCount::OnExpand ( wxCommandEvent &  event ) ◆ OnJobFailed() ◆ OnJobResult()

Implements CJobAdapter::IJobCallback.

Definition at line 821 of file csuc_frame.cpp.

References _, ConnectListener(), IServiceLocator::GetServiceByType(), m_IsBusy, m_SelectionClient, m_SelectionClientAttached, m_StatusText, m_Workbench, CRef< C, Locker >::Reset(), result, and UpdateTree().

◆ OnListItemActivated() void CClickableSortUniqueCount::OnListItemActivated ( wxListEvent &  event )

Definition at line 751 of file csuc_frame.cpp.

References cmd, CreateEditorForObject(), CScope::eAllTSEs, ICommandProccessor::Execute(), f, CScope::GetAllTSEs(), CScope::GetBioseqHandle(), CConstRef< C, Locker >::GetPointer(), CBioseq_Handle::GetSeq_entry_Handle(), GetSeqEntryForSeqdesc(), IServiceLocator::GetServiceByType(), CGBDocument::GetUndoManager(), m_CurLines, m_Scope, m_Workbench, CEditObjViewDlgModal::SetEditor(), and CEditObjViewDlgModal::SetEditorWindow().

◆ OnListItemSelected() void CClickableSortUniqueCount::OnListItemSelected ( wxListEvent &  event ) ◆ OnRefresh() void CClickableSortUniqueCount::OnRefresh ( wxCommandEvent &  event ) ◆ OnTreeItemActivated() void CClickableSortUniqueCount::OnTreeItemActivated ( wxTreeEvent &  event )

Definition at line 604 of file csuc_frame.cpp.

References AddToBulkEditList(), cmd, ICommandProccessor::Execute(), CBulkCDS::GetCommand(), CBulkGene::GetCommand(), CBulkRna::GetCommand(), SrcEditDialog::GetCommand(), IServiceLocator::GetServiceByType(), CGBDocument::GetUndoManager(), m_Scope, m_TreeCtrl, m_Workbench, NULL, rna, ToWxString(), and wxT.

◆ OnTreeSelectionChanged() void CClickableSortUniqueCount::OnTreeSelectionChanged ( wxTreeEvent &  event )

Definition at line 503 of file csuc_frame.cpp.

References AddToListCtrl(), ClearListCtrl(), map_checker< Container >::end(), map_checker< Container >::find(), CSeq_id::fParse_Default, CSUCLine::GetAccession(), CScope::GetBioseqHandle(), CSUCLine::GetCount(), CSUCLine::GetRelatedObject(), CSUCLine::GetRelatedObjectCount(), m_FlatFileCtrl, m_item_to_line, m_ListCtrl, m_Scope, m_SelectionClient, m_SelectionClientAttached, m_TreeCtrl, m_TreeDeleteAllItemsFlag, and CSelectionClient::SetSelectedObjects().

◆ SetExpandedNodes() void CClickableSortUniqueCount::SetExpandedNodes ( wxTreeItemId  id, const set< string > &  expanded_nodes  ) private ◆ ShowToolTips() bool CClickableSortUniqueCount::ShowToolTips ( ) static ◆ UpdateTree()

Definition at line 429 of file csuc_frame.cpp.

References blocks, map_checker< Container >::clear(), ClearListCtrl(), CFlatFileConfig::fGenbankBlocks_Featheader, CSUCBlock::GetBlockLabel(), CSUCResults::GetBlocks(), GetExpandedNodes(), CSUCResults::GetOrder(), NStr::IsBlank(), label, m_item_to_line, m_TreeCtrl, m_TreeDeleteAllItemsFlag, SetExpandedNodes(), str(), text(), and NStr::TruncateSpacesInPlace().

Referenced by OnJobFailed(), and OnJobResult().

◆ m_CurLines vector<pair<CRef<CSUCLine>, size_t> > CClickableSortUniqueCount::m_CurLines private ◆ m_FlatFileCtrl ◆ m_IsBusy bool CClickableSortUniqueCount::m_IsBusy private ◆ m_item_to_line map<wxTreeItemId, CRef<CSUCLine> > CClickableSortUniqueCount::m_item_to_line private ◆ m_JobAdapter ◆ m_ListCtrl wxListCtrl* CClickableSortUniqueCount::m_ListCtrl private ◆ m_Scope ◆ m_SelectionClient ◆ m_SelectionClientAttached bool CClickableSortUniqueCount::m_SelectionClientAttached private ◆ m_StatusText wxStaticText* CClickableSortUniqueCount::m_StatusText private ◆ m_TreeCtrl wxTreeCtrl* CClickableSortUniqueCount::m_TreeCtrl private ◆ m_TreeDeleteAllItemsFlag bool CClickableSortUniqueCount::m_TreeDeleteAllItemsFlag private ◆ m_Workbench IWorkbench* CClickableSortUniqueCount::m_Workbench private

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