Isis Developer Reference
AbstractLeafItem.h
Go to the documentation of this file.
1#ifndef AbstractLeafItem_H
2#define AbstractLeafItem_H
3
10/* SPDX-License-Identifier: CC0-1.0 */
11
12#include "AbstractTreeItem.h"
13
14
15template< typename T > class QList;
16class QVariant;
17
18
19namespace Isis {
20
31 class AbstractLeafItem : public virtual AbstractTreeItem {
32 public:
34 virtual ~AbstractLeafItem();
35
36 virtual AbstractTreeItem *childAt(int row) const;
37 virtual QList< AbstractTreeItem * > getChildren() const;
38 virtual int indexOf(AbstractTreeItem *child) const;
39 virtual int childCount() const;
40 virtual void addChild(AbstractTreeItem *child);
45
46
47 private: // disable copying of this class
49 const AbstractLeafItem &operator=(const AbstractLeafItem &);
50 };
51}
52
53#endif
Base class for leaf items in the tree.
Definition AbstractLeafItem.h:31
virtual QList< AbstractTreeItem * > getChildren() const
Definition AbstractLeafItem.cpp:31
virtual void setLastVisibleChild(AbstractTreeItem *)
Definition AbstractLeafItem.cpp:70
virtual void setFirstVisibleChild(AbstractTreeItem *)
Definition AbstractLeafItem.cpp:64
virtual ~AbstractLeafItem()
Definition AbstractLeafItem.cpp:21
virtual AbstractTreeItem * getFirstVisibleChild() const
Definition AbstractLeafItem.cpp:54
virtual int childCount() const
Definition AbstractLeafItem.cpp:43
virtual int indexOf(AbstractTreeItem *child) const
Definition AbstractLeafItem.cpp:37
virtual void addChild(AbstractTreeItem *child)
Definition AbstractLeafItem.cpp:48
virtual AbstractTreeItem * getLastVisibleChild() const
Definition AbstractLeafItem.cpp:59
virtual AbstractTreeItem * childAt(int row) const
Definition AbstractLeafItem.cpp:25
AbstractLeafItem(AbstractTreeItem *parent=0)
Definition AbstractLeafItem.cpp:16
Base class for an item in the tree.
Definition AbstractTreeItem.h:39
int row() const
Definition AbstractTreeItem.cpp:53
AbstractTreeItem * parent() const
Definition AbstractTreeItem.cpp:43
This is free and unencumbered software released into the public domain.
Definition BoxcarCachingAlgorithm.h:13
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16