30 namespace creaImageIO{
32 Comparator::Comparator(tree::Node *i_tree, std::string i_tag) : m_discr(i_tag): bdiscr(false)
34 std::map< std::string, std::string> attr;
35 i_tree->GetDescriptor().BuildAttributeMap(attr);
36 std::map<std::string, std::string>::iterator it_att = attr.begin();
37 for(; it_att != attr.end(); it_att++)
39 if (it_att->first == m_discr)
45 tree::Node::ChildrenListType::reverse_iterator j;
46 for (j = (*i)->GetChildrenList().rbegin();
47 j!= (*i)->GetChildrenList().rend();
57 item.SetMask(wxLIST_MASK_STATE |
65 ItemData* data =
new ItemData();
73 GetCtrl(l)->InsertItem(item);
76 for (
int k=0; k<GetCtrl(l)->GetColumnCount(); ++k)
83 val = (*j)->GetAttribute(
"NumberOfChildren");
86 val = (*j)->GetAttribute(mLevelList[l].key[k]);