Isis 3 Programmer Reference
AbstractLeafItem.h
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;
30  virtual QList< AbstractTreeItem * > getChildren() 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
Base class for leaf items in the tree.
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
Base class for an item in the tree.