Gaia

The Enumerate analyzer allows you to specify a list of string descriptors which you want to be stored as enumerations. More...

#include <enumerate.h>

Inheritance diagram for gaia2::Enumerate:
gaia2::Analyzer

Public Member Functions

 Enumerate (const ParameterMap &params)
 
Transformation analyze (const DataSet *data) const
 
- Public Member Functions inherited from gaia2::Analyzer
 Analyzer (const ParameterMap &params)
 
virtual Transformation analyze (const DataSet *dataset, const Region &region) 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 RegioncheckFixedLength (const Region &region, const PointLayout &layout) const
 Checks that the given Region only contains fixed-length descriptors and throws an exception if not. More...
 

Additional Inherited Members

- Public Attributes inherited from gaia2::Analyzer
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...
 
- Protected Attributes inherited from gaia2::Analyzer
ParameterMap _params
 
QStringList _descriptorNames
 
QStringList _exclude
 

Detailed Description

The Enumerate analyzer allows you to specify a list of string descriptors which you want to be stored as enumerations.

Typically, for string descriptors that only take a subset of values (eg: key and mode), this will reduce the memory used for storage and it will also be much faster when filtering.

Parameters
descriptorNamesthe names of the descriptors to be enumerated. Can use wildcards.
exceptthe names of the descriptors to be removed from the selected list specified before. Can use wildcards. (default: "").

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