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

# ansys::dpf::GenericSupport Class Reference

Define a generic support.

`#include <dpf_api.h>`

Inheritance diagram for ansys::dpf::GenericSupport:

![](https://mintcdn.com/synopsys-00a47cbc/Srh1_f--TdKCLyqD/docs/dpf/dpf-cpp-client-library/2025-r1/classansys_1_1dpf_1_1GenericSupport.png?fit=max\&auto=format\&n=Srh1_f--TdKCLyqD\&q=85\&s=b51edb3388bfcbd27ab915183b32b9e7)

## Public Member Functions

| Type | Name |
| - | - |
| | **GenericSupport** ([Location](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/structansys_1_1dpf_1_1Location.md) const \&location) |
| | [GenericSupport](#ab69289ea19752bb26eff730f73269ede) ([Location](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/structansys_1_1dpf_1_1Location.md) const \&location, [Client](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/classansys_1_1dpf_1_1Client.md) const \*const client) |
| | **GenericSupport** ([GenericSupport](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/classansys_1_1dpf_1_1GenericSupport.md) const &) |
| | **GenericSupport** ([GenericSupport](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/classansys_1_1dpf_1_1GenericSupport.md) &&) noexcept |
| [GenericSupport](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/classansys_1_1dpf_1_1GenericSupport.md) & | **operator=** ([GenericSupport](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/classansys_1_1dpf_1_1GenericSupport.md) const &) |
| [GenericSupport](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/classansys_1_1dpf_1_1GenericSupport.md) & | **operator=** ([GenericSupport](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/classansys_1_1dpf_1_1GenericSupport.md) &&) noexcept |
| void | [setSupportOfProperty](#af2e77d87cb69995c0189349ee42264b3) ([PropertyType](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/structansys_1_1dpf_1_1PropertyType.md) const \&property\_name, [Field](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/classansys_1_1dpf_1_1Field.md) const \&field) const |
| void | [setSupportOfProperty](#a3315d3bd4873c1bc7d5f96a94c8a13ca) ([PropertyType](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/structansys_1_1dpf_1_1PropertyType.md) const \&property\_name, [PropertyField](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/classansys_1_1dpf_1_1PropertyField.md) const \&field) const |
| void | [setSupportOfProperty](#a4cff390263e550b35c34bbc7f7f675d4) ([PropertyType](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/structansys_1_1dpf_1_1PropertyType.md) const \&property\_name, [StringField](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/classansys_1_1dpf_1_1StringField.md) const \&field) const |

> [accordion] Public Member Functions inherited from ansys::dpf::Support
>
> Public Member Functions inherited from [ansys::dpf::Support](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/classansys_1_1dpf_1_1Support.md)
>
> | Type | Name |
> | - | - |
> | | **Support** ([Support](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/classansys_1_1dpf_1_1Support.md) const &) |
> | | **Support** ([Support](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/classansys_1_1dpf_1_1Support.md) &&) noexcept |
> | [Support](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/classansys_1_1dpf_1_1Support.md) & | **operator=** ([Support](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/classansys_1_1dpf_1_1Support.md) const &) |
> | [Support](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/classansys_1_1dpf_1_1Support.md) & | **operator=** ([Support](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/classansys_1_1dpf_1_1Support.md) &&) noexcept |
> | bool | [isMeshedDomain](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/classansys_1_1dpf_1_1Support.md#a3cad097e6d82306d5ab8ba23bdb7c8ff) () const |
> | [MeshedRegion](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/classansys_1_1dpf_1_1MeshedRegion.md) | [getAsDomainMesh](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/classansys_1_1dpf_1_1Support.md#a244cc29be85eb6192faf468268478064) () const |
> | [CyclicSupport](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/classansys_1_1dpf_1_1CyclicSupport.md) | [getAsCyclicSupport](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/classansys_1_1dpf_1_1Support.md#a5903cf9eb1f3f3fec9fc0a22331db3d3) () const |
> | [TimeFreqSupport](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/classansys_1_1dpf_1_1TimeFreqSupport.md) | [getAsTimeFreqSupport](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/classansys_1_1dpf_1_1Support.md#a2ced0ad4403332166b14f301d67f4a4e) () const |
> | [Field](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/classansys_1_1dpf_1_1Field.md) | [getFieldSupportByProperty](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/classansys_1_1dpf_1_1Support.md#aa4704f682e0e0543acf44e37e9350aab) ([PropertyType](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/structansys_1_1dpf_1_1PropertyType.md) const \&property\_name) const |
> | [PropertyField](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/classansys_1_1dpf_1_1PropertyField.md) | [getPropertyFieldSupportByProperty](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/classansys_1_1dpf_1_1Support.md#a7b80b961c6418d9c54bb2d50560d3d2f) ([PropertyType](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/structansys_1_1dpf_1_1PropertyType.md) const \&property\_name) const |
> | [StringField](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/classansys_1_1dpf_1_1StringField.md) | [getStringFieldSupportByProperty](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/classansys_1_1dpf_1_1Support.md#a85465ef9621478e6990fddc5ecddc264) ([PropertyType](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/structansys_1_1dpf_1_1PropertyType.md) const \&property\_name) const |
> | std::vector\< std::string > | [getAvailablePropertyNamesForFields](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/classansys_1_1dpf_1_1Support.md#ac6c5332826a5eb2814e71a02fe3e7132) () const |
> | std::vector\< std::string > | [getAvailablePropertyNamesForPropertyFields](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/classansys_1_1dpf_1_1Support.md#adb40c35236879d4d6d8a418c618a2f00) () const |
> | std::vector\< std::string > | [getAvailablePropertyNamesForStringFields](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/classansys_1_1dpf_1_1Support.md#aefed9b020ce057f1c59e87c5cd0c11f5) () const |

> [accordion] Public Member Functions inherited from ansys::dpf::DpfTypes
>
> Public Member Functions inherited from [ansys::dpf::DpfTypes](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/classansys_1_1dpf_1_1DpfTypes.md)
>
> | Type | Name |
> | - | - |
> | virtual bool | [empty](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/classansys_1_1dpf_1_1DpfTypes.md#a39cd546c42518e2332be8f287db95459) () const |
> | virtual bool | [hasInternalObject](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/classansys_1_1dpf_1_1DpfTypes.md#ae198f89868d85c7db6dc1a934a1d3c15) () const |
> | virtual std::string | [describe](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/classansys_1_1dpf_1_1DpfTypes.md#a9977945710983bc03d2940fa007847b2) () const |
> | so::API const \* | [callAPI](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/classansys_1_1dpf_1_1DpfTypes.md#aea34d37e0c080126eff70db34bf46597) () const |
> | bool | [isOnCommonAPI](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/classansys_1_1dpf_1_1DpfTypes.md#a9f9789ff61cc9d400a2a344830706b73) () const |
> | bool | [getClient](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/classansys_1_1dpf_1_1DpfTypes.md#a968afd9daa0b0f13b65a2ac61369d73a) ([Client](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/classansys_1_1dpf_1_1Client.md) \&client) const |
> | bool | [hasBeenMovedLocally](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/classansys_1_1dpf_1_1DpfTypes.md#a1a5634202c15404b6b24e8f50e51cb66) () const |
> | bool | [isSameObject](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/classansys_1_1dpf_1_1DpfTypes.md#aa64d5f8fcd7d85ad6ebf708494dbefd7) ([DpfTypes](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/classansys_1_1dpf_1_1DpfTypes.md) const \&rhs) const |

## Static Public Member Functions

| Type | Name |
| - | - |
| static [GenericSupport](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/classansys_1_1dpf_1_1GenericSupport.md) | [emptyGenericSupport](#aa561f217253e9f5ef38c1d027d08b560) () |

> [accordion] Static Public Member Functions inherited from ansys::dpf::Support
>
> Static Public Member Functions inherited from [ansys::dpf::Support](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/classansys_1_1dpf_1_1Support.md)
>
> | Type | Name |
> | - | - |
> | static [Support](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/classansys_1_1dpf_1_1Support.md) | [emptySupport](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/classansys_1_1dpf_1_1Support.md#ad5b62f0bc3fc29380461006280edf89b) () |

## Detailed Description

Define a generic support.

[GenericSupport](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/classansys_1_1dpf_1_1GenericSupport.md) can support a location to describe its domain with its scope and properties.

## Constructor & Destructor Documentation

### GenericSupport()

```cpp theme={null}
ansys::dpf::GenericSupport::GenericSupport(
    Location const & location,
    Client const *const client
)
```

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | client | [Client](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/classansys_1_1dpf_1_1Client.md) instance designating the IP, port and protocol to use. |

## Member Function Documentation

### emptyGenericSupport()

```cpp theme={null}
static GenericSupport ansys::dpf::GenericSupport::emptyGenericSupport()
```

`static`

Create an empty support.

**Returns**

Empty [Support](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/classansys_1_1dpf_1_1Support.md).

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

```cpp theme={null}
void ansys::dpf::GenericSupport::setSupportOfProperty(
    PropertyType const & property_name,
    Field const & field
) const
```

insert (if new) or replace a property with its name and [Field](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/classansys_1_1dpf_1_1Field.md) value.

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

```cpp theme={null}
void ansys::dpf::GenericSupport::setSupportOfProperty(
    PropertyType const & property_name,
    PropertyField const & field
) const
```

insert (if new) or replace a property with its name and [PropertyField](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/classansys_1_1dpf_1_1PropertyField.md) value.

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

```cpp theme={null}
void ansys::dpf::GenericSupport::setSupportOfProperty(
    PropertyType const & property_name,
    StringField const & field
) const
```

insert (if new) or replace a property with its name and [StringField](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/classansys_1_1dpf_1_1StringField.md) value.
