MeasurementGroup
Class that manages a serializable object containing a set of features.
It gathers a list of measurements in a same object that can be set into an AnalysisMsr object. The main benefit of using a MeasurementGroup object is its serialization mechanism to save it and recall it later.
See related example
It gathers a list of measurements in a same object that can be set into an AnalysisMsr object. The main benefit of using a MeasurementGroup object is its serialization mechanism to save it and recall it later.
See related example
Syntax
Method | Description |
---|---|
MeasurementGroup() | Default constructor. |
MeasurementGroup( std::vector< MsrInfo*> msrInfos ) | Constructor from a predefined list of measurements. |
void add( MsrInfo* msrInfo ) | Adds a measurement into the MeasurementGroup object. |
void add( const std::vector< MsrInfo*>& msrInfos ) | Adds a list of measurements into the MeasurementGroup object. |
void remove( MsrInfo* msrInfo ) | Removes a measurement from the MeasurementGroup object. |
void remove( const std::vector< MsrInfo*>& msrInfos ) | Removes a list of measurements from the MeasurementGroup object. |
std::vector< MsrInfo*> getMeasurements() | Returns the list of measurements embedded in the MeasurementGroup object. |
void read( const std::string& pathFile ) | Reads the MeasurementGroup object from a file path. |
void write( const std::string& pathFile, bool overWrite = true ) | Writes the MeasurementGroup object into a file defined by a path. |