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

# Class ansys::dpf::OperatorConfig

![][C++]
![][public]

used to configure options on how the operator is running.

**Inherits from**:

* [ansys::dpf::DpfTypes](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-dpftypes.md)

## Inner classes

* [ansys::dpf::OperatorConfig::options](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/structansys-dpf-operatorconfig-options.md)

## Members

* [callAPI](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-dpftypes.md#classansys-dpf-dpftypes-1aea34d37e0c080126eff70db34bf46597)
* [describe](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-dpftypes.md#classansys-dpf-dpftypes-1a9977945710983bc03d2940fa007847b2)
* [empty](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-dpftypes.md#classansys-dpf-dpftypes-1a39cd546c42518e2332be8f287db95459)
* [getBoolValue](#classansys-dpf-operatorconfig-1a3948249196192234ee24269ba8e994b7)
* [getClient](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-dpftypes.md#classansys-dpf-dpftypes-1a968afd9daa0b0f13b65a2ac61369d73a)
* [getDoubleValue](#classansys-dpf-operatorconfig-1a8401495df9777cc8a53f35ecaca55460)
* [getIntValue](#classansys-dpf-operatorconfig-1a01286ef94df39436cb4696d87e606121)
* [hasBeenMovedLocally](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-dpftypes.md#classansys-dpf-dpftypes-1a1a5634202c15404b6b24e8f50e51cb66)
* [hasInternalObject](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-dpftypes.md#classansys-dpf-dpftypes-1ae198f89868d85c7db6dc1a934a1d3c15)
* [hasOption](#classansys-dpf-operatorconfig-1add327e8dbb91f54919cce1a6966955e6)
* [isOnCommonAPI](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-dpftypes.md#classansys-dpf-dpftypes-1a9f9789ff61cc9d400a2a344830706b73)
* [isSameObject](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-dpftypes.md#classansys-dpf-dpftypes-1aa64d5f8fcd7d85ad6ebf708494dbefd7)
* [numOptions](#classansys-dpf-operatorconfig-1aadd5caf726b8a6298c1b774dd6fd2710)
* [operator=](#classansys-dpf-operatorconfig-1a6775bcdd902b40d67a1a6621000c95a7)
* [operator=](#classansys-dpf-operatorconfig-1a533a898113954f598ecff282260a1c83)
* [OperatorConfig](#classansys-dpf-operatorconfig-1afb8f35dc440a52bca9ebc000bb47f61a)
* [OperatorConfig](#classansys-dpf-operatorconfig-1a3612c4dc533aa2cce61167723dccb9a9)
* [OperatorConfig](#classansys-dpf-operatorconfig-1a51d61d8a882880bbf6bbece60306ba92)
* [OperatorConfig](#classansys-dpf-operatorconfig-1ad050600a10a4b6c5abffe8a92715c24e)
* [options](#classansys-dpf-operatorconfig-1ae02e4297e6fa9030d1ff3179fefe04b5)
* [optionsAndValues](#classansys-dpf-operatorconfig-1a1a374278aa4699eb86506544b1c573e1)
* [set](#classansys-dpf-operatorconfig-1a13fa51659fa378a6f67b344bbb9ea1be)
* [set](#classansys-dpf-operatorconfig-1a0d8e1b93cb98e68d514566a3b8bd15c3)
* [set](#classansys-dpf-operatorconfig-1ac299a4de0fbf84d4405d35c7bfe0d9f6)
* [\~DpfTypes](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-dpftypes.md#classansys-dpf-dpftypes-1ab7c83b6ea160c2b115e056f6c312112f)

## Friends

## Public functions

### Function OperatorConfig

![][public]

```cpp theme={null}
ansys::dpf::OperatorConfig::OperatorConfig()
```

**Return type**:

### Function OperatorConfig

![][public]

```cpp theme={null}
ansys::dpf::OperatorConfig::OperatorConfig(Client const *const client)
```

**Parameters**:

* [Client](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-client.md) const \*const **client**: \[in] [Client](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-client.md) instance designating the IP, port and protocol to use.

**Return type**:

### Function OperatorConfig

![][public]

```cpp theme={null}
ansys::dpf::OperatorConfig::OperatorConfig(OperatorConfig &&) noexcept
```

**Parameters**:

* OperatorConfig &&

**Return type**:

### Function OperatorConfig

![][public]

```cpp theme={null}
ansys::dpf::OperatorConfig::OperatorConfig(OperatorConfig const &)
```

**Parameters**:

* OperatorConfig const &

**Return type**:

### Function operator=

![][public]

```cpp theme={null}
OperatorConfig & ansys::dpf::OperatorConfig::operator=(OperatorConfig const &)
```

**Parameters**:

* OperatorConfig const &

**Return type**: OperatorConfig &

### Function operator=

![][public]

```cpp theme={null}
OperatorConfig & ansys::dpf::OperatorConfig::operator=(OperatorConfig &&) noexcept
```

**Parameters**:

* OperatorConfig &&

**Return type**: OperatorConfig &

### Function numOptions

![][public]
![][const]

```cpp theme={null}
int ansys::dpf::OperatorConfig::numOptions() const
```

**Returns**:

Number of avalable options.

**Return type**: int

### Function options

![][public]

```cpp theme={null}
std::vector< std::string > ansys::dpf::OperatorConfig::options()
```

**Returns**:

Vector of option names.

**Return type**: std::vector\< std::string >

### Function optionsAndValues

![][public]

```cpp theme={null}
std::map< std::string, std::string > ansys::dpf::OperatorConfig::optionsAndValues()
```

**Returns**:

Map of option and printable values.

**Return type**: std::map\< std::string, std::string >

### Function set

![][public]

```cpp theme={null}
void ansys::dpf::OperatorConfig::set(std::string const &option, dp_int value)
```

Sets option to integer value.

**Parameters**:

* std::string const & **option**: \[in] Option name.
* [dp\_int](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/namespaceansys-dpf.md#namespaceansys-dpf-1a60d181a1f9d29cc7cc38b25dac4401f0) **value**: \[in] Value for option.

**Return type**: void

### Function set

![][public]

```cpp theme={null}
void ansys::dpf::OperatorConfig::set(std::string const &option, dp_double value)
```

Sets option to double value.

**Parameters**:

* std::string const & **option**: \[in] Option name.
* [dp\_double](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/namespaceansys-dpf.md#namespaceansys-dpf-1acb480013bfed185b5e34a0bdcb0e3790) **value**: \[in] Value for option.

**Return type**: void

### Function set

![][public]

```cpp theme={null}
void ansys::dpf::OperatorConfig::set(std::string const &option, bool value)
```

Sets option to boolean value.

**Parameters**:

* std::string const & **option**: \[in] Option name.
* bool **value**: \[in] Value for option.

**Return type**: void

### Function getIntValue

![][public]
![][const]

```cpp theme={null}
int ansys::dpf::OperatorConfig::getIntValue(std::string const &option) const
```

**Returns**:

Integer value of given option.

**Parameters**:

* std::string const & **option**: \[in] Option name.

**Return type**: int

### Function getDoubleValue

![][public]
![][const]

```cpp theme={null}
double ansys::dpf::OperatorConfig::getDoubleValue(std::string const &option) const
```

**Returns**:

Double value of given option.

**Parameters**:

* std::string const & **option**: \[in] Option name.

**Return type**: double

### Function getBoolValue

![][public]
![][const]

```cpp theme={null}
bool ansys::dpf::OperatorConfig::getBoolValue(std::string const &option) const
```

**Returns**:

Boolean value of given option.

**Parameters**:

* std::string const & **option**: \[in] Option name.

**Return type**: bool

### Function hasOption

![][public]
![][const]

```cpp theme={null}
bool ansys::dpf::OperatorConfig::hasOption(std::string const &option) const
```

**Returns**:

Boolean value if given optin exists in config.

**Parameters**:

* std::string const & **option**: \[in] Option name.

**Return type**: bool

[C++]: https://img.shields.io/badge/language-C%2B%2B-blue "C++"

[const]: https://img.shields.io/badge/-const-lightblue "const"

[public]: https://img.shields.io/badge/-public-brightgreen "public"

[static]: https://img.shields.io/badge/-static-lightgrey "static"
