Isis 3 Developer Reference
AbstractNullDataItem.h
Go to the documentation of this file.
1 #ifndef AbstractNullDataItem_H
2 #define AbstractNullDataItem_H
3 
4 
5 #include "AbstractTreeItem.h"
6 
7 
8 class QString;
9 
10 
11 namespace Isis {
12 
25  class AbstractNullDataItem : public virtual AbstractTreeItem {
26  Q_OBJECT
27 
28  public:
30  virtual ~AbstractNullDataItem();
31 
32  virtual QVariant getData() const;
33  virtual QVariant getData(QString columnTitle) const;
34  virtual void setData(QString const &columnTitle, QString const &newData);
35  virtual bool isDataEditable(QString columnTitle) const;
36  virtual void deleteSource();
37  virtual InternalPointerType getPointerType() const;
38  virtual void *getPointer() const;
39  virtual bool operator<(AbstractTreeItem const &other) const;
40 
41 
42  protected:
43  virtual void sourceDeleted();
44 
45 
46  private: // disable copying of this class
48  AbstractNullDataItem const &operator=(AbstractNullDataItem const &other);
49  };
50 }
51 
52 #endif
Base class for an item without data.
Definition: AbstractNullDataItem.h:25
virtual void sourceDeleted()
Definition: AbstractNullDataItem.cpp:65
AbstractNullDataItem(AbstractTreeItem *parent=0)
Definition: AbstractNullDataItem.cpp:13
virtual void * getPointer() const
Definition: AbstractNullDataItem.cpp:54
InternalPointerType
Definition: AbstractTreeItem.h:36
AbstractTreeItem * parent() const
Definition: AbstractTreeItem.cpp:38
virtual void setData(QString const &columnTitle, QString const &newData)
Definition: AbstractNullDataItem.cpp:32
virtual ~AbstractNullDataItem()
Definition: AbstractNullDataItem.cpp:18
virtual void deleteSource()
Definition: AbstractNullDataItem.cpp:43
virtual InternalPointerType getPointerType() const
Definition: AbstractNullDataItem.cpp:49
virtual bool operator<(AbstractTreeItem const &other) const
Definition: AbstractNullDataItem.cpp:59
virtual bool isDataEditable(QString columnTitle) const
Definition: AbstractNullDataItem.cpp:38
virtual QVariant getData() const
Definition: AbstractNullDataItem.cpp:22
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
Base class for an item in the tree.
Definition: AbstractTreeItem.h:31