1 class TreeMultiItemNode
2 !!!164610.cpp!!! TreeMultiItemNode(inout parent : TreeMultiItemNode, in caption : wxString = wxEmptyString, in name : wxString = wxEmptyString)
5 !!!164738.cpp!!! ~TreeMultiItemNode()
6 // delete all items on this level
8 !!!164994.cpp!!! AddNode(inout node : TreeMultiItemBase) : void
12 !!!165122.cpp!!! InsertNode(inout NodePtr : TreeMultiItemBase, in Position : size_t) : void
17 this->_items.Insert(NodePtr,Position);
19 !!!165250.cpp!!! Clear() : void
21 !!!165378.cpp!!! DeleteNode(inout node : TreeMultiItemBase) : void
22 // this is wrong. The RemoveAt and Remove should delete
26 _items.Detach(Index(node));
30 !!!165506.cpp!!! DeleteNode(in index : int) : void
31 // this is wrong. The RemoveAt and Remove should delete
33 if(index < (int)_items.Count() && index >= 0)
34 _items.RemoveAt(index);
35 !!!165634.cpp!!! RemoveNode(inout node : TreeMultiItemBase) : TreeMultiItemBase
37 _items.Detach(_items.Index(*node));
40 !!!165762.cpp!!! RemoveNode(in index : int) : TreeMultiItemBase
41 TreeMultiItemBase *value = 0;
43 if(index < (int)_items.Count() && index > 0)
45 value = &_items.Item(index);
50 !!!165890.cpp!!! GetNodeCount() : int
51 return _items.Count();
52 !!!166018.cpp!!! GetNode(in index : int) : TreeMultiItemBase
53 TreeMultiItemBase *value = 0;
55 if(index < (int)_items.Count() && index >= 0)
56 value = &_items.Item(index);
59 !!!166146.cpp!!! Index(inout node : TreeMultiItemBase, in searchFromEnd : bool = false) : int
62 return _items.Index(*node, searchFromEnd);
63 !!!166274.cpp!!! GetNodeNext(inout cookie : int) : TreeMultiItemBase
64 TreeMultiItemBase *value = 0;
66 if(cookie >= 0 && cookie < (int)_items.Count())
68 value = &_items[cookie];
73 !!!166402.cpp!!! First() : TreeMultiItemBase
76 if (this->_items.GetCount() > 0)
78 return &(this->_items[0]);
84 !!!166530.cpp!!! Last() : TreeMultiItemBase
87 if(this->_items.GetCount() > 0)
89 return &(this->_items.Last());