    

 ## On this page

  

 

 # ExportSignalsSettings Class Reference

 Last update: 16.07.2025 

Stores settings for export signals to a couple of CSV files. [More...](class_export_signals_settings.xhtml#details)

## <a name="pub-methods"></a>Public Member Functions

 [check](class_export_signals_settings.xhtml#a47c34ec1e578c2ce27cf1c5fcd0d1704) ([Structure](class_structure.xhtml) [database](group__data.xhtml#gaebcac3a2836ec9fdf2e47bd812994b6b)) Checks some settings. [More...](#a47c34ec1e578c2ce27cf1c5fcd0d1704)  
  [ExportSignalsSettings](class_export_signals_settings.xhtml#a4b00f2ec80954839e215f2d1c303009a) (string output\_path, string [delimiter](class_export_signals_settings.xhtml#a0b2e98e6d6483b285675f9e0128ad223)=",") Default constructor initializing all member variables to valid defaults. [More...](#a4b00f2ec80954839e215f2d1c303009a)  
  [save](class_export_signals_settings.xhtml#a6a338dc4344270fcbccadf5667ef12f9) ([Structure](class_structure.xhtml) [database](group__data.xhtml#gaebcac3a2836ec9fdf2e47bd812994b6b)) Exports all data to the given CSV output files. [More...](#a6a338dc4344270fcbccadf5667ef12f9)  
 ## <a name="pub-attribs"></a>Public Attributes

<a id="a0b2e98e6d6483b285675f9e0128ad223"></a>string [delimiter](class_export_signals_settings.xhtml#a0b2e98e6d6483b285675f9e0128ad223) The delimiter string, e.g. ",", which delimits the data entries within one line.   
 <a id="a29a9f0233f0f63dbf3e5d3886ae54b6c"></a>number [factor](class_export_signals_settings.xhtml#a29a9f0233f0f63dbf3e5d3886ae54b6c) The sigma level when exporting the confidence interval. Default: 2.   
 <a id="aa7f8f943bac2f83543e757f98d254472"></a>string [output\_file\_cop](class_export_signals_settings.xhtml#aa7f8f943bac2f83543e757f98d254472) The name of the [CoP](struct_co_p.xhtml "Reference implementation for a quality metric for MOP models. ") values output file Default: cop.csv If empty, the file is not exported.   
 <a id="a1c44dd02e4655f4a4186211878d2a2d4"></a>string [output\_file\_cop\_abs](class_export_signals_settings.xhtml#a1c44dd02e4655f4a4186211878d2a2d4) The name of the output file name for the absolute [CoP](struct_co_p.xhtml "Reference implementation for a quality metric for MOP models. ") values (R\*sigma) Default: cop\_abs.csv If empty, the file is not exported.   
 <a id="a5de4d09e5e26129334921b0041dc7fb7"></a>string [output\_file\_interval](class_export_signals_settings.xhtml#a5de4d09e5e26129334921b0041dc7fb7) The name of the output file name for the confidence interval by the FMOP Default: cop\_interval.csv If empty, the file is not exported.   
 <a id="a2f8b3cba47ad64fb6bda4b6428a032d3"></a>bool [replace\_files](class_export_signals_settings.xhtml#a2f8b3cba47ad64fb6bda4b6428a032d3) If this is true, an existings output file will be overwritten. Otherwise an exception will arise.   
 <a id="details" name="details"></a>## Detailed Description

Stores settings for export signals to a couple of CSV files.



## Constructor &amp; Destructor Documentation

<a id="a4b00f2ec80954839e215f2d1c303009a"></a>## [◆ ](#a4b00f2ec80954839e215f2d1c303009a)ExportSignalsSettings()

 [ExportSignalsSettings](class_export_signals_settings.xhtml)  ( string  *output\_path*,    string  *delimiter* = `","`   ) 

Default constructor initializing all member variables to valid defaults.

Parameters output\_pathThe name of the output directory. Will be used to generate default file paths for all CSV files written by this class. To modify these autogenerated paths set the proper file name variable delimiterThe delimiter string, e.g. ";", which delimits the data values within a record. See csv::CSVParser::m\_delimiter for more details. 



## Member Function Documentation

<a id="a47c34ec1e578c2ce27cf1c5fcd0d1704"></a>## [◆ ](#a47c34ec1e578c2ce27cf1c5fcd0d1704)check()

 check  ( [Structure](class_structure.xhtml)  *database*) 

Checks some settings.

Parameters databasethe database that is being checked Exceptions std::exceptionIf the settings are not correct 



<a id="a6a338dc4344270fcbccadf5667ef12f9"></a>## [◆ ](#a6a338dc4344270fcbccadf5667ef12f9)save()

 save  ( [Structure](class_structure.xhtml)  *database*) 

Exports all data to the given CSV output files.

Parameters databaseThe database containing all objects. Exceptions std::exceptionIf the output\_path is not a directory std::exception If one of the output\_files is not writeable