class TreeMultiItemBase !!!161026.cpp!!! TreeMultiItemBase(inout parent : TreeMultiItemNode) // TODO: Enter your constructor code here !!!161154.cpp!!! ~TreeMultiItemBase() // TODO: Enter your destructor code here !!!163330.cpp!!! IsVisible() : bool // are we excluded? then we are not visible as well if(IsExcluded()) return false; // check every parent up until the last and if one of them is collapsed // we are not visible TreeMultiItemNode *p = GetParent(); while(p) { if(!p->IsExpanded()) return false; else p = p->GetParent(); } return true;