> ## 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::ResultInfo

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

Provides information on all available results

**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::ResultInfo::Result](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-resultinfo-result.md)
* [ansys::dpf::ResultInfo::subresult](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/structansys-dpf-resultinfo-subresult.md)

## Members

* [addAvailableQualifiersForAllResults](#classansys-dpf-resultinfo-1a7ee77df7c3754986d3aa67dbc258883c)
* [addProperties](#classansys-dpf-resultinfo-1ab33285e41a67d2a412e847f6f159a355)
* [addProperties](#classansys-dpf-resultinfo-1a8d15940ba2e8825a0eae2239a65f2311)
* [addResult](#classansys-dpf-resultinfo-1a8b68b2bf88b1ef946ad7b559e187d179)
* [addResult](#classansys-dpf-resultinfo-1aaa7f97f22a08851e10f4f8a1294077c7)
* [analysis\_type](#classansys-dpf-resultinfo-1a7242b85e3d035f0953356a1146e742ae)
* [analysisType](#classansys-dpf-resultinfo-1a9cbdb503d903b0a8212cc32a952c1ad2)
* [analysisTypeName](#classansys-dpf-resultinfo-1ac0f80a2ea905a13dccc274790ef6cbc7)
* [availableQualifierLabels](#classansys-dpf-resultinfo-1a5bc76572a71debbc4c0c5386e39c7470)
* [availableResults](#classansys-dpf-resultinfo-1a48e23d251d6109166a2a1f681a39c58a)
* [availableSubResults](#classansys-dpf-resultinfo-1af72de6732b08cca024fd01abd0ee8d99)
* [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)
* [description](#classansys-dpf-resultinfo-1a224325bb3a8b4646000d137a7c2eab10)
* [eBukling](#classansys-dpf-resultinfo-1a7242b85e3d035f0953356a1146e742aea612e3eb454ecf257bb23df2034536b7c)
* [eCMS](#classansys-dpf-resultinfo-1a7242b85e3d035f0953356a1146e742aeaf79921aaee3274bd74fe2cb9a008f2a1)
* [eElectric](#classansys-dpf-resultinfo-1a4c9d8d076df7a3899011b1b2195dfabaaffc8f46f099407c3b33cfee2223f9a51)
* [eFluid](#classansys-dpf-resultinfo-1a4c9d8d076df7a3899011b1b2195dfabaadadd255c26d856ba97f4a290b3769107)
* [eHarmonic](#classansys-dpf-resultinfo-1a7242b85e3d035f0953356a1146e742aea621f9ba94cd5dbd3a5022b622d9852fe)
* [eMagnetic](#classansys-dpf-resultinfo-1a4c9d8d076df7a3899011b1b2195dfabaab0d1187e954a2daba76caaa684203bbb)
* [eMecanic](#classansys-dpf-resultinfo-1a4c9d8d076df7a3899011b1b2195dfabaab1cdf6ed7eb8c9102327076240beb06f)
* [eModal](#classansys-dpf-resultinfo-1a7242b85e3d035f0953356a1146e742aea43233e3b7bde6dd3bc1fcce08792094c)
* [empty](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-dpftypes.md#classansys-dpf-dpftypes-1a39cd546c42518e2332be8f287db95459)
* [emptyResultInfo](#classansys-dpf-resultinfo-1a145571361ee459da296a2094aee7a0aa)
* [eMSUP](#classansys-dpf-resultinfo-1a7242b85e3d035f0953356a1146e742aea0740b5eadcd2cdcb124b57e5768ae34c)
* [ePSD](#classansys-dpf-resultinfo-1a7242b85e3d035f0953356a1146e742aea7dd25e302695ae006f756805aa1601de)
* [eSpectrum](#classansys-dpf-resultinfo-1a7242b85e3d035f0953356a1146e742aea1492b0b5fbb719dc8793c73fdbd78ed2)
* [eStatic](#classansys-dpf-resultinfo-1a7242b85e3d035f0953356a1146e742aea2ad50e8511b81f014d3275f5ac2d617d)
* [eSubStruct](#classansys-dpf-resultinfo-1a7242b85e3d035f0953356a1146e742aea01e51f9752975dba490d540b4d5f47ce)
* [eThermal](#classansys-dpf-resultinfo-1a4c9d8d076df7a3899011b1b2195dfabaafeef68cbb19a910a625becb69c3a0510)
* [eTransient](#classansys-dpf-resultinfo-1a7242b85e3d035f0953356a1146e742aea113a03346a5a097dd6594fd44c6d7d1d)
* [eUnknownAnalysis](#classansys-dpf-resultinfo-1a7242b85e3d035f0953356a1146e742aea533f3644550f70cbfc2a2892f9aba9c5)
* [eUnknownPhysics](#classansys-dpf-resultinfo-1a4c9d8d076df7a3899011b1b2195dfabaad00f4b71e4db56a56048bc9ecd1786f3)
* [getClient](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-dpftypes.md#classansys-dpf-dpftypes-1a968afd9daa0b0f13b65a2ac61369d73a)
* [getCyclicSupport](#classansys-dpf-resultinfo-1ad2e01a708a6c666323f5fa8d1806feed)
* [getIntProperty](#classansys-dpf-resultinfo-1a88a913a835dfc6688869efcb0745e1be)
* [getStringProperty](#classansys-dpf-resultinfo-1ab1af821d17d4835e7c992c048323d735)
* [hasBeenMovedLocally](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-dpftypes.md#classansys-dpf-dpftypes-1a1a5634202c15404b6b24e8f50e51cb66)
* [hasCyclicSymmetry](#classansys-dpf-resultinfo-1a927d3c7ce604380c710cfbd4e8a5e801)
* [hasCyclicSymmetry](#classansys-dpf-resultinfo-1a49defb2d47169645db3d8c636597e513)
* [hasInternalObject](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-dpftypes.md#classansys-dpf-dpftypes-1ae198f89868d85c7db6dc1a934a1d3c15)
* [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)
* [job\_name](#classansys-dpf-resultinfo-1ae6ed610647bdabcc9baab02b19462f99)
* [location](#classansys-dpf-resultinfo-1a34c2142d20b7121084cd42874f99560d)
* [main\_title](#classansys-dpf-resultinfo-1a8071bc87922ee65107a63fc2f1eefd3d)
* [nature](#classansys-dpf-resultinfo-1ab47931a377a99ccb9bc6727bb6187d74)
* [numberOfComponents](#classansys-dpf-resultinfo-1a33fc997e9f5a93b23afac8ca753d0c25)
* [numberOfResults](#classansys-dpf-resultinfo-1a69427d3a5823aa23acfc59b891fa662a)
* [numberOfSubResults](#classansys-dpf-resultinfo-1a66ba1d7c64eacd4872fca3bdfd968414)
* [operator=](#classansys-dpf-resultinfo-1a2cdb1a252a8b35347d72ef6b543e3acf)
* [operator=](#classansys-dpf-resultinfo-1a72181c28d7f4ab143b62bcc98df77f58)
* [operatorName](#classansys-dpf-resultinfo-1aa090d77720a048d0dbe0f6230ba7500c)
* [operatorNameIsAvailable](#classansys-dpf-resultinfo-1ad8d61b8875d35dd7812d83b63ae68da9)
* [physics\_type](#classansys-dpf-resultinfo-1a4c9d8d076df7a3899011b1b2195dfaba)
* [physicsType](#classansys-dpf-resultinfo-1abc776e636cedf999ab85007904f110a9)
* [physicsTypeName](#classansys-dpf-resultinfo-1a4400684a038c4fd6dbae406e828c94f2)
* [product\_name](#classansys-dpf-resultinfo-1a8b1146409fe3f14fda0b331faf1bf9fe)
* [qualifiers](#classansys-dpf-resultinfo-1ae952c70bd96103690e5f1daf92f7f724)
* [qualifierTypeSupport](#classansys-dpf-resultinfo-1ae978521e336dac2cc7dddc3d2e8a46fa)
* [ResultInfo](#classansys-dpf-resultinfo-1a8e106b476f6790938ef80d10fa0705c3)
* [ResultInfo](#classansys-dpf-resultinfo-1a0a747c548c86ad5b07a4cedd05dc73d0)
* [ResultInfo](#classansys-dpf-resultinfo-1af81f7999b7d31d1d9acdc919ef3fc022)
* [resultNameByOperatorName](#classansys-dpf-resultinfo-1a640956feeee439f2fa42a2fc145fb05d)
* [scriptingName](#classansys-dpf-resultinfo-1ac476a3cc0d4c1bb7c5c02377244c413b)
* [setQualifierLabelSupport](#classansys-dpf-resultinfo-1adc9dde21342797e91d4c3b4c7c66b532)
* [setUnitSystem](#classansys-dpf-resultinfo-1ad25053c5a68986f3948256228aad6cea)
* [solve\_date\_time](#classansys-dpf-resultinfo-1a52ed9fdb1a2a92a7ada0fed534c200b5)
* [solver\_version](#classansys-dpf-resultinfo-1a0d2b564f1b52afc97ef5be1d4e4661f9)
* [subResultDescription](#classansys-dpf-resultinfo-1a09bb53667b42b70d13356395437cfe77)
* [subResultOperatorName](#classansys-dpf-resultinfo-1ad028bbf71ecc484170d725499ab7efbd)
* [unit](#classansys-dpf-resultinfo-1ac2db59f4a0d95572d00c5093e3914246)
* [unitSystem](#classansys-dpf-resultinfo-1a62c992acfa6ffc5b73de0f75f57f7e58)
* [unitSystemName](#classansys-dpf-resultinfo-1ae358df95bebd891adf15148f5b26d21d)
* [user\_name](#classansys-dpf-resultinfo-1ac3786ae43ac33386010794e990a31146)
* [\~DpfTypes](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-dpftypes.md#classansys-dpf-dpftypes-1ab7c83b6ea160c2b115e056f6c312112f)
* [\~ResultInfo](#classansys-dpf-resultinfo-1a99a27115c627ec31921667eec75c6176)

## Public types

### Enumeration type analysis\_type

![][public]

```cpp theme={null}
enum analysis_type {
  eStatic = 0,
  eBukling = 1,
  eModal = 2,
  eHarmonic = 3,
  eCMS = 4,
  eTransient = 5,
  eMSUP = 6,
  eSubStruct = 7,
  eSpectrum = 8,
  eUnknownAnalysis = 9,
  ePSD = 10
}
```

Analysis Type.

#### Enumerator eStatic

Static.

#### Enumerator eBukling

Bukling.

#### Enumerator eModal

Modal.

#### Enumerator eHarmonic

Harmonic.

#### Enumerator eCMS

CMS.

#### Enumerator eTransient

Transient.

#### Enumerator eMSUP

MSUP.

#### Enumerator eSubStruct

SubStruct.

#### Enumerator eSpectrum

Spectrum.

#### Enumerator eUnknownAnalysis

Unknown analysis type.

#### Enumerator ePSD

PSD.

### Enumeration type physics\_type

![][public]

```cpp theme={null}
enum physics_type {
  eMecanic = 0,
  eThermal = 1,
  eMagnetic = 2,
  eElectric = 3,
  eFluid = 5,
  eUnknownPhysics = 4
}
```

Physics Type.

#### Enumerator eMecanic

Mechanical.

#### Enumerator eThermal

Thermal.

#### Enumerator eMagnetic

Magnetic.

#### Enumerator eElectric

Electric.

#### Enumerator eFluid

Fluid.

#### Enumerator eUnknownPhysics

Unknown physics type.

## Friends

## Public functions

### Function ResultInfo

![][public]

```cpp theme={null}
ansys::dpf::ResultInfo::ResultInfo(analysis_type const &analysis_type=analysis_type::eUnknownAnalysis, physics_type const &physics_type=physics_type::eUnknownPhysics)
```

**Parameters**:

* [analysis\_type](#classansys-dpf-resultinfo-1a7242b85e3d035f0953356a1146e742ae) const & **analysis\_type** = [analysis\_type::eUnknownAnalysis](#classansys-dpf-resultinfo-1a7242b85e3d035f0953356a1146e742aea533f3644550f70cbfc2a2892f9aba9c5)
* [physics\_type](#classansys-dpf-resultinfo-1a4c9d8d076df7a3899011b1b2195dfaba) const & **physics\_type** = [physics\_type::eUnknownPhysics](#classansys-dpf-resultinfo-1a4c9d8d076df7a3899011b1b2195dfabaad00f4b71e4db56a56048bc9ecd1786f3)

**Return type**:

### Function \~ResultInfo

![][public]

```cpp theme={null}
virtual ansys::dpf::ResultInfo::~ResultInfo()
```

**Return type**:

### Function ResultInfo

![][public]

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

**Parameters**:

* ResultInfo const &

**Return type**:

### Function ResultInfo

![][public]

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

**Parameters**:

* ResultInfo &&

**Return type**:

### Function operator=

![][public]

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

**Parameters**:

* ResultInfo const &

**Return type**: ResultInfo &

### Function operator=

![][public]

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

**Parameters**:

* ResultInfo &&

**Return type**: ResultInfo &

### Function analysisType

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

```cpp theme={null}
analysis_type ansys::dpf::ResultInfo::analysisType() const
```

**Returns**:

Analysis type for all results.

**Return type**: [analysis\_type](#classansys-dpf-resultinfo-1a7242b85e3d035f0953356a1146e742ae)

### Function physicsType

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

```cpp theme={null}
physics_type ansys::dpf::ResultInfo::physicsType() const
```

**Returns**:

Phyiscs type for all results.

**Return type**: [physics\_type](#classansys-dpf-resultinfo-1a4c9d8d076df7a3899011b1b2195dfaba)

### Function unitSystem

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

```cpp theme={null}
UnitSystem ansys::dpf::ResultInfo::unitSystem() const
```

**Returns**:

[Unit](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-unit.md) system for all results.

**Return type**: [UnitSystem](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/structansys-dpf-unitsystem.md)

### Function analysisTypeName

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

```cpp theme={null}
std::string ansys::dpf::ResultInfo::analysisTypeName() const
```

**Returns**:

Analysis type name for all results.

**Return type**: std::string

### Function physicsTypeName

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

```cpp theme={null}
std::string ansys::dpf::ResultInfo::physicsTypeName() const
```

**Returns**:

Phyiscs type name for all results.

**Return type**: std::string

### Function unitSystemName

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

```cpp theme={null}
std::string ansys::dpf::ResultInfo::unitSystemName() const
```

**Returns**:

[Unit](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-unit.md) system name for all results.

**Return type**: std::string

### Function numberOfResults

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

```cpp theme={null}
dp_int ansys::dpf::ResultInfo::numberOfResults() const
```

**Returns**:

Number of results.

**Return type**: [dp\_int](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/namespaceansys-dpf.md#namespaceansys-dpf-1a60d181a1f9d29cc7cc38b25dac4401f0)

### Function availableResults

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

```cpp theme={null}
std::set< std::string > ansys::dpf::ResultInfo::availableResults() const
```

The result name might be something like temperature.
**Returns**:

Set of names for all results.

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

### Function resultNameByOperatorName

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

```cpp theme={null}
std::string ansys::dpf::ResultInfo::resultNameByOperatorName(std::string const &op_name) const
```

For a result name like Temperature, the operator name might be something like TEMP.
**Returns**:

Name of result

**Parameters**:

* std::string const & **op\_name**: \[in] [Operator](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-operator.md) name.

**Return type**: std::string

### Function operatorName

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

```cpp theme={null}
std::string ansys::dpf::ResultInfo::operatorName(std::string const &res_name) const
```

The operator name might be something like TEMP, where the result name is Temperature.
**Returns**:

[Operator](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-operator.md) name

**Parameters**:

* std::string const & **res\_name**: \[in] [Result](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-result.md) name.

**Return type**: std::string

### Function scriptingName

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

```cpp theme={null}
std::string ansys::dpf::ResultInfo::scriptingName(std::string const &res_name) const
```

The operator scripting name is used to instantiate the operator in scripting, ex: displacement, elastic\_strain...
**Returns**:

[Operator](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-operator.md) scripting name

**Parameters**:

* std::string const & **res\_name**: \[in] [Result](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-result.md) name.

**Return type**: std::string

### Function unit

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

```cpp theme={null}
ansys::dpf::Unit ansys::dpf::ResultInfo::unit(std::string const &res_name) const
```

**Returns**:

[Unit](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-unit.md) for given result name.

**Parameters**:

* std::string const & **res\_name**: \[in] [Result](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-result.md) name.

**Return type**: [ansys::dpf::Unit](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-unit.md)

### Function numberOfComponents

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

```cpp theme={null}
dp_int ansys::dpf::ResultInfo::numberOfComponents(std::string const &res_name) const
```

**Returns**:

Number of components for given result name.

**Parameters**:

* std::string const & **res\_name**: \[in] [Result](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-result.md) name.

**Return type**: [dp\_int](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/namespaceansys-dpf.md#namespaceansys-dpf-1a60d181a1f9d29cc7cc38b25dac4401f0)

### Function description

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

```cpp theme={null}
std::string ansys::dpf::ResultInfo::description(std::string const &res_name) const
```

**Returns**:

Description of given result name.

**Parameters**:

* std::string const & **res\_name**: \[in] [Result](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-result.md) name.

**Return type**: std::string

### Function location

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

```cpp theme={null}
ansys::dpf::Location ansys::dpf::ResultInfo::location(std::string const &res_name) const
```

**Returns**:

[Location](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/structansys-dpf-location.md) of given result name.

**Parameters**:

* std::string const & **res\_name**: \[in] [Result](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-result.md) name.

**Return type**: [ansys::dpf::Location](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/structansys-dpf-location.md)

### Function nature

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

```cpp theme={null}
Dimensionality::ENature ansys::dpf::ResultInfo::nature(std::string const &res_name) const
```

**Returns**:

Nature for given result name.

**Parameters**:

* std::string const & **res\_name**: \[in] [Result](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-result.md) name.

**Return type**: [Dimensionality::ENature](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/structansys-dpf-dimensionality.md#structansys-dpf-dimensionality-1af4666dee615e27f2fe603240631b932f)

### Function qualifiers

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

```cpp theme={null}
LabelSpacesVector ansys::dpf::ResultInfo::qualifiers(std::string const &res_name) const
```

**Parameters**:

* std::string const & **res\_name**: \[in] [Result](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-result.md) name.

**Return type**: LabelSpacesVector

### Function numberOfSubResults

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

```cpp theme={null}
dp_int ansys::dpf::ResultInfo::numberOfSubResults(std::string const &res_name) const
```

**Returns**:

Number of subresults for given result name.

**Parameters**:

* std::string const & **res\_name**: \[in] [Result](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-result.md) name.

**Return type**: [dp\_int](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/namespaceansys-dpf.md#namespaceansys-dpf-1a60d181a1f9d29cc7cc38b25dac4401f0)

### Function availableSubResults

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

```cpp theme={null}
std::set< std::string > ansys::dpf::ResultInfo::availableSubResults(std::string const &res_name) const
```

**Returns**:

Set of names of subresults for given result name.

**Parameters**:

* std::string const & **res\_name**: \[in] [Result](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-result.md) name.

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

### Function subResultOperatorName

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

```cpp theme={null}
std::string ansys::dpf::ResultInfo::subResultOperatorName(std::string const &res_name, std::string const &subres_name) const
```

**Returns**:

[Operator](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-operator.md) name for given subresult name of given result name

**Parameters**:

* std::string const & **res\_name**: \[in] [Result](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-result.md) name.
* std::string const & **subres\_name**: \[in] Subresult name.

**Return type**: std::string

### Function subResultDescription

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

```cpp theme={null}
std::string ansys::dpf::ResultInfo::subResultDescription(std::string const &res_name, std::string const &subres_name) const
```

**Returns**:

Description for given subresult name of given result name.

**Parameters**:

* std::string const & **res\_name**: \[in] [Result](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-result.md) name.
* std::string const & **subres\_name**: \[in] Subresult name.

**Return type**: std::string

### Function operatorNameIsAvailable

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

```cpp theme={null}
bool ansys::dpf::ResultInfo::operatorNameIsAvailable(std::string const &op_name) const
```

**Returns**:

Indication that operator is available within results and subresults.

**Parameters**:

* std::string const & **op\_name**: \[in] [Operator](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-operator.md) name.

**Return type**: bool

### Function solver\_version

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

```cpp theme={null}
void ansys::dpf::ResultInfo::solver_version(int &major_version, int &minor_version) const
```

Gets solver version.

**Parameters**:

* int & **major\_version**: \[out] Major version.
* int & **minor\_version**: \[out] Minor version.

**Return type**: void

### Function solve\_date\_time

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

```cpp theme={null}
void ansys::dpf::ResultInfo::solve_date_time(int &solve_date, int &solve_time) const
```

Gets solver date and time.

**Parameters**:

* int & **solve\_date**: \[out] Date.
* int & **solve\_time**: \[out] Time.

**Return type**: void

### Function user\_name

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

```cpp theme={null}
std::string ansys::dpf::ResultInfo::user_name() const
```

**Returns**:

User name.

**Return type**: std::string

### Function job\_name

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

```cpp theme={null}
std::string ansys::dpf::ResultInfo::job_name() const
```

**Returns**:

Job name.

**Return type**: std::string

### Function product\_name

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

```cpp theme={null}
std::string ansys::dpf::ResultInfo::product_name() const
```

**Returns**:

Product name.

**Return type**: std::string

### Function main\_title

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

```cpp theme={null}
std::string ansys::dpf::ResultInfo::main_title() const
```

**Returns**:

Main title.

**Return type**: std::string

### Function getCyclicSupport

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

```cpp theme={null}
CyclicSupport ansys::dpf::ResultInfo::getCyclicSupport() const
```

**Returns**:

the cyclic support if the result file has cyclic symmetry (or multistage). The [CyclicSupport](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-cyclicsupport.md) contains information relevant for cyclic expansion

**Return type**: [CyclicSupport](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-cyclicsupport.md)

### Function hasCyclicSymmetry

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

```cpp theme={null}
bool ansys::dpf::ResultInfo::hasCyclicSymmetry(std::string &cyc_symmetry_type) const
```

**Returns**:

true if the result file has cyclic symmetry (or multistage)

**Parameters**:

* std::string & **cyc\_symmetry\_type**: \[out] "single\_stage", "multi\_stage" or "not\_cyclic".

**Return type**: bool

### Function hasCyclicSymmetry

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

```cpp theme={null}
bool ansys::dpf::ResultInfo::hasCyclicSymmetry() const
```

**Returns**:

true if the result file has cyclic symmetry (or multistage)

**Return type**: bool

### Function getStringProperty

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

```cpp theme={null}
std::string ansys::dpf::ResultInfo::getStringProperty(std::string const &property_name) const
```

**Returns**:

a property value: most common are 'user\_name', 'job\_name', 'product\_name', 'main\_title', 'cyclic\_symmetry\_type'.

**Parameters**:

* std::string const & **property\_name**

**Return type**: std::string

### Function getIntProperty

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

```cpp theme={null}
int ansys::dpf::ResultInfo::getIntProperty(std::string const &property_name) const
```

**Returns**:

a property value: most common are 'solve\_time', 'solve\_date', 'solver\_minor\_version', 'solver\_major\_version'.

**Parameters**:

* std::string const & **property\_name**

**Return type**: int

### Function availableQualifierLabels

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

```cpp theme={null}
std::vector< std::string > ansys::dpf::ResultInfo::availableQualifierLabels() const
```

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

### Function qualifierTypeSupport

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

```cpp theme={null}
ansys::dpf::Support ansys::dpf::ResultInfo::qualifierTypeSupport(ansys::dpf::Label const &qualifier) const
```

**Returns**:

[Support](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-support.md) describing the Domain definition of the qualifier type.

**Parameters**:

* [ansys::dpf::Label](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/structansys-dpf-label.md) const & **qualifier**: \[in] [Label](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/structansys-dpf-label.md) describing the location of the qualifier: ex phase, species...

**Return type**: [ansys::dpf::Support](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-support.md)

### Function setUnitSystem

![][public]

```cpp theme={null}
void ansys::dpf::ResultInfo::setUnitSystem(UnitSystem const &unit_system)
```

Set the unit system.

**Parameters**:

* [UnitSystem](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/structansys-dpf-unitsystem.md) const & **unit\_system**

**Return type**: void

### Function addResult

![][public]

```cpp theme={null}
void ansys::dpf::ResultInfo::addResult(std::string const &operator_name, std::string const &scripting_name, ansys::dpf::Dimensionality dimensionality, ansys::dpf::Location const &location, ansys::dpf::Homogeneity const &homogeneity, std::string const &description="")
```

Add a result.

**Parameters**:

* std::string const & **operator\_name**: \[in] [Operator](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-operator.md) name associated to the result.
* std::string const & **scripting\_name**: \[in] friendly name usable as a method: all lower case, no spaces only underscores.
* [ansys::dpf::Dimensionality](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/structansys-dpf-dimensionality.md) **dimensionality**: \[in] [Dimensionality](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/structansys-dpf-dimensionality.md) of the result see [dimensionalities](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/structansys-dpf-dimensionalities.md).
* [ansys::dpf::Location](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/structansys-dpf-location.md) const & **location**: \[in] [Location](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/structansys-dpf-location.md) of the result.
* [ansys::dpf::Homogeneity](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-homogeneity.md) const & **homogeneity**: \[in] [Homogeneity](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-homogeneity.md) of the result.
* std::string const & **description** = "" : \[in] optional small description of the result.

**Return type**: void

### Function addResult

![][public]

```cpp theme={null}
void ansys::dpf::ResultInfo::addResult(Result const &res)
```

Add a result.

**Parameters**:

* Result const & **res**

**Return type**: void

### Function addProperties

![][public]

```cpp theme={null}
void ansys::dpf::ResultInfo::addProperties(std::vector< std::pair< std::string, std::string > >const &properties)
```

**Parameters**:

* std::vector\< std::pair\< std::string, std::string > >const & **properties**: \[in] Most common are 'user\_name', 'job\_name', 'product\_name', 'main\_title', 'cyclic\_symmetry\_type'.

**Return type**: void

### Function addProperties

![][public]

```cpp theme={null}
void ansys::dpf::ResultInfo::addProperties(std::vector< std::pair< std::string, int > >const &properties)
```

**Parameters**:

* std::vector\< std::pair\< std::string, int > >const & **properties**: \[in] Most common are: 'solve\_time', 'solve\_date', 'solver\_minor\_version', 'solver\_major\_version'.

**Return type**: void

### Function addAvailableQualifiersForAllResults

![][public]

```cpp theme={null}
void ansys::dpf::ResultInfo::addAvailableQualifiersForAllResults(LabelSpacesVector const &available_qualifiers)
```

Set the available sub qualifiers (or domains) available for all Results in the [ResultInfo](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-resultinfo.md).

**Parameters**:

* LabelSpacesVector const & **available\_qualifiers**

**Return type**: void

### Function setQualifierLabelSupport

![][public]

```cpp theme={null}
void ansys::dpf::ResultInfo::setQualifierLabelSupport(ansys::dpf::Label const &qualifier, ansys::dpf::Support const &support)
```

Describe the Domain definition for a given qualifier.

**Parameters**:

* [ansys::dpf::Label](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/structansys-dpf-label.md) const & **qualifier**: \[in] [Label](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/structansys-dpf-label.md) describing the location of the qualifier: ex phase, species...
* [ansys::dpf::Support](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-support.md) const & **support**: \[in] Domain definition of the qualifier.

**Return type**: void

## Public static functions

### Function emptyResultInfo

![][public]
![][static]

```cpp theme={null}
static ResultInfo ansys::dpf::ResultInfo::emptyResultInfo()
```

**Return type**: ResultInfo

[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"
