Isis 3 Developer Reference
AbstractLeafItem.h
Go to the documentation of this file.
1 #ifndef AbstractLeafItem_H
2 #define AbstractLeafItem_H
3 
4 
5 #include "AbstractTreeItem.h"
6 
7 
8 template< typename T > class QList;
9 class QVariant;
10 
11 
12 namespace Isis {
13 
24  class AbstractLeafItem : public virtual AbstractTreeItem {
25  public:
27  virtual ~AbstractLeafItem();
28 
29  virtual AbstractTreeItem *childAt(int row) const;
31  virtual int indexOf(AbstractTreeItem *child) const;
32  virtual int childCount() const;
33  virtual void addChild(AbstractTreeItem *child);
34  virtual AbstractTreeItem *getFirstVisibleChild() const;
35  virtual AbstractTreeItem *getLastVisibleChild() const;
36  virtual void setFirstVisibleChild(AbstractTreeItem *);
37  virtual void setLastVisibleChild(AbstractTreeItem *);
38 
39 
40  private: // disable copying of this class
42  const AbstractLeafItem &operator=(const AbstractLeafItem &);
43  };
44 }
45 
46 #endif
AbstractLeafItem(AbstractTreeItem *parent=0)
Definition: AbstractLeafItem.cpp:10
virtual void setLastVisibleChild(AbstractTreeItem *)
Definition: AbstractLeafItem.cpp:64
AbstractTreeItem * parent() const
Definition: AbstractTreeItem.cpp:38
virtual AbstractTreeItem * getLastVisibleChild() const
Definition: AbstractLeafItem.cpp:53
virtual void addChild(AbstractTreeItem *child)
Definition: AbstractLeafItem.cpp:42
virtual int indexOf(AbstractTreeItem *child) const
Definition: AbstractLeafItem.cpp:31
virtual AbstractTreeItem * getFirstVisibleChild() const
Definition: AbstractLeafItem.cpp:48
virtual AbstractTreeItem * childAt(int row) const
Definition: AbstractLeafItem.cpp:19
virtual ~AbstractLeafItem()
Definition: AbstractLeafItem.cpp:15
virtual int childCount() const
Definition: AbstractLeafItem.cpp:37
Base class for leaf items in the tree.
Definition: AbstractLeafItem.h:24
virtual QList< AbstractTreeItem *> getChildren() const
Definition: AbstractLeafItem.cpp:25
Definition: BoxcarCachingAlgorithm.h:29
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
virtual void setFirstVisibleChild(AbstractTreeItem *)
Definition: AbstractLeafItem.cpp:58
Base class for an item in the tree.
Definition: AbstractTreeItem.h:31
int row() const
Definition: AbstractTreeItem.cpp:48