|
SciDAVis
1.D4
|
#include <columncommands.h>
Public Member Functions | |
| ColumnSetInvalidCmd (Column::Private *col, Interval< int > interval, bool invalid, QUndoCommand *parent=0) | |
| Ctor. | |
| virtual void | redo () |
| Execute the command. | |
| virtual void | undo () |
| Undo the command. | |
| ~ColumnSetInvalidCmd () | |
| Dtor. | |
Private Attributes | |
| Column::Private * | d_col |
| The private column data to modify. | |
| bool | d_copied |
| A status flag. | |
| Interval< int > | d_interval |
| The interval. | |
| bool | d_invalid |
| Valid/invalid flag. | |
| IntervalAttribute< bool > | d_validity |
| Interval attribute backup. | |
Mark an interval of rows as invalid
| ColumnSetInvalidCmd::ColumnSetInvalidCmd | ( | Column::Private * | col, |
| Interval< int > | interval, | ||
| bool | invalid, | ||
| QUndoCommand * | parent = 0 |
||
| ) |
Ctor.
References d_copied, and Column::Private::name().
| ColumnSetInvalidCmd::~ColumnSetInvalidCmd | ( | ) |
Dtor.
|
virtual |
Execute the command.
References d_col, d_copied, d_interval, d_invalid, d_validity, Column::Private::setInvalid(), and Column::Private::validityAttribute().
|
virtual |
Undo the command.
References d_col, d_validity, Column::Private::dataPointer(), and Column::Private::replaceData().
|
private |
|
private |
A status flag.
Referenced by ColumnSetInvalidCmd(), and redo().
|
private |
Valid/invalid flag.
Referenced by redo().
|
private |
1.8.1