Isis Developer Reference
AbstractNullDataItem.h
Go to the documentation of this file.
1#ifndef AbstractNullDataItem_H
2#define AbstractNullDataItem_H
3
10/* SPDX-License-Identifier: CC0-1.0 */
11
12#include "AbstractTreeItem.h"
13
14
15class QString;
16
17
18namespace 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
Base class for an item without data.
Definition AbstractNullDataItem.h:32
virtual void deleteSource()
Definition AbstractNullDataItem.cpp:49
virtual QVariant getData() const
Definition AbstractNullDataItem.cpp:28
virtual bool isDataEditable(QString columnTitle) const
Definition AbstractNullDataItem.cpp:44
virtual void setData(QString const &columnTitle, QString const &newData)
Definition AbstractNullDataItem.cpp:38
virtual InternalPointerType getPointerType() const
Definition AbstractNullDataItem.cpp:55
virtual ~AbstractNullDataItem()
Definition AbstractNullDataItem.cpp:24
AbstractNullDataItem(AbstractTreeItem *parent=0)
Definition AbstractNullDataItem.cpp:19
virtual void * getPointer() const
Definition AbstractNullDataItem.cpp:60
virtual bool operator<(AbstractTreeItem const &other) const
Definition AbstractNullDataItem.cpp:65
virtual void sourceDeleted()
Definition AbstractNullDataItem.cpp:71
Base class for an item in the tree.
Definition AbstractTreeItem.h:39
AbstractTreeItem * parent() const
Definition AbstractTreeItem.cpp:43
InternalPointerType
Definition AbstractTreeItem.h:44
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16