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 
15 template< typename T > class QList;
16 class QVariant;
17 
18 
19 namespace Isis {
20 
31  class AbstractLeafItem : public virtual AbstractTreeItem {
32  public:
34  virtual ~AbstractLeafItem();
35 
36  virtual AbstractTreeItem *childAt(int row) const;
38  virtual int indexOf(AbstractTreeItem *child) const;
39  virtual int childCount() const;
40  virtual void addChild(AbstractTreeItem *child);
41  virtual AbstractTreeItem *getFirstVisibleChild() const;
42  virtual AbstractTreeItem *getLastVisibleChild() const;
43  virtual void setFirstVisibleChild(AbstractTreeItem *);
44  virtual void setLastVisibleChild(AbstractTreeItem *);
45 
46 
47  private: // disable copying of this class
49  const AbstractLeafItem &operator=(const AbstractLeafItem &);
50  };
51 }
52 
53 #endif
Isis::AbstractTreeItem::parent
AbstractTreeItem * parent() const
Definition: AbstractTreeItem.cpp:46
QList
This is free and unencumbered software released into the public domain.
Definition: BoxcarCachingAlgorithm.h:13
AbstractLeafItem.h
Isis::AbstractLeafItem::addChild
virtual void addChild(AbstractTreeItem *child)
Definition: AbstractLeafItem.cpp:50
Isis::AbstractLeafItem::indexOf
virtual int indexOf(AbstractTreeItem *child) const
Definition: AbstractLeafItem.cpp:39
Isis::AbstractTreeItem::row
int row() const
Definition: AbstractTreeItem.cpp:56
IString.h
Isis::AbstractLeafItem::getLastVisibleChild
virtual AbstractTreeItem * getLastVisibleChild() const
Definition: AbstractLeafItem.cpp:61
_FILEINFO_
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
Isis::AbstractLeafItem::getFirstVisibleChild
virtual AbstractTreeItem * getFirstVisibleChild() const
Definition: AbstractLeafItem.cpp:56
AbstractTreeItem.h
Isis::AbstractLeafItem::childAt
virtual AbstractTreeItem * childAt(int row) const
Definition: AbstractLeafItem.cpp:27
Isis::IException
Isis exception class.
Definition: IException.h:91
Isis::AbstractLeafItem
Base class for leaf items in the tree.
Definition: AbstractLeafItem.h:31
IException.h
Isis::IException::Programmer
@ Programmer
This error is for when a programmer made an API call that was illegal.
Definition: IException.h:146
Isis::AbstractLeafItem::~AbstractLeafItem
virtual ~AbstractLeafItem()
Definition: AbstractLeafItem.cpp:23
Isis::AbstractLeafItem::childCount
virtual int childCount() const
Definition: AbstractLeafItem.cpp:45
Isis::AbstractLeafItem::getChildren
virtual QList< AbstractTreeItem * > getChildren() const
Definition: AbstractLeafItem.cpp:33
Isis::IString
Adds specific functionality to C++ strings.
Definition: IString.h:165
IsisDebug.h
Isis::AbstractLeafItem::setFirstVisibleChild
virtual void setFirstVisibleChild(AbstractTreeItem *)
Definition: AbstractLeafItem.cpp:66
Isis::AbstractTreeItem
Base class for an item in the tree.
Definition: AbstractTreeItem.h:39
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
Isis::AbstractLeafItem::AbstractLeafItem
AbstractLeafItem(AbstractTreeItem *parent=0)
Definition: AbstractLeafItem.cpp:18
Isis::AbstractLeafItem::setLastVisibleChild
virtual void setLastVisibleChild(AbstractTreeItem *)
Definition: AbstractLeafItem.cpp:72