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

#include <matrixcommands.h>

List of all members.

Public Member Functions

 MatrixSetCellValueCmd (future::Matrix::Private *private_obj, int row, int col, double value, QUndoCommand *parent=0)
virtual void redo ()
virtual void undo ()
 ~MatrixSetCellValueCmd ()

Private Attributes

int d_col
 The index of the column.
double d_old_value
 Backup of the changed value.
future::Matrix::Privated_private_obj
 The private object to modify.
int d_row
 The index of the row.
double d_value
 New cell value.

Detailed Description

Set cell value


Constructor & Destructor Documentation

MatrixSetCellValueCmd::MatrixSetCellValueCmd ( future::Matrix::Private private_obj,
int  row,
int  col,
double  value,
QUndoCommand *  parent = 0 
)
MatrixSetCellValueCmd::~MatrixSetCellValueCmd ( )

Member Function Documentation

void MatrixSetCellValueCmd::redo ( )
virtual
void MatrixSetCellValueCmd::undo ( )
virtual

Member Data Documentation

int MatrixSetCellValueCmd::d_col
private

The index of the column.

Referenced by redo(), and undo().

double MatrixSetCellValueCmd::d_old_value
private

Backup of the changed value.

Referenced by redo(), and undo().

future::Matrix::Private* MatrixSetCellValueCmd::d_private_obj
private

The private object to modify.

Referenced by MatrixSetCellValueCmd(), redo(), and undo().

int MatrixSetCellValueCmd::d_row
private

The index of the row.

Referenced by redo(), and undo().

double MatrixSetCellValueCmd::d_value
private

New cell value.

Referenced by redo().


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