Isis 3 Programmer Reference
RootItem.cpp
1 
7 /* SPDX-License-Identifier: CC0-1.0 */
8 
9 #include "IsisDebug.h"
10 
11 #include "RootItem.h"
12 
13 
14 namespace Isis {
15  RootItem::RootItem() : AbstractTreeItem(NULL), AbstractNullDataItem() {
16  m_lastVisibleFilteredItem = NULL;
17  setExpanded(true);
18  }
19 
20 
21  RootItem::~RootItem() {
22  m_lastVisibleFilteredItem = NULL;
23  }
24 
25 
26  void RootItem::setLastVisibleFilteredItem(AbstractTreeItem *item) {
27  m_lastVisibleFilteredItem = item;
28  }
29 
30 
31  const AbstractTreeItem *RootItem::getLastVisibleFilteredItem() const {
32  return m_lastVisibleFilteredItem;
33  }
34 }
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16