1 #ifndef GUI_WIDGETS___TAX_TREE__HPP
2 #define GUI_WIDGETS___TAX_TREE__HPP
49 #include <wx/treectrl.h>
98 const wxPoint& pos,
const wxSize&
size,
99 long style,
const wxValidator& validator,
100 const wxString& name);
103 const wxPoint& pos,
const wxSize&
size,
141 void x_PopulateTree(wxTreeItemId node, TTaxTree*
tree);
144 void x_GetName(TTaxTree& node,
string&
str)
const;
147 size_t x_CountNodes(TTaxTree& node)
const;
wxTaxTreeData(TTaxTree *item)
class CTaxTreeBrowser implements a tree-based view of a taxonomic hierarchy.
CTaxTreeBrowser & operator=(const CTaxTreeBrowser &)
CTaxTreeBrowser(const CTaxTreeBrowser &)
forbidden
IReporter * m_Reporter
our reporter interface
CRef< CTaxTreeDataSource > m_DataSource
the data source we use
CTreeNode< STaxInfo > TTaxTree
unique_ptr< TTaxTree > m_TaxTree
CTaxTreeDataSource::EDisplayMode m_DispMode
display mode
CTaxTreeDataSource::TTaxMap TTaxMap
typedef for a map of tax-id to UID vector.
definition of a Culling tree
GUI command routing and handling framework.
Workaround for wxWidgets header errors in certain configurations; MUST be included (at least indirect...
static const char * str(char *buf, int n)
vector< CConstRef< CObject > > TConstObjects
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_GUIWIDGETS_TAXTREE_EXPORT
const struct ncbi::grid::netcache::search::fields::SIZE size
Portable reference counted smart and weak pointers using CWeakRef, CRef, CObject and CObjectEx.
our internal tree structure
CTaxTreeDataSource::TUidVec uids
const objects::ITaxon1Node * tax_node
CRef< CTaxTreeDataSource > data_source