    

 ## On this page

  

 

 # ansys::dpf::ResultInfo Class Reference

 Last update: 16.07.2025 

`#include <dpf_api.h>`

Inheritance diagram for ansys::dpf::ResultInfo:

 ![](/sites/default/files/migrate-content/dpf_cpp_client_library_2023_r2/classansys_1_1dpf_1_1ResultInfo.png)



## <a id="pub-types" name="pub-types"></a>Public Types

enum [analysis\_type](classansys_1_1dpf_1_1ResultInfo.xhtml#a7242b85e3d035f0953356a1146e742ae) {   
 [eStatic](classansys_1_1dpf_1_1ResultInfo.xhtml#a7242b85e3d035f0953356a1146e742aea2ad50e8511b81f014d3275f5ac2d617d) = 0 , [eBukling](classansys_1_1dpf_1_1ResultInfo.xhtml#a7242b85e3d035f0953356a1146e742aea612e3eb454ecf257bb23df2034536b7c) = 1 , [eModal](classansys_1_1dpf_1_1ResultInfo.xhtml#a7242b85e3d035f0953356a1146e742aea43233e3b7bde6dd3bc1fcce08792094c) = 2 , [eHarmonic](classansys_1_1dpf_1_1ResultInfo.xhtml#a7242b85e3d035f0953356a1146e742aea621f9ba94cd5dbd3a5022b622d9852fe) = 3 ,   
 [eCMS](classansys_1_1dpf_1_1ResultInfo.xhtml#a7242b85e3d035f0953356a1146e742aeaf79921aaee3274bd74fe2cb9a008f2a1) = 4 , [eTransient](classansys_1_1dpf_1_1ResultInfo.xhtml#a7242b85e3d035f0953356a1146e742aea113a03346a5a097dd6594fd44c6d7d1d) = 5 , [eMSUP](classansys_1_1dpf_1_1ResultInfo.xhtml#a7242b85e3d035f0953356a1146e742aea0740b5eadcd2cdcb124b57e5768ae34c) = 6 , [eSubStruct](classansys_1_1dpf_1_1ResultInfo.xhtml#a7242b85e3d035f0953356a1146e742aea01e51f9752975dba490d540b4d5f47ce) = 7 ,   
 [eSpectrum](classansys_1_1dpf_1_1ResultInfo.xhtml#a7242b85e3d035f0953356a1146e742aea1492b0b5fbb719dc8793c73fdbd78ed2) = 8 , [eUnknownAnalysis](classansys_1_1dpf_1_1ResultInfo.xhtml#a7242b85e3d035f0953356a1146e742aea533f3644550f70cbfc2a2892f9aba9c5) = 9   
 } enum [physics\_type](classansys_1_1dpf_1_1ResultInfo.xhtml#a4c9d8d076df7a3899011b1b2195dfaba) {   
 [eMecanic](classansys_1_1dpf_1_1ResultInfo.xhtml#a4c9d8d076df7a3899011b1b2195dfabaab1cdf6ed7eb8c9102327076240beb06f) = 0 , [eThermal](classansys_1_1dpf_1_1ResultInfo.xhtml#a4c9d8d076df7a3899011b1b2195dfabaafeef68cbb19a910a625becb69c3a0510) = 1 , [eMagnetic](classansys_1_1dpf_1_1ResultInfo.xhtml#a4c9d8d076df7a3899011b1b2195dfabaab0d1187e954a2daba76caaa684203bbb) = 2 , [eElectric](classansys_1_1dpf_1_1ResultInfo.xhtml#a4c9d8d076df7a3899011b1b2195dfabaaffc8f46f099407c3b33cfee2223f9a51) = 3 ,   
 [eFluid](classansys_1_1dpf_1_1ResultInfo.xhtml#a4c9d8d076df7a3899011b1b2195dfabaadadd255c26d856ba97f4a290b3769107) = 5 , [eUnknownPhysics](classansys_1_1dpf_1_1ResultInfo.xhtml#a4c9d8d076df7a3899011b1b2195dfabaad00f4b71e4db56a56048bc9ecd1786f3) = 4   
 } ## <a id="pub-methods" name="pub-methods"></a>Public Member Functions

<a id="a8e106b476f6790938ef80d10fa0705c3" name="a8e106b476f6790938ef80d10fa0705c3"></a> **ResultInfo** ([analysis\_type](classansys_1_1dpf_1_1ResultInfo.xhtml#a7242b85e3d035f0953356a1146e742ae) const &amp;[analysis\_type](classansys_1_1dpf_1_1ResultInfo.xhtml#a7242b85e3d035f0953356a1146e742ae)=analysis\_type::eUnknownAnalysis, [physics\_type](classansys_1_1dpf_1_1ResultInfo.xhtml#a4c9d8d076df7a3899011b1b2195dfaba) const &amp;[physics\_type](classansys_1_1dpf_1_1ResultInfo.xhtml#a4c9d8d076df7a3899011b1b2195dfaba)=physics\_type::eUnknownPhysics) <a id="a0a747c548c86ad5b07a4cedd05dc73d0" name="a0a747c548c86ad5b07a4cedd05dc73d0"></a> **ResultInfo** ([ResultInfo](classansys_1_1dpf_1_1ResultInfo.xhtml) const &amp;) <a id="a4019bde54bfad87da0da919d4d7b966a" name="a4019bde54bfad87da0da919d4d7b966a"></a> **ResultInfo** ([ResultInfo](classansys_1_1dpf_1_1ResultInfo.xhtml) &amp;&amp;) <a id="a2cdb1a252a8b35347d72ef6b543e3acf" name="a2cdb1a252a8b35347d72ef6b543e3acf"></a>[ResultInfo](classansys_1_1dpf_1_1ResultInfo.xhtml) &amp; **operator=** ([ResultInfo](classansys_1_1dpf_1_1ResultInfo.xhtml) const &amp;) <a id="a7aaca7c337fd059f28fd88efe1e80604" name="a7aaca7c337fd059f28fd88efe1e80604"></a>[ResultInfo](classansys_1_1dpf_1_1ResultInfo.xhtml) &amp; **operator=** ([ResultInfo](classansys_1_1dpf_1_1ResultInfo.xhtml) &amp;&amp;) [analysis\_type](classansys_1_1dpf_1_1ResultInfo.xhtml#a7242b85e3d035f0953356a1146e742ae) [analysisType](classansys_1_1dpf_1_1ResultInfo.xhtml#a9cbdb503d903b0a8212cc32a952c1ad2) () const [physics\_type](classansys_1_1dpf_1_1ResultInfo.xhtml#a4c9d8d076df7a3899011b1b2195dfaba) [physicsType](classansys_1_1dpf_1_1ResultInfo.xhtml#abc776e636cedf999ab85007904f110a9) () const [UnitSystem](structansys_1_1dpf_1_1UnitSystem.xhtml) [unitSystem](classansys_1_1dpf_1_1ResultInfo.xhtml#a62c992acfa6ffc5b73de0f75f57f7e58) () const std::string [analysisTypeName](classansys_1_1dpf_1_1ResultInfo.xhtml#ac0f80a2ea905a13dccc274790ef6cbc7) () const std::string [physicsTypeName](classansys_1_1dpf_1_1ResultInfo.xhtml#a4400684a038c4fd6dbae406e828c94f2) () const std::string [unitSystemName](classansys_1_1dpf_1_1ResultInfo.xhtml#ae358df95bebd891adf15148f5b26d21d) () const [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) [numberOfResults](classansys_1_1dpf_1_1ResultInfo.xhtml#a69427d3a5823aa23acfc59b891fa662a) () const std::set&lt; std::string &gt; [availableResults](classansys_1_1dpf_1_1ResultInfo.xhtml#a48e23d251d6109166a2a1f681a39c58a) () const std::string [resultNameByOperatorName](classansys_1_1dpf_1_1ResultInfo.xhtml#a640956feeee439f2fa42a2fc145fb05d) (std::string const &amp;op\_name) const std::string [operatorName](classansys_1_1dpf_1_1ResultInfo.xhtml#aa090d77720a048d0dbe0f6230ba7500c) (std::string const &amp;res\_name) const std::string [scriptingName](classansys_1_1dpf_1_1ResultInfo.xhtml#ac476a3cc0d4c1bb7c5c02377244c413b) (std::string const &amp;res\_name) const [ansys::dpf::Unit](classansys_1_1dpf_1_1Unit.xhtml) [unit](classansys_1_1dpf_1_1ResultInfo.xhtml#ac2db59f4a0d95572d00c5093e3914246) (std::string const &amp;res\_name) const [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) [numberOfComponents](classansys_1_1dpf_1_1ResultInfo.xhtml#a33fc997e9f5a93b23afac8ca753d0c25) (std::string const &amp;res\_name) const std::string [description](classansys_1_1dpf_1_1ResultInfo.xhtml#a224325bb3a8b4646000d137a7c2eab10) (std::string const &amp;res\_name) const [ansys::dpf::Location](structansys_1_1dpf_1_1Location.xhtml) [location](classansys_1_1dpf_1_1ResultInfo.xhtml#a34c2142d20b7121084cd42874f99560d) (std::string const &amp;res\_name) const [Dimensionality::ENature](structansys_1_1dpf_1_1Dimensionality.xhtml#af4666dee615e27f2fe603240631b932f) [nature](classansys_1_1dpf_1_1ResultInfo.xhtml#ab47931a377a99ccb9bc6727bb6187d74) (std::string const &amp;res\_name) const LabelSpacesVector [qualifiers](classansys_1_1dpf_1_1ResultInfo.xhtml#ae952c70bd96103690e5f1daf92f7f724) (std::string const &amp;res\_name) const [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) [numberOfSubResults](classansys_1_1dpf_1_1ResultInfo.xhtml#a66ba1d7c64eacd4872fca3bdfd968414) (std::string const &amp;res\_name) const std::set&lt; std::string &gt; [availableSubResults](classansys_1_1dpf_1_1ResultInfo.xhtml#af72de6732b08cca024fd01abd0ee8d99) (std::string const &amp;res\_name) const std::string [subResultOperatorName](classansys_1_1dpf_1_1ResultInfo.xhtml#ad028bbf71ecc484170d725499ab7efbd) (std::string const &amp;res\_name, std::string const &amp;subres\_name) const std::string [subResultDescription](classansys_1_1dpf_1_1ResultInfo.xhtml#a09bb53667b42b70d13356395437cfe77) (std::string const &amp;res\_name, std::string const &amp;subres\_name) const bool [operatorNameIsAvailable](classansys_1_1dpf_1_1ResultInfo.xhtml#ad8d61b8875d35dd7812d83b63ae68da9) (std::string const &amp;op\_name) const void [solver\_version](classansys_1_1dpf_1_1ResultInfo.xhtml#a0d2b564f1b52afc97ef5be1d4e4661f9) (int &amp;major\_version, int &amp;minor\_version) const void [solve\_date\_time](classansys_1_1dpf_1_1ResultInfo.xhtml#a52ed9fdb1a2a92a7ada0fed534c200b5) (int &amp;solve\_date, int &amp;solve\_time) const std::string [user\_name](classansys_1_1dpf_1_1ResultInfo.xhtml#ac3786ae43ac33386010794e990a31146) () const std::string [job\_name](classansys_1_1dpf_1_1ResultInfo.xhtml#ae6ed610647bdabcc9baab02b19462f99) () const std::string [product\_name](classansys_1_1dpf_1_1ResultInfo.xhtml#a8b1146409fe3f14fda0b331faf1bf9fe) () const std::string [main\_title](classansys_1_1dpf_1_1ResultInfo.xhtml#a8071bc87922ee65107a63fc2f1eefd3d) () const [CyclicSupport](classansys_1_1dpf_1_1CyclicSupport.xhtml) [getCyclicSupport](classansys_1_1dpf_1_1ResultInfo.xhtml#ad2e01a708a6c666323f5fa8d1806feed) () const bool [hasCyclicSymmetry](classansys_1_1dpf_1_1ResultInfo.xhtml#a927d3c7ce604380c710cfbd4e8a5e801) (std::string &amp;cyc\_symmetry\_type) const bool [hasCyclicSymmetry](classansys_1_1dpf_1_1ResultInfo.xhtml#a49defb2d47169645db3d8c636597e513) () const std::string [getStringProperty](classansys_1_1dpf_1_1ResultInfo.xhtml#ab1af821d17d4835e7c992c048323d735) (std::string const &amp;property\_name) const int [getIntProperty](classansys_1_1dpf_1_1ResultInfo.xhtml#a88a913a835dfc6688869efcb0745e1be) (std::string const &amp;property\_name) const <a id="a5bc76572a71debbc4c0c5386e39c7470" name="a5bc76572a71debbc4c0c5386e39c7470"></a>std::vector&lt; std::string &gt; **availableQualifierLabels** () const [ansys::dpf::Support](classansys_1_1dpf_1_1Support.xhtml) [qualifierTypeSupport](classansys_1_1dpf_1_1ResultInfo.xhtml#ae978521e336dac2cc7dddc3d2e8a46fa) ([ansys::dpf::Label](structansys_1_1dpf_1_1Label.xhtml) const &amp;qualifier) const void [setUnitSystem](classansys_1_1dpf_1_1ResultInfo.xhtml#ad25053c5a68986f3948256228aad6cea) ([UnitSystem](structansys_1_1dpf_1_1UnitSystem.xhtml) const &amp;unit\_system) void [addResult](classansys_1_1dpf_1_1ResultInfo.xhtml#a8b68b2bf88b1ef946ad7b559e187d179) (std::string const &amp;operator\_name, std::string const &amp;scripting\_name, [ansys::dpf::Dimensionality](structansys_1_1dpf_1_1Dimensionality.xhtml) dimensionality, [ansys::dpf::Location](structansys_1_1dpf_1_1Location.xhtml) const &amp;location, [ansys::dpf::Homogeneity](classansys_1_1dpf_1_1Homogeneity.xhtml) const &amp;homogeneity, std::string const &amp;description="") void [addResult](classansys_1_1dpf_1_1ResultInfo.xhtml#aaa7f97f22a08851e10f4f8a1294077c7) (Result const &amp;res) void [addProperties](classansys_1_1dpf_1_1ResultInfo.xhtml#ab33285e41a67d2a412e847f6f159a355) (std::vector&lt; std::pair&lt; std::string, std::string &gt; &gt;const &amp;properties) void [addProperties](classansys_1_1dpf_1_1ResultInfo.xhtml#a8d15940ba2e8825a0eae2239a65f2311) (std::vector&lt; std::pair&lt; std::string, int &gt; &gt;const &amp;properties) void [addAvailableQualifiersForAllResults](classansys_1_1dpf_1_1ResultInfo.xhtml#a7ee77df7c3754986d3aa67dbc258883c) (LabelSpacesVector const &amp;available\_qualifiers) void [setQualifierLabelSupport](classansys_1_1dpf_1_1ResultInfo.xhtml#adc9dde21342797e91d4c3b4c7c66b532) ([ansys::dpf::Label](structansys_1_1dpf_1_1Label.xhtml) const &amp;qualifier, [ansys::dpf::Support](classansys_1_1dpf_1_1Support.xhtml) const &amp;support) ![-](/sites/default/files/migrate-content/dpf_cpp_client_library_2023_r2/closed.png) Public Member Functions inherited from [ansys::dpf::DpfTypes](classansys_1_1dpf_1_1DpfTypes.xhtml)virtual bool [empty](classansys_1_1dpf_1_1DpfTypes.xhtml#a39cd546c42518e2332be8f287db95459) () const virtual std::string [describe](classansys_1_1dpf_1_1DpfTypes.xhtml#a9977945710983bc03d2940fa007847b2) () const so::API const \* [callAPI](classansys_1_1dpf_1_1DpfTypes.xhtml#aea34d37e0c080126eff70db34bf46597) () const bool [isOnCommonAPI](classansys_1_1dpf_1_1DpfTypes.xhtml#a9f9789ff61cc9d400a2a344830706b73) () const bool [getClient](classansys_1_1dpf_1_1DpfTypes.xhtml#a968afd9daa0b0f13b65a2ac61369d73a) ([Client](classansys_1_1dpf_1_1Client.xhtml) &amp;client) const bool [hasBeenMovedLocally](classansys_1_1dpf_1_1DpfTypes.xhtml#a1a5634202c15404b6b24e8f50e51cb66) () const bool [isSameObject](classansys_1_1dpf_1_1DpfTypes.xhtml#aa64d5f8fcd7d85ad6ebf708494dbefd7) ([DpfTypes](classansys_1_1dpf_1_1DpfTypes.xhtml) const &amp;rhs) const ## <a id="pub-static-methods" name="pub-static-methods"></a>Static Public Member Functions

<a id="a145571361ee459da296a2094aee7a0aa" name="a145571361ee459da296a2094aee7a0aa"></a>static [ResultInfo](classansys_1_1dpf_1_1ResultInfo.xhtml) **emptyResultInfo** () <a id="details" name="details"></a>## Detailed Description

Provides information on all available results

Examples[CompleteRST.cpp](CompleteRST_8cpp-example.xhtml#_a18), [DataApis.cpp](DataApis_8cpp-example.xhtml#_a84), [ModelTest.cpp](ModelTest_8cpp-example.xhtml#_a15), and [ResultTest.cpp](ResultTest_8cpp-example.xhtml#_a4).

## Member Enumeration Documentation

<a id="a7242b85e3d035f0953356a1146e742ae" name="a7242b85e3d035f0953356a1146e742ae"></a>## [◆ ](#a7242b85e3d035f0953356a1146e742ae)analysis\_type

 enum [ansys::dpf::ResultInfo::analysis\_type](classansys_1_1dpf_1_1ResultInfo.xhtml#a7242b85e3d035f0953356a1146e742ae)

Analysis Type.

Enumerator<a id="a7242b85e3d035f0953356a1146e742aea2ad50e8511b81f014d3275f5ac2d617d" name="a7242b85e3d035f0953356a1146e742aea2ad50e8511b81f014d3275f5ac2d617d"></a>eStatic Static.

<a id="a7242b85e3d035f0953356a1146e742aea612e3eb454ecf257bb23df2034536b7c" name="a7242b85e3d035f0953356a1146e742aea612e3eb454ecf257bb23df2034536b7c"></a>eBukling Bukling.

<a id="a7242b85e3d035f0953356a1146e742aea43233e3b7bde6dd3bc1fcce08792094c" name="a7242b85e3d035f0953356a1146e742aea43233e3b7bde6dd3bc1fcce08792094c"></a>eModal Modal.

<a id="a7242b85e3d035f0953356a1146e742aea621f9ba94cd5dbd3a5022b622d9852fe" name="a7242b85e3d035f0953356a1146e742aea621f9ba94cd5dbd3a5022b622d9852fe"></a>eHarmonic Harmonic.

<a id="a7242b85e3d035f0953356a1146e742aeaf79921aaee3274bd74fe2cb9a008f2a1" name="a7242b85e3d035f0953356a1146e742aeaf79921aaee3274bd74fe2cb9a008f2a1"></a>eCMS CMS.

<a id="a7242b85e3d035f0953356a1146e742aea113a03346a5a097dd6594fd44c6d7d1d" name="a7242b85e3d035f0953356a1146e742aea113a03346a5a097dd6594fd44c6d7d1d"></a>eTransient Transient.

<a id="a7242b85e3d035f0953356a1146e742aea0740b5eadcd2cdcb124b57e5768ae34c" name="a7242b85e3d035f0953356a1146e742aea0740b5eadcd2cdcb124b57e5768ae34c"></a>eMSUP MSUP.

<a id="a7242b85e3d035f0953356a1146e742aea01e51f9752975dba490d540b4d5f47ce" name="a7242b85e3d035f0953356a1146e742aea01e51f9752975dba490d540b4d5f47ce"></a>eSubStruct SubStruct.

<a id="a7242b85e3d035f0953356a1146e742aea1492b0b5fbb719dc8793c73fdbd78ed2" name="a7242b85e3d035f0953356a1146e742aea1492b0b5fbb719dc8793c73fdbd78ed2"></a>eSpectrum Spectrum.

<a id="a7242b85e3d035f0953356a1146e742aea533f3644550f70cbfc2a2892f9aba9c5" name="a7242b85e3d035f0953356a1146e742aea533f3644550f70cbfc2a2892f9aba9c5"></a>eUnknownAnalysis Unknown analysis type.





<a id="a4c9d8d076df7a3899011b1b2195dfaba" name="a4c9d8d076df7a3899011b1b2195dfaba"></a>## [◆ ](#a4c9d8d076df7a3899011b1b2195dfaba)physics\_type

 enum [ansys::dpf::ResultInfo::physics\_type](classansys_1_1dpf_1_1ResultInfo.xhtml#a4c9d8d076df7a3899011b1b2195dfaba)

Physics Type.

Enumerator<a id="a4c9d8d076df7a3899011b1b2195dfabaab1cdf6ed7eb8c9102327076240beb06f" name="a4c9d8d076df7a3899011b1b2195dfabaab1cdf6ed7eb8c9102327076240beb06f"></a>eMecanic Mechanical.

<a id="a4c9d8d076df7a3899011b1b2195dfabaafeef68cbb19a910a625becb69c3a0510" name="a4c9d8d076df7a3899011b1b2195dfabaafeef68cbb19a910a625becb69c3a0510"></a>eThermal Thermal.

<a id="a4c9d8d076df7a3899011b1b2195dfabaab0d1187e954a2daba76caaa684203bbb" name="a4c9d8d076df7a3899011b1b2195dfabaab0d1187e954a2daba76caaa684203bbb"></a>eMagnetic Magnetic.

<a id="a4c9d8d076df7a3899011b1b2195dfabaaffc8f46f099407c3b33cfee2223f9a51" name="a4c9d8d076df7a3899011b1b2195dfabaaffc8f46f099407c3b33cfee2223f9a51"></a>eElectric Electric.

<a id="a4c9d8d076df7a3899011b1b2195dfabaadadd255c26d856ba97f4a290b3769107" name="a4c9d8d076df7a3899011b1b2195dfabaadadd255c26d856ba97f4a290b3769107"></a>eFluid Fluid.

<a id="a4c9d8d076df7a3899011b1b2195dfabaad00f4b71e4db56a56048bc9ecd1786f3" name="a4c9d8d076df7a3899011b1b2195dfabaad00f4b71e4db56a56048bc9ecd1786f3"></a>eUnknownPhysics Unknown physics type.





## Member Function Documentation

<a id="a7ee77df7c3754986d3aa67dbc258883c" name="a7ee77df7c3754986d3aa67dbc258883c"></a>## [◆ ](#a7ee77df7c3754986d3aa67dbc258883c)addAvailableQualifiersForAllResults()

 void ansys::dpf::ResultInfo::addAvailableQualifiersForAllResults  ( LabelSpacesVector const &amp;  *available\_qualifiers*) 

Set the available sub qualifiers (or domains) available for all Results in the [ResultInfo](classansys_1_1dpf_1_1ResultInfo.xhtml).





<a id="a8d15940ba2e8825a0eae2239a65f2311" name="a8d15940ba2e8825a0eae2239a65f2311"></a>## [◆ ](#a8d15940ba2e8825a0eae2239a65f2311)addProperties() \[1/2\]

 void ansys::dpf::ResultInfo::addProperties  ( std::vector&lt; std::pair&lt; std::string, int &gt; &gt;const &amp;  *properties*) 

Parameters \[in\]propertiesMost common are: 'solve\_time', 'solve\_date', 'solver\_minor\_version', 'solver\_major\_version'. 



<a id="ab33285e41a67d2a412e847f6f159a355" name="ab33285e41a67d2a412e847f6f159a355"></a>## [◆ ](#ab33285e41a67d2a412e847f6f159a355)addProperties() \[2/2\]

 void ansys::dpf::ResultInfo::addProperties  ( std::vector&lt; std::pair&lt; std::string, std::string &gt; &gt;const &amp;  *properties*) 

Parameters \[in\]propertiesMost common are 'user\_name', 'job\_name', 'product\_name', 'main\_title', 'cyclic\_symmetry\_type'. 



<a id="aaa7f97f22a08851e10f4f8a1294077c7" name="aaa7f97f22a08851e10f4f8a1294077c7"></a>## [◆ ](#aaa7f97f22a08851e10f4f8a1294077c7)addResult() \[1/2\]

 void ansys::dpf::ResultInfo::addResult  ( Result const &amp;  *res*) 

Add a result.





<a id="a8b68b2bf88b1ef946ad7b559e187d179" name="a8b68b2bf88b1ef946ad7b559e187d179"></a>## [◆ ](#a8b68b2bf88b1ef946ad7b559e187d179)addResult() \[2/2\]

 void ansys::dpf::ResultInfo::addResult  ( std::string const &amp;  *operator\_name*,    std::string const &amp;  *scripting\_name*,    [ansys::dpf::Dimensionality](structansys_1_1dpf_1_1Dimensionality.xhtml)  *dimensionality*,    [ansys::dpf::Location](structansys_1_1dpf_1_1Location.xhtml) const &amp;  *location*,    [ansys::dpf::Homogeneity](classansys_1_1dpf_1_1Homogeneity.xhtml) const &amp;  *homogeneity*,    std::string const &amp;  *description* = `""`   ) 

Add a result.

Parameters \[in\]operator\_name[Operator](classansys_1_1dpf_1_1Operator.xhtml "Wrap an elementary operation.") name associated to the result. \[in\]scripting\_namefriendly name usable as a method: all lower case, no spaces only underscores. \[in\]dimensionality[Dimensionality](structansys_1_1dpf_1_1Dimensionality.xhtml) of the result see [dimensionalities](structansys_1_1dpf_1_1dimensionalities.xhtml). \[in\]location[Location](structansys_1_1dpf_1_1Location.xhtml "User defined location quantity.") of the result. \[in\]homogeneity[Homogeneity](classansys_1_1dpf_1_1Homogeneity.xhtml "User defined physical measurement quantity.") of the result. \[in\]descriptionoptional small description of the result. 



<a id="a9cbdb503d903b0a8212cc32a952c1ad2" name="a9cbdb503d903b0a8212cc32a952c1ad2"></a>## [◆ ](#a9cbdb503d903b0a8212cc32a952c1ad2)analysisType()

 [analysis\_type](classansys_1_1dpf_1_1ResultInfo.xhtml#a7242b85e3d035f0953356a1146e742ae) ansys::dpf::ResultInfo::analysisType  ( )  const

ReturnsAnalysis type for all results. Examples[ModelTest.cpp](ModelTest_8cpp-example.xhtml#a18).



<a id="ac0f80a2ea905a13dccc274790ef6cbc7" name="ac0f80a2ea905a13dccc274790ef6cbc7"></a>## [◆ ](#ac0f80a2ea905a13dccc274790ef6cbc7)analysisTypeName()

 std::string ansys::dpf::ResultInfo::analysisTypeName  ( )  const

ReturnsAnalysis type name for all results. Examples[ResultTest.cpp](ResultTest_8cpp-example.xhtml#a6).



<a id="a48e23d251d6109166a2a1f681a39c58a" name="a48e23d251d6109166a2a1f681a39c58a"></a>## [◆ ](#a48e23d251d6109166a2a1f681a39c58a)availableResults()

 std::set&lt; std::string &gt; ansys::dpf::ResultInfo::availableResults  ( )  const

The result name might be something like temperature.

ReturnsSet of names for all results. Examples[ModelTest.cpp](ModelTest_8cpp-example.xhtml#a20), and [ResultTest.cpp](ResultTest_8cpp-example.xhtml#a9).



<a id="af72de6732b08cca024fd01abd0ee8d99" name="af72de6732b08cca024fd01abd0ee8d99"></a>## [◆ ](#af72de6732b08cca024fd01abd0ee8d99)availableSubResults()

 std::set&lt; std::string &gt; ansys::dpf::ResultInfo::availableSubResults  ( std::string const &amp;  *res\_name*)  const

ReturnsSet of names of subresults for given result name. Parameters \[in\]res\_name[Result](classansys_1_1dpf_1_1Result.xhtml) name. 



<a id="a224325bb3a8b4646000d137a7c2eab10" name="a224325bb3a8b4646000d137a7c2eab10"></a>## [◆ ](#a224325bb3a8b4646000d137a7c2eab10)description()

 std::string ansys::dpf::ResultInfo::description  ( std::string const &amp;  *res\_name*)  const

ReturnsDescription of given result name. Parameters \[in\]res\_name[Result](classansys_1_1dpf_1_1Result.xhtml) name. 



<a id="ad2e01a708a6c666323f5fa8d1806feed" name="ad2e01a708a6c666323f5fa8d1806feed"></a>## [◆ ](#ad2e01a708a6c666323f5fa8d1806feed)getCyclicSupport()

 [CyclicSupport](classansys_1_1dpf_1_1CyclicSupport.xhtml) ansys::dpf::ResultInfo::getCyclicSupport  ( )  const

Returnsthe cyclic support if the result file has cyclic symmetry (or multistage). The [CyclicSupport](classansys_1_1dpf_1_1CyclicSupport.xhtml) contains information relevant for cyclic expansion 



<a id="a88a913a835dfc6688869efcb0745e1be" name="a88a913a835dfc6688869efcb0745e1be"></a>## [◆ ](#a88a913a835dfc6688869efcb0745e1be)getIntProperty()

 int ansys::dpf::ResultInfo::getIntProperty  ( std::string const &amp;  *property\_name*)  const

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



<a id="ab1af821d17d4835e7c992c048323d735" name="ab1af821d17d4835e7c992c048323d735"></a>## [◆ ](#ab1af821d17d4835e7c992c048323d735)getStringProperty()

 std::string ansys::dpf::ResultInfo::getStringProperty  ( std::string const &amp;  *property\_name*)  const

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



<a id="a49defb2d47169645db3d8c636597e513" name="a49defb2d47169645db3d8c636597e513"></a>## [◆ ](#a49defb2d47169645db3d8c636597e513)hasCyclicSymmetry() \[1/2\]

 bool ansys::dpf::ResultInfo::hasCyclicSymmetry  ( )  const

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



<a id="a927d3c7ce604380c710cfbd4e8a5e801" name="a927d3c7ce604380c710cfbd4e8a5e801"></a>## [◆ ](#a927d3c7ce604380c710cfbd4e8a5e801)hasCyclicSymmetry() \[2/2\]

 bool ansys::dpf::ResultInfo::hasCyclicSymmetry  ( std::string &amp;  *cyc\_symmetry\_type*)  const

Returnstrue if the result file has cyclic symmetry (or multistage) Parameters \[out\]cyc\_symmetry\_type"single\_stage", "multi\_stage" or "not\_cyclic". 



<a id="ae6ed610647bdabcc9baab02b19462f99" name="ae6ed610647bdabcc9baab02b19462f99"></a>## [◆ ](#ae6ed610647bdabcc9baab02b19462f99)job\_name()

 std::string ansys::dpf::ResultInfo::job\_name  ( )  const

ReturnsJob name. Examples[ModelTest.cpp](ModelTest_8cpp-example.xhtml#a25).



<a id="a34c2142d20b7121084cd42874f99560d" name="a34c2142d20b7121084cd42874f99560d"></a>## [◆ ](#a34c2142d20b7121084cd42874f99560d)location()

 [ansys::dpf::Location](structansys_1_1dpf_1_1Location.xhtml) ansys::dpf::ResultInfo::location  ( std::string const &amp;  *res\_name*)  const

Returns[Location](structansys_1_1dpf_1_1Location.xhtml) of given result name. Parameters \[in\]res\_name[Result](classansys_1_1dpf_1_1Result.xhtml) name. 



<a id="a8071bc87922ee65107a63fc2f1eefd3d" name="a8071bc87922ee65107a63fc2f1eefd3d"></a>## [◆ ](#a8071bc87922ee65107a63fc2f1eefd3d)main\_title()

 std::string ansys::dpf::ResultInfo::main\_title  ( )  const

ReturnsMain title. Examples[ModelTest.cpp](ModelTest_8cpp-example.xhtml#a26).



<a id="ab47931a377a99ccb9bc6727bb6187d74" name="ab47931a377a99ccb9bc6727bb6187d74"></a>## [◆ ](#ab47931a377a99ccb9bc6727bb6187d74)nature()

 [Dimensionality::ENature](structansys_1_1dpf_1_1Dimensionality.xhtml#af4666dee615e27f2fe603240631b932f) ansys::dpf::ResultInfo::nature  ( std::string const &amp;  *res\_name*)  const

ReturnsNature for given result name. Parameters \[in\]res\_name[Result](classansys_1_1dpf_1_1Result.xhtml) name. Examples[ResultTest.cpp](ResultTest_8cpp-example.xhtml#a10).



<a id="a33fc997e9f5a93b23afac8ca753d0c25" name="a33fc997e9f5a93b23afac8ca753d0c25"></a>## [◆ ](#a33fc997e9f5a93b23afac8ca753d0c25)numberOfComponents()

 [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) ansys::dpf::ResultInfo::numberOfComponents  ( std::string const &amp;  *res\_name*)  const

ReturnsNumber of components for given result name. Parameters \[in\]res\_name[Result](classansys_1_1dpf_1_1Result.xhtml) name. Examples[CompleteRST.cpp](CompleteRST_8cpp-example.xhtml#a23).



<a id="a69427d3a5823aa23acfc59b891fa662a" name="a69427d3a5823aa23acfc59b891fa662a"></a>## [◆ ](#a69427d3a5823aa23acfc59b891fa662a)numberOfResults()

 [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) ansys::dpf::ResultInfo::numberOfResults  ( )  const

ReturnsNumber of results. Examples[CompleteRST.cpp](CompleteRST_8cpp-example.xhtml#a20), and [ModelTest.cpp](ModelTest_8cpp-example.xhtml#a16).



<a id="a66ba1d7c64eacd4872fca3bdfd968414" name="a66ba1d7c64eacd4872fca3bdfd968414"></a>## [◆ ](#a66ba1d7c64eacd4872fca3bdfd968414)numberOfSubResults()

 [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) ansys::dpf::ResultInfo::numberOfSubResults  ( std::string const &amp;  *res\_name*)  const

ReturnsNumber of subresults for given result name. Parameters \[in\]res\_name[Result](classansys_1_1dpf_1_1Result.xhtml) name. 



<a id="aa090d77720a048d0dbe0f6230ba7500c" name="aa090d77720a048d0dbe0f6230ba7500c"></a>## [◆ ](#aa090d77720a048d0dbe0f6230ba7500c)operatorName()

 std::string ansys::dpf::ResultInfo::operatorName  ( std::string const &amp;  *res\_name*)  const

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

Returns[Operator](classansys_1_1dpf_1_1Operator.xhtml "Wrap an elementary operation.") name Parameters \[in\]res\_name[Result](classansys_1_1dpf_1_1Result.xhtml) name. 



<a id="ad8d61b8875d35dd7812d83b63ae68da9" name="ad8d61b8875d35dd7812d83b63ae68da9"></a>## [◆ ](#ad8d61b8875d35dd7812d83b63ae68da9)operatorNameIsAvailable()

 bool ansys::dpf::ResultInfo::operatorNameIsAvailable  ( std::string const &amp;  *op\_name*)  const

ReturnsIndication that operator is available within results and subresults. Parameters \[in\]op\_name[Operator](classansys_1_1dpf_1_1Operator.xhtml "Wrap an elementary operation.") name. Examples[CompleteRST.cpp](CompleteRST_8cpp-example.xhtml#a21).



<a id="abc776e636cedf999ab85007904f110a9" name="abc776e636cedf999ab85007904f110a9"></a>## [◆ ](#abc776e636cedf999ab85007904f110a9)physicsType()

 [physics\_type](classansys_1_1dpf_1_1ResultInfo.xhtml#a4c9d8d076df7a3899011b1b2195dfaba) ansys::dpf::ResultInfo::physicsType  ( )  const

ReturnsPhyiscs type for all results. Examples[ModelTest.cpp](ModelTest_8cpp-example.xhtml#a19).



<a id="a4400684a038c4fd6dbae406e828c94f2" name="a4400684a038c4fd6dbae406e828c94f2"></a>## [◆ ](#a4400684a038c4fd6dbae406e828c94f2)physicsTypeName()

 std::string ansys::dpf::ResultInfo::physicsTypeName  ( )  const

ReturnsPhyiscs type name for all results. Examples[ResultTest.cpp](ResultTest_8cpp-example.xhtml#a7).



<a id="a8b1146409fe3f14fda0b331faf1bf9fe" name="a8b1146409fe3f14fda0b331faf1bf9fe"></a>## [◆ ](#a8b1146409fe3f14fda0b331faf1bf9fe)product\_name()

 std::string ansys::dpf::ResultInfo::product\_name  ( )  const

ReturnsProduct name. Examples[ModelTest.cpp](ModelTest_8cpp-example.xhtml#a24).



<a id="ae952c70bd96103690e5f1daf92f7f724" name="ae952c70bd96103690e5f1daf92f7f724"></a>## [◆ ](#ae952c70bd96103690e5f1daf92f7f724)qualifiers()

 LabelSpacesVector ansys::dpf::ResultInfo::qualifiers  ( std::string const &amp;  *res\_name*)  const

Parameters \[in\]res\_name[Result](classansys_1_1dpf_1_1Result.xhtml) name. 



<a id="ae978521e336dac2cc7dddc3d2e8a46fa" name="ae978521e336dac2cc7dddc3d2e8a46fa"></a>## [◆ ](#ae978521e336dac2cc7dddc3d2e8a46fa)qualifierTypeSupport()

 [ansys::dpf::Support](classansys_1_1dpf_1_1Support.xhtml) ansys::dpf::ResultInfo::qualifierTypeSupport  ( [ansys::dpf::Label](structansys_1_1dpf_1_1Label.xhtml) const &amp;  *qualifier*)  const

Returns[Support](classansys_1_1dpf_1_1Support.xhtml) describing the Domain definition of the qualifier type. Parameters \[in\]qualifier[Label](structansys_1_1dpf_1_1Label.xhtml) describing the location of the qualifier: ex phase, species... 



<a id="a640956feeee439f2fa42a2fc145fb05d" name="a640956feeee439f2fa42a2fc145fb05d"></a>## [◆ ](#a640956feeee439f2fa42a2fc145fb05d)resultNameByOperatorName()

 std::string ansys::dpf::ResultInfo::resultNameByOperatorName  ( std::string const &amp;  *op\_name*)  const

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

ReturnsName of result Parameters \[in\]op\_name[Operator](classansys_1_1dpf_1_1Operator.xhtml "Wrap an elementary operation.") name. Examples[CompleteRST.cpp](CompleteRST_8cpp-example.xhtml#a22).



<a id="ac476a3cc0d4c1bb7c5c02377244c413b" name="ac476a3cc0d4c1bb7c5c02377244c413b"></a>## [◆ ](#ac476a3cc0d4c1bb7c5c02377244c413b)scriptingName()

 std::string ansys::dpf::ResultInfo::scriptingName  ( std::string const &amp;  *res\_name*)  const

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

Returns[Operator](classansys_1_1dpf_1_1Operator.xhtml "Wrap an elementary operation.") scripting name Parameters \[in\]res\_name[Result](classansys_1_1dpf_1_1Result.xhtml) name. 



<a id="adc9dde21342797e91d4c3b4c7c66b532" name="adc9dde21342797e91d4c3b4c7c66b532"></a>## [◆ ](#adc9dde21342797e91d4c3b4c7c66b532)setQualifierLabelSupport()

 void ansys::dpf::ResultInfo::setQualifierLabelSupport  ( [ansys::dpf::Label](structansys_1_1dpf_1_1Label.xhtml) const &amp;  *qualifier*,    [ansys::dpf::Support](classansys_1_1dpf_1_1Support.xhtml) const &amp;  *support*   ) 

Describe the Domain definition for a given qualifier.

Parameters \[in\]qualifier[Label](structansys_1_1dpf_1_1Label.xhtml) describing the location of the qualifier: ex phase, species... \[in\]supportDomain definition of the qualifier. 



<a id="ad25053c5a68986f3948256228aad6cea" name="ad25053c5a68986f3948256228aad6cea"></a>## [◆ ](#ad25053c5a68986f3948256228aad6cea)setUnitSystem()

 void ansys::dpf::ResultInfo::setUnitSystem  ( [UnitSystem](structansys_1_1dpf_1_1UnitSystem.xhtml) const &amp;  *unit\_system*) 

Set the unit system.





<a id="a52ed9fdb1a2a92a7ada0fed534c200b5" name="a52ed9fdb1a2a92a7ada0fed534c200b5"></a>## [◆ ](#a52ed9fdb1a2a92a7ada0fed534c200b5)solve\_date\_time()

 void ansys::dpf::ResultInfo::solve\_date\_time  ( int &amp;  *solve\_date*,    int &amp;  *solve\_time*   )  const

Gets solver date and time.

Parameters \[out\]solve\_dateDate. \[out\]solve\_timeTime. Examples[ModelTest.cpp](ModelTest_8cpp-example.xhtml#a22).



<a id="a0d2b564f1b52afc97ef5be1d4e4661f9" name="a0d2b564f1b52afc97ef5be1d4e4661f9"></a>## [◆ ](#a0d2b564f1b52afc97ef5be1d4e4661f9)solver\_version()

 void ansys::dpf::ResultInfo::solver\_version  ( int &amp;  *major\_version*,    int &amp;  *minor\_version*   )  const

Gets solver version.

Parameters \[out\]major\_versionMajor version. \[out\]minor\_versionMinor version. Examples[ModelTest.cpp](ModelTest_8cpp-example.xhtml#a21).



<a id="a09bb53667b42b70d13356395437cfe77" name="a09bb53667b42b70d13356395437cfe77"></a>## [◆ ](#a09bb53667b42b70d13356395437cfe77)subResultDescription()

 std::string ansys::dpf::ResultInfo::subResultDescription  ( std::string const &amp;  *res\_name*,    std::string const &amp;  *subres\_name*   )  const

ReturnsDescription for given subresult name of given result name. Parameters \[in\]res\_name[Result](classansys_1_1dpf_1_1Result.xhtml) name. \[in\]subres\_nameSubresult name. 



<a id="ad028bbf71ecc484170d725499ab7efbd" name="ad028bbf71ecc484170d725499ab7efbd"></a>## [◆ ](#ad028bbf71ecc484170d725499ab7efbd)subResultOperatorName()

 std::string ansys::dpf::ResultInfo::subResultOperatorName  ( std::string const &amp;  *res\_name*,    std::string const &amp;  *subres\_name*   )  const

Returns[Operator](classansys_1_1dpf_1_1Operator.xhtml "Wrap an elementary operation.") name for given subresult name of given result name Parameters \[in\]res\_name[Result](classansys_1_1dpf_1_1Result.xhtml) name. \[in\]subres\_nameSubresult name. 



<a id="ac2db59f4a0d95572d00c5093e3914246" name="ac2db59f4a0d95572d00c5093e3914246"></a>## [◆ ](#ac2db59f4a0d95572d00c5093e3914246)unit()

 [ansys::dpf::Unit](classansys_1_1dpf_1_1Unit.xhtml) ansys::dpf::ResultInfo::unit  ( std::string const &amp;  *res\_name*)  const

Returns[Unit](classansys_1_1dpf_1_1Unit.xhtml) for given result name. Parameters \[in\]res\_name[Result](classansys_1_1dpf_1_1Result.xhtml) name. 



<a id="a62c992acfa6ffc5b73de0f75f57f7e58" name="a62c992acfa6ffc5b73de0f75f57f7e58"></a>## [◆ ](#a62c992acfa6ffc5b73de0f75f57f7e58)unitSystem()

 [UnitSystem](structansys_1_1dpf_1_1UnitSystem.xhtml) ansys::dpf::ResultInfo::unitSystem  ( )  const

Returns[Unit](classansys_1_1dpf_1_1Unit.xhtml) system for all results. Examples[ModelTest.cpp](ModelTest_8cpp-example.xhtml#a17).



<a id="ae358df95bebd891adf15148f5b26d21d" name="ae358df95bebd891adf15148f5b26d21d"></a>## [◆ ](#ae358df95bebd891adf15148f5b26d21d)unitSystemName()

 std::string ansys::dpf::ResultInfo::unitSystemName  ( )  const

Returns[Unit](classansys_1_1dpf_1_1Unit.xhtml) system name for all results. Examples[ResultTest.cpp](ResultTest_8cpp-example.xhtml#a8).



<a id="ac3786ae43ac33386010794e990a31146" name="ac3786ae43ac33386010794e990a31146"></a>## [◆ ](#ac3786ae43ac33386010794e990a31146)user\_name()

 std::string ansys::dpf::ResultInfo::user\_name  ( )  const

ReturnsUser name. Examples[ModelTest.cpp](ModelTest_8cpp-example.xhtml#a23).