> ## 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.

# sysc::SetupFileInfo Struct Reference

Part of [C++ Interfaces for Participant Library](https://developer.synopsys.com/docs/system-coupling/system-coupling-cpp-library/group__SystemCouplingParticipantAPIs)

Provide a structure for writing System Coupling setup files.

`#include <CommonTypes.hpp>`

## Public Member Functions

| Type | Name |
| - | - |
| | [SetupFileInfo](#af3e2bd60fca807c13cb906f13a662570) () Provide a default constructor for [SetupFileInfo](https://developer.synopsys.com/docs/system-coupling/system-coupling-cpp-library/structsysc_1_1SetupFileInfo.md). |
| | [SetupFileInfo](#ad61495d5f2fd0c14da1245a1e44a1737) (std::string [setupFileName](#acf9bd8de151bb98c37844bce125c20d0)) Provide a non-default constructor for [SetupFileInfo](https://developer.synopsys.com/docs/system-coupling/system-coupling-cpp-library/structsysc_1_1SetupFileInfo.md). |
| | [SetupFileInfo](#af78fd7b774f9096e72210180c5f68fea) (std::string [setupFileName](#acf9bd8de151bb98c37844bce125c20d0), bool [restartsSupported](#a65df447274a91c50920e5af5296c60e3)) Provide a non-default constructor for [SetupFileInfo](https://developer.synopsys.com/docs/system-coupling/system-coupling-cpp-library/structsysc_1_1SetupFileInfo.md). |

## Public Attributes

| Type | Name |
| - | - |
| std::string | [setupFileName](#acf9bd8de151bb98c37844bce125c20d0) |
| bool | [restartsSupported](#a65df447274a91c50920e5af5296c60e3) |

## Detailed Description

Provide a structure for writing System Coupling setup files.

Definition at line [130](https://developer.synopsys.com/docs/system-coupling/system-coupling-cpp-library/CommonTypes_8hpp_source) of file [CommonTypes.hpp](https://developer.synopsys.com/docs/system-coupling/system-coupling-cpp-library/CommonTypes_8hpp_source).

## Constructor & Destructor Documentation

### SetupFileInfo() \[1/3]

```cpp theme={null}
sysc::SetupFileInfo::SetupFileInfo()
```

`inline`

Provide a default constructor for [SetupFileInfo](https://developer.synopsys.com/docs/system-coupling/system-coupling-cpp-library/structsysc_1_1SetupFileInfo.md).

Setup file name will be set to empty string. Restarts supported flag will be set to false.

Definition at line [139](https://developer.synopsys.com/docs/system-coupling/system-coupling-cpp-library/CommonTypes_8hpp_source) of file [CommonTypes.hpp](https://developer.synopsys.com/docs/system-coupling/system-coupling-cpp-library/CommonTypes_8hpp_source).

```cpp theme={null}
                   :
       restartsSupported(false){};
```

### SetupFileInfo() \[2/3]

```cpp theme={null}
sysc::SetupFileInfo::SetupFileInfo(std::string setupFileName)
```

`inline`

Provide a non-default constructor for [SetupFileInfo](https://developer.synopsys.com/docs/system-coupling/system-coupling-cpp-library/structsysc_1_1SetupFileInfo.md).

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | setupFileName | Setup file name. |

Restarts supported flag will be set to false.

Definition at line [149](https://developer.synopsys.com/docs/system-coupling/system-coupling-cpp-library/CommonTypes_8hpp_source) of file [CommonTypes.hpp](https://developer.synopsys.com/docs/system-coupling/system-coupling-cpp-library/CommonTypes_8hpp_source).

```cpp theme={null}
                                          :
       setupFileName(std::move(setupFileName)),
       restartsSupported(false){};
```

### SetupFileInfo() \[3/3]

```cpp theme={null}
sysc::SetupFileInfo::SetupFileInfo(
    std::string setupFileName,
    bool restartsSupported
)
```

`inline`

Provide a non-default constructor for [SetupFileInfo](https://developer.synopsys.com/docs/system-coupling/system-coupling-cpp-library/structsysc_1_1SetupFileInfo.md).

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | setupFileName | Setup file name. |
| \[in] | restartsSupported | Flag indicating whether restarts are supported. |

Definition at line [159](https://developer.synopsys.com/docs/system-coupling/system-coupling-cpp-library/CommonTypes_8hpp_source) of file [CommonTypes.hpp](https://developer.synopsys.com/docs/system-coupling/system-coupling-cpp-library/CommonTypes_8hpp_source).

```cpp theme={null}
                                                                  :
       setupFileName(std::move(setupFileName)),
       restartsSupported(restartsSupported){};
```

## Member Data Documentation

### restartsSupported

```cpp theme={null}
bool sysc::SetupFileInfo::restartsSupported
```

Do not use.

Definition at line [132](https://developer.synopsys.com/docs/system-coupling/system-coupling-cpp-library/CommonTypes_8hpp_source) of file [CommonTypes.hpp](https://developer.synopsys.com/docs/system-coupling/system-coupling-cpp-library/CommonTypes_8hpp_source).

### setupFileName

```cpp theme={null}
std::string sysc::SetupFileInfo::setupFileName
```

Setup file name.

Definition at line [131](https://developer.synopsys.com/docs/system-coupling/system-coupling-cpp-library/CommonTypes_8hpp_source) of file [CommonTypes.hpp](https://developer.synopsys.com/docs/system-coupling/system-coupling-cpp-library/CommonTypes_8hpp_source).
