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 
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::AbstractNullDataItem::deleteSource
virtual void deleteSource()
Definition: AbstractNullDataItem.cpp:51
Isis::AbstractTreeItem::parent
AbstractTreeItem * parent() const
Definition: AbstractTreeItem.cpp:46
Isis::AbstractNullDataItem::operator<
virtual bool operator<(AbstractTreeItem const &other) const
Definition: AbstractNullDataItem.cpp:67
Isis::AbstractNullDataItem::getData
virtual QVariant getData() const
Definition: AbstractNullDataItem.cpp:30
IString.h
Isis::AbstractNullDataItem::sourceDeleted
virtual void sourceDeleted()
Definition: AbstractNullDataItem.cpp:73
Isis::AbstractNullDataItem::setData
virtual void setData(QString const &columnTitle, QString const &newData)
Definition: AbstractNullDataItem.cpp:40
_FILEINFO_
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
AbstractTreeItem.h
AbstractNullDataItem.h
Isis::IException
Isis exception class.
Definition: IException.h:91
Isis::AbstractNullDataItem::getPointerType
virtual InternalPointerType getPointerType() const
Definition: AbstractNullDataItem.cpp:57
Isis::AbstractNullDataItem::getPointer
virtual void * getPointer() const
Definition: AbstractNullDataItem.cpp:62
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::AbstractTreeItem::None
@ None
Definition: AbstractTreeItem.h:45
Isis::AbstractNullDataItem::AbstractNullDataItem
AbstractNullDataItem(AbstractTreeItem *parent=0)
Definition: AbstractNullDataItem.cpp:21
Isis::AbstractNullDataItem::isDataEditable
virtual bool isDataEditable(QString columnTitle) const
Definition: AbstractNullDataItem.cpp:46
Isis::IString
Adds specific functionality to C++ strings.
Definition: IString.h:165
IsisDebug.h
Isis::AbstractTreeItem
Base class for an item in the tree.
Definition: AbstractTreeItem.h:39
Isis::AbstractNullDataItem::~AbstractNullDataItem
virtual ~AbstractNullDataItem()
Definition: AbstractNullDataItem.cpp:26
Isis::AbstractTreeItem::InternalPointerType
InternalPointerType
Definition: AbstractTreeItem.h:44
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