![]() |
TinkerCell Core 1.0
TinkerCell's Core library providing all basic functionalities
|
Changes two different data tables. More...
#include <DataTable.h>
Public Member Functions | |
Change2DataCommand (const QString &name, DataTable< T1 > *oldDataTable1, const DataTable< T1 > *newDataTable1, DataTable< T2 > *oldDataTable2, const DataTable< T2 > *newDataTable2) | |
constructor | |
Change2DataCommand (const QString &name, const QList< DataTable< T1 > * > &oldDataTable1, const QList< DataTable< T1 > * > &newDataTable1, const QList< DataTable< T2 > * > &oldDataTable2, const QList< DataTable< T2 > * > &newDataTable2) | |
constructor | |
void | redo () |
redo the changes | |
void | undo () |
undo the changes | |
Public Attributes | |
QList< DataTable< T1 > * > | targetDataTable1 |
target tables of type T1 | |
QList< DataTable< T1 > > | newDataTable1 |
new tables of type T1 | |
QList< DataTable< T1 > > | oldDataTable1 |
old tables of type T1 | |
QList< DataTable< T2 > * > | targetDataTable2 |
target tables of type T2 | |
QList< DataTable< T2 > > | newDataTable2 |
new tables of type T2 | |
QList< DataTable< T2 > > | oldDataTable2 |
old tables of type T2 |
Changes two different data tables.
Definition at line 382 of file DataTable.h.
Tinkercell::Change2DataCommand< T1, T2 >::Change2DataCommand | ( | const QString & | name, |
DataTable< T1 > * | oldDataTable1, | ||
const DataTable< T1 > * | newDataTable1, | ||
DataTable< T2 > * | oldDataTable2, | ||
const DataTable< T2 > * | newDataTable2 | ||
) |
constructor
name | of the command |
old | table of type T1 |
new | table of type T1 |
old | table of type T2 |
new | table of type T2 |
Tinkercell::Change2DataCommand< T1, T2 >::Change2DataCommand | ( | const QString & | name, |
const QList< DataTable< T1 > * > & | oldDataTable1, | ||
const QList< DataTable< T1 > * > & | newDataTable1, | ||
const QList< DataTable< T2 > * > & | oldDataTable2, | ||
const QList< DataTable< T2 > * > & | newDataTable2 | ||
) |
constructor
name | of the command |
old | tables of type T1 |
new | tables of type T1 |
old | tables of type T2 |
new | tables of type T2 |
void Tinkercell::Change2DataCommand< T1, T2 >::redo | ( | ) |
redo the changes
void Tinkercell::Change2DataCommand< T1, T2 >::undo | ( | ) |
undo the changes
QList< DataTable<T1> > Tinkercell::Change2DataCommand< T1, T2 >::newDataTable1 |
new tables of type T1
Definition at line 408 of file DataTable.h.
QList< DataTable<T2> > Tinkercell::Change2DataCommand< T1, T2 >::newDataTable2 |
new tables of type T2
Definition at line 414 of file DataTable.h.
QList< DataTable<T1> > Tinkercell::Change2DataCommand< T1, T2 >::oldDataTable1 |
old tables of type T1
Definition at line 410 of file DataTable.h.
QList< DataTable<T2> > Tinkercell::Change2DataCommand< T1, T2 >::oldDataTable2 |
old tables of type T2
Definition at line 416 of file DataTable.h.
QList< DataTable<T1>* > Tinkercell::Change2DataCommand< T1, T2 >::targetDataTable1 |
target tables of type T1
Definition at line 406 of file DataTable.h.
QList< DataTable<T2>* > Tinkercell::Change2DataCommand< T1, T2 >::targetDataTable2 |
target tables of type T2
Definition at line 412 of file DataTable.h.