Isis 3 Programmer Reference
AbstractNullDataItem.h
1 #ifndef AbstractNullDataItem_H
2 #define AbstractNullDataItem_H
3 
10 /* SPDX-License-Identifier: CC0-1.0 */
11 
12 #include "AbstractTreeItem.h"
13 
14 
15 class QString;
16 
17 
18 namespace Isis {
19 
32  class AbstractNullDataItem : public virtual AbstractTreeItem {
33  Q_OBJECT
34 
35  public:
37  virtual ~AbstractNullDataItem();
38 
39  virtual QVariant getData() const;
40  virtual QVariant getData(QString columnTitle) const;
41  virtual void setData(QString const &columnTitle, QString const &newData);
42  virtual bool isDataEditable(QString columnTitle) const;
43  virtual void deleteSource();
44  virtual InternalPointerType getPointerType() const;
45  virtual void *getPointer() const;
46  virtual bool operator<(AbstractTreeItem const &other) const;
47 
48 
49  protected:
50  virtual void sourceDeleted();
51 
52 
53  private: // disable copying of this class
55  AbstractNullDataItem const &operator=(AbstractNullDataItem const &other);
56  };
57 }
58 
59 #endif
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::AbstractNullDataItem
Base class for an item without data.
Definition: AbstractNullDataItem.h:32