SciDAVis  1.D4
Public Member Functions | Private Attributes
ColumnSetMaskedCmd Class Reference

#include <columncommands.h>

List of all members.

Public Member Functions

 ColumnSetMaskedCmd (Column::Private *col, Interval< int > interval, bool masked, QUndoCommand *parent=0)
 Ctor.
virtual void redo ()
 Execute the command.
virtual void undo ()
 Undo the command.
 ~ColumnSetMaskedCmd ()
 Dtor.

Private Attributes

Column::Privated_col
 The private column data to modify.
bool d_copied
 A status flag.
Interval< int > d_interval
 The interval.
bool d_masked
 Mask/unmask flag.
IntervalAttribute< bool > d_masking
 Interval attribute backup.

Detailed Description

Mark an interval of rows as masked


Constructor & Destructor Documentation

ColumnSetMaskedCmd::ColumnSetMaskedCmd ( Column::Private col,
Interval< int >  interval,
bool  masked,
QUndoCommand *  parent = 0 
)

Ctor.

References d_copied, and Column::Private::name().

ColumnSetMaskedCmd::~ColumnSetMaskedCmd ( )

Dtor.


Member Function Documentation

void ColumnSetMaskedCmd::redo ( )
virtual
void ColumnSetMaskedCmd::undo ( )
virtual

Undo the command.

References d_col, d_masking, and Column::Private::replaceMasking().


Member Data Documentation

Column::Private* ColumnSetMaskedCmd::d_col
private

The private column data to modify.

Referenced by redo(), and undo().

bool ColumnSetMaskedCmd::d_copied
private

A status flag.

Referenced by ColumnSetMaskedCmd(), and redo().

Interval<int> ColumnSetMaskedCmd::d_interval
private

The interval.

Referenced by redo().

bool ColumnSetMaskedCmd::d_masked
private

Mask/unmask flag.

Referenced by redo().

IntervalAttribute<bool> ColumnSetMaskedCmd::d_masking
private

Interval attribute backup.

Referenced by redo(), and undo().


The documentation for this class was generated from the following files: