Go to the documentation of this file.Go to the SVN repository for this file.
36 #include <wx/treectrl.h>
77 if (!pId.IsOk())
return 0;
78 return dynamic_cast<CItem*
>(treeCtrl.GetItemData(pId));
90 if (pos > treeCtrl.GetChildrenCount(
m_TreeItemId,
false))
99 : m_TreeCtrl(treeCtrl), m_Item(item.GetTreeItemId())
108 throw std::out_of_range(
"Invalid index");
113 CChildIterator::operator
bool()
const
115 return m_Child.IsOk();
121 throw std::out_of_range(
"Invalid index");
CItem & operator*(void) const
CChildIterator(wxTreeCtrl &treeCtrl, const CItem &item)
wxTreeItemIdValue m_Cookie
CChildIterator & operator++(void)
void InsertChildItem(wxTreeCtrl &treeCtrl, CItem &ch_item, size_t pos)
void AppendChildItem(wxTreeCtrl &treeCtrl, CItem &ch_item)
wxString GetLabel(wxTreeCtrl &treeCtrl) const
static size_t m_InstanceCount
static void LogInstanceCount()
wxTreeItemId m_TreeItemId
CItem * GetParent(wxTreeCtrl &treeCtrl) const
#define LOG_POST(message)
This macro is deprecated and it's strongly recomended to move in all projects (except tests) to macro...
void Info(CExceptionArgs_Base &args)
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.