Gaia
|
The AddField analyzer allows you to add new fields in a layout of an already existing DataSet. More...
#include <addfield.h>
Public Member Functions | |
AddField (const ParameterMap ¶ms) | |
Transformation | analyze (const DataSet *data) const |
![]() | |
Analyzer (const ParameterMap ¶ms) | |
virtual Transformation | analyze (const DataSet *dataset, const Region ®ion) const |
void | checkDataSet (const DataSet *dataset) const |
Checks that the given dataset is valid. More... | |
void | checkMinPoints (const DataSet *dataset, int n) const |
Checks that the given dataset as at least the specified number of points. More... | |
const Region & | checkFixedLength (const Region ®ion, const PointLayout &layout) const |
Checks that the given Region only contains fixed-length descriptors and throws an exception if not. More... | |
Protected Attributes | |
QStringList | _real |
QStringList | _string |
ParameterMap | _default |
ParameterMap | _size |
![]() | |
ParameterMap | _params |
QStringList | _descriptorNames |
QStringList | _exclude |
Additional Inherited Members | |
![]() | |
QString | name |
Name for the algorithm, usually the key that was used to instantiate it from the factory. | |
QStringList | validParams |
List of valid parameters this analyzer accepts. More... | |
The AddField analyzer allows you to add new fields in a layout of an already existing DataSet.
By default, the real fields will have a value of 0 and the string fields will have a value of "".
real | the names of the fields of type real to be added. |
string | the names of the fields of type string to be added. |
default | a map containing the (optional) default values for the new fields to be added. |
size | a map containing the (optional) default size for the new fields to be added. If a field is specified here, it will be added as a fixed-length field in the layout, otherwise it will be a variable-length field. |