> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ExportSignalsSettings Class Reference

Part of [Export](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/group__export)

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

## Public Member Functions

| Type | Name |
| - | - |
| | [check](#a47c34ec1e578c2ce27cf1c5fcd0d1704) ([Structure](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_structure) [database](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/group__data#gaebcac3a2836ec9fdf2e47bd812994b6b)) Checks some settings. |
| | [ExportSignalsSettings](#a4b00f2ec80954839e215f2d1c303009a) (string output\_path, string [delimiter](#a0b2e98e6d6483b285675f9e0128ad223)=",") Default constructor initializing all member variables to valid defaults. |
| | [save](#a6a338dc4344270fcbccadf5667ef12f9) ([Structure](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_structure) [database](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/group__data#gaebcac3a2836ec9fdf2e47bd812994b6b)) Exports all data to the given CSV output files. |

## Public Attributes

| Type | Name |
| - | - |
|  string | [delimiter](#a0b2e98e6d6483b285675f9e0128ad223) The delimiter string, e.g. ",", which delimits the data entries within one line. |
|  number | [factor](#a29a9f0233f0f63dbf3e5d3886ae54b6c) The sigma level when exporting the confidence interval. Default: 2. |
|  string | [output\_file\_cop](#aa7f8f943bac2f83543e757f98d254472) The name of the [CoP](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/struct_co_p.md) values output file Default: cop.csv If empty, the file is not exported. |
|  string | [output\_file\_cop\_abs](#a1c44dd02e4655f4a4186211878d2a2d4) The name of the output file name for the absolute [CoP](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/struct_co_p.md) values (R\*sigma) Default: cop\_abs.csv If empty, the file is not exported. |
|  string | [output\_file\_interval](#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. |
|  bool | [replace\_files](#a2f8b3cba47ad64fb6bda4b6428a032d3) If this is true, an existings output file will be overwritten. Otherwise an exception will arise. |

## Detailed Description

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

## Constructor & Destructor Documentation

### ExportSignalsSettings()

```cpp theme={null}
ExportSignalsSettings(
    string output_path,
    string delimiter = ","
)
```

Default constructor initializing all member variables to valid defaults.

**Parameters**

| Name | Description |
| - | - |
| output\_path | The 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 |
| delimiter | The delimiter string, e.g. ";", which delimits the data values within a record. See csv::CSVParser::m\_delimiter for more details. |

## Member Function Documentation

### check()

```cpp theme={null}
check(Structure database)
```

Checks some settings.

**Parameters**

| Name | Description |
| - | - |
| database | the database that is being checked |

**Exceptions**

| Name | Description |
| - | - |
| std::exception | If the settings are not correct |

### save()

```cpp theme={null}
save(Structure database)
```

Exports all data to the given CSV output files.

**Parameters**

| Name | Description |
| - | - |
| database | The database containing all objects. |

**Exceptions**

| Name | Description |
| - | - |
| std::exception | If the output\_path is not a directory std::exception If one of the output\_files is not writeable |
