Gaia
|
AddFieldApplier applier class. More...
#include <addfieldapplier.h>
Public Member Functions | |
AddFieldApplier (const Transformation &transfo) | |
virtual Point * | mapPoint (const Point *p) const |
Ownership of resulting point is handed to caller of this function. | |
DataSet * | mapDataSet (const DataSet *dataset) const |
Optimized version so that we don't have to recompute the index mappings for each point. | |
![]() | |
Applier (const Transformation &transfo) | |
void | checkLayout (const PointLayout &layout) const |
Check that the given layout is the same as the one that was used during the analysis part of this transformation. More... | |
void | checkLayout (const DataSet *dataset) const |
Check that the given dataset has the same layout as the one that was used during the analysis part of this transformation. More... | |
Protected Member Functions | |
PointLayout | mapLayout (const PointLayout &layout) const |
![]() | |
void | transferHistory (const DataSet *original, DataSet *destination) const |
This method tranfers the transformation history from the original dataset to the one being created, and adds itself at the end of the history. | |
void | addPointsNoLayoutCheck (DataSet *dataset, const QVector< Point * > &points) const |
Adds the given points to a DataSet without checking for the layout to be correct. More... | |
Protected Attributes | |
QStringList | _real |
QStringList | _string |
PointLayout | _newLayout |
Point | _addedPoint |
QList< Point > | _addedPoints |
IndexMap | _realMap1 |
IndexMap | _stringMap1 |
IndexMap | _enumMap1 |
IndexMap | _realMap2 |
IndexMap | _stringMap2 |
IndexMap | _enumMap2 |
![]() | |
Transformation | _transfo |
AddFieldApplier applier class.
Adds the specified fields to the current layout.