    

 ## On this page

  

 

 # ansys::dpf::Any Class Reference

 Last update: 16.07.2025 

`#include <dpf_api.h>`

Inheritance diagram for ansys::dpf::Any:

 ![](/sites/default/files/migrate-content/dpf_cpp_client_library_2025_r2_new_link_to_op_1/classansys_1_1dpf_1_1Any.png)



## <a id="pub-methods" name="pub-methods"></a>Public Member Functions

<a id="af23b70b81b8f1d7cfddcd5e9d79e60f5" name="af23b70b81b8f1d7cfddcd5e9d79e60f5"></a>template&lt;typename DataT &gt;  **Any** (const DataT &amp;value, [Client](classansys_1_1dpf_1_1Client.xhtml) const \*const client=nullptr) <a id="ab24d321afb6bc120c0b49fd269f28a91" name="ab24d321afb6bc120c0b49fd269f28a91"></a> **Any** ([Any](classansys_1_1dpf_1_1Any.xhtml) const &amp;) <a id="a3570cea5938292c99e277fef602eb60f" name="a3570cea5938292c99e277fef602eb60f"></a> **Any** ([Any](classansys_1_1dpf_1_1Any.xhtml) &amp;&amp;) noexcept <a id="a03e8005283ad244a72b3126b43bfe333" name="a03e8005283ad244a72b3126b43bfe333"></a>[Any](classansys_1_1dpf_1_1Any.xhtml) &amp; **operator=** ([Any](classansys_1_1dpf_1_1Any.xhtml) const &amp;) <a id="abea02211d9b1bbdacfe0f3cdebb4988e" name="abea02211d9b1bbdacfe0f3cdebb4988e"></a>[Any](classansys_1_1dpf_1_1Any.xhtml) &amp; **operator=** ([Any](classansys_1_1dpf_1_1Any.xhtml) &amp;&amp;) noexcept <a id="a1849f144686207e9923c4660416eadcb" name="a1849f144686207e9923c4660416eadcb"></a>std::string **wrappedType** () template&lt;typename DataT &gt; bool [testType](classansys_1_1dpf_1_1Any.xhtml#aada64aaa126d55d103c92b1acc45f9d6) () template&lt;typename DataT &gt; DataT [get](classansys_1_1dpf_1_1Any.xhtml#a3755fc547ffa733c3a6b8b7bae28da42) () const [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) [getAsInt](classansys_1_1dpf_1_1Any.xhtml#a00cce5475752905812ab028e4c1ca97b) () const std::string [getAsString](classansys_1_1dpf_1_1Any.xhtml#a890fb93b1496ef38284322110f682eae) () const double [getAsDouble](classansys_1_1dpf_1_1Any.xhtml#a4576e195b7ef1e4a48b26f57db844289) () const [DpfVector](classansys_1_1dpf_1_1DpfVector.xhtml)&lt; int &gt; [getAsIntVector](classansys_1_1dpf_1_1Any.xhtml#a9b3531295f844610cc131f78c96ef04d) () const [Field](classansys_1_1dpf_1_1Field.xhtml) [getAsField](classansys_1_1dpf_1_1Any.xhtml#a8bb8b9c5c9b8caccff78ff66a16780cb) () const [PropertyField](classansys_1_1dpf_1_1PropertyField.xhtml) [getAsPropertyField](classansys_1_1dpf_1_1Any.xhtml#a91f7cbddb5ec5ce949a7a9f692d1d113) () const [Scoping](classansys_1_1dpf_1_1Scoping.xhtml) [getAsScoping](classansys_1_1dpf_1_1Any.xhtml#a1fede102c77bed4303bc8aa9210863b2) () const [FieldsContainer](classansys_1_1dpf_1_1FieldsContainer.xhtml) [getAsFieldsContainer](classansys_1_1dpf_1_1Any.xhtml#af48a4b58d4d52dd107e75fdb6db2cdea) () const [ScopingsContainer](classansys_1_1dpf_1_1ScopingsContainer.xhtml) [getAsScopingsContainer](classansys_1_1dpf_1_1Any.xhtml#abcc1dc4052f9679abd3f13538ada623e) () const [MeshesContainer](classansys_1_1dpf_1_1MeshesContainer.xhtml) [getAsMeshesContainer](classansys_1_1dpf_1_1Any.xhtml#aee25715543d8396d96a2826cf1d84a98) () const [TimeFreqSupport](classansys_1_1dpf_1_1TimeFreqSupport.xhtml) [getAsTimeFreqSupport](classansys_1_1dpf_1_1Any.xhtml#a96bbb9c2b82fab07d230bed40d06bb47) () const [MeshedRegion](classansys_1_1dpf_1_1MeshedRegion.xhtml) [getAsMeshedRegion](classansys_1_1dpf_1_1Any.xhtml#a58519b0fe5310585c78ff0b8cca8ae62) () const [Streams](classansys_1_1dpf_1_1Streams.xhtml) [getAsStreams](classansys_1_1dpf_1_1Any.xhtml#a4dbf7a1c952b75dc3a2f2f36992559b0) () const [ResultInfo](classansys_1_1dpf_1_1ResultInfo.xhtml) [getAsResultInfo](classansys_1_1dpf_1_1Any.xhtml#ab65ba60185b1136c36b4ed181521bfb1) () const [DataTree](classansys_1_1dpf_1_1DataTree.xhtml) [getAsDataTree](classansys_1_1dpf_1_1Any.xhtml#ad25e7ea69b88bb148cc8046d50760c29) () const [Workflow](classansys_1_1dpf_1_1Workflow.xhtml) [getAsWorkflow](classansys_1_1dpf_1_1Any.xhtml#a0f2541d86f4078c8f5edefe21a07206a) () const [Operator](classansys_1_1dpf_1_1Operator.xhtml) [getAsOperator](classansys_1_1dpf_1_1Any.xhtml#a5c1f49a671fa9d9d53b5b98fefdbd33b) () const [CyclicSupport](classansys_1_1dpf_1_1CyclicSupport.xhtml) [getAsCyclicSupport](classansys_1_1dpf_1_1Any.xhtml#ae1f0a0f83dd87c93e8a36ef83e390821) () const [DataSources](classansys_1_1dpf_1_1DataSources.xhtml) [getAsDataSources](classansys_1_1dpf_1_1Any.xhtml#a52850e5eb23e6cba70ccd0c0713e3452) () const [StringField](classansys_1_1dpf_1_1StringField.xhtml) [getAsStringField](classansys_1_1dpf_1_1Any.xhtml#aaab60afc505c69dbba4046eb5eaa3709) () const GenericDataContainer [getAsGenericDataContainer](classansys_1_1dpf_1_1Any.xhtml#a8a4ae829c4e5142a390158b7f1842cfb) () const [CustomTypeFieldsContainer](classansys_1_1dpf_1_1CustomTypeFieldsContainer.xhtml) [getAsCustomTypeFieldsContainer](classansys_1_1dpf_1_1Any.xhtml#a1dca8be1c667aecd16d76821088d1c58) () const [CustomTypeField](classansys_1_1dpf_1_1CustomTypeField.xhtml) [getAsCustomTypeField](classansys_1_1dpf_1_1Any.xhtml#a971efc6d276a05d1e2e047878cdfb56a) () const template&lt;typename DataT &gt; [Collection](classansys_1_1dpf_1_1Collection.xhtml)&lt; DataT &gt; [getAsCollection](classansys_1_1dpf_1_1Any.xhtml#ae414564b0c53e55acf9878a9c3237784) () const [Any](classansys_1_1dpf_1_1Any.xhtml) [deep\_copy](classansys_1_1dpf_1_1Any.xhtml#a7fc7c3fd9e7f21f65e93d0d3f7d48aa2) ([ansys::dpf::Client](classansys_1_1dpf_1_1Client.xhtml) const \*const client) const [Any](classansys_1_1dpf_1_1Any.xhtml) [deep\_copy](classansys_1_1dpf_1_1Any.xhtml#acfe258908ef7408ad278565c79a48875) () const ![-](/sites/default/files/migrate-content/dpf_cpp_client_library_2025_r2_new_link_to_op_1/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 bool [hasInternalObject](classansys_1_1dpf_1_1DpfTypes.xhtml#ae198f89868d85c7db6dc1a934a1d3c15) () 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

static [Any](classansys_1_1dpf_1_1Any.xhtml) [retrieveFromServer](classansys_1_1dpf_1_1Any.xhtml#a8a8270659397ad6d912ef5c62d16f61c) (int id, [Client](classansys_1_1dpf_1_1Client.xhtml) const \*const client) <a id="a4e7350ee3446b0e8ad3c1aca88fee463" name="a4e7350ee3446b0e8ad3c1aca88fee463"></a>static [Any](classansys_1_1dpf_1_1Any.xhtml) **emptyAny** () <a id="details" name="details"></a>## Detailed Description

[Any](classansys_1_1dpf_1_1Any.xhtml) class holding a typed entity.



## Member Function Documentation

<a id="acfe258908ef7408ad278565c79a48875" name="acfe258908ef7408ad278565c79a48875"></a>## [◆ ](#acfe258908ef7408ad278565c79a48875)deep\_copy() \[1/2\]

 [Any](classansys_1_1dpf_1_1Any.xhtml) ansys::dpf::Any::deep\_copy  ( )  const

Make a deep copy locally.





<a id="a7fc7c3fd9e7f21f65e93d0d3f7d48aa2" name="a7fc7c3fd9e7f21f65e93d0d3f7d48aa2"></a>## [◆ ](#a7fc7c3fd9e7f21f65e93d0d3f7d48aa2)deep\_copy() \[2/2\]

 [Any](classansys_1_1dpf_1_1Any.xhtml) ansys::dpf::Any::deep\_copy  ( [ansys::dpf::Client](classansys_1_1dpf_1_1Client.xhtml) const \*const  *client*)  const

Make a deep copy on a given client.

Parameters \[in\]clientRemote client 



<a id="a3755fc547ffa733c3a6b8b7bae28da42" name="a3755fc547ffa733c3a6b8b7bae28da42"></a>## [◆ ](#a3755fc547ffa733c3a6b8b7bae28da42)get()

template&lt;typename DataT &gt; 

 DataT ansys::dpf::Any::get  ( )  const  inline 

Returnsspecified template type held in the [Any](classansys_1_1dpf_1_1Any.xhtml) object. Exceptions [DpfException](classansys_1_1dpf_1_1DpfException.xhtml)



<a id="ae414564b0c53e55acf9878a9c3237784" name="ae414564b0c53e55acf9878a9c3237784"></a>## [◆ ](#ae414564b0c53e55acf9878a9c3237784)getAsCollection()

template&lt;typename DataT &gt; 

 [Collection](classansys_1_1dpf_1_1Collection.xhtml)&lt; DataT &gt; ansys::dpf::Any::getAsCollection  ( )  const  inline 

ReturnsAnyCollection held in the [Any](classansys_1_1dpf_1_1Any.xhtml) object. Exceptions [DpfException](classansys_1_1dpf_1_1DpfException.xhtml)



<a id="a971efc6d276a05d1e2e047878cdfb56a" name="a971efc6d276a05d1e2e047878cdfb56a"></a>## [◆ ](#a971efc6d276a05d1e2e047878cdfb56a)getAsCustomTypeField()

 [CustomTypeField](classansys_1_1dpf_1_1CustomTypeField.xhtml) ansys::dpf::Any::getAsCustomTypeField  ( )  const

Returns[CustomTypeField](classansys_1_1dpf_1_1CustomTypeField.xhtml) held in the [Any](classansys_1_1dpf_1_1Any.xhtml) object. Exceptions [DpfException](classansys_1_1dpf_1_1DpfException.xhtml)



<a id="a1dca8be1c667aecd16d76821088d1c58" name="a1dca8be1c667aecd16d76821088d1c58"></a>## [◆ ](#a1dca8be1c667aecd16d76821088d1c58)getAsCustomTypeFieldsContainer()

 [CustomTypeFieldsContainer](classansys_1_1dpf_1_1CustomTypeFieldsContainer.xhtml) ansys::dpf::Any::getAsCustomTypeFieldsContainer  ( )  const

Returns[CustomTypeFieldsContainer](classansys_1_1dpf_1_1CustomTypeFieldsContainer.xhtml) held in the [Any](classansys_1_1dpf_1_1Any.xhtml) object. Exceptions [DpfException](classansys_1_1dpf_1_1DpfException.xhtml)



<a id="ae1f0a0f83dd87c93e8a36ef83e390821" name="ae1f0a0f83dd87c93e8a36ef83e390821"></a>## [◆ ](#ae1f0a0f83dd87c93e8a36ef83e390821)getAsCyclicSupport()

 [CyclicSupport](classansys_1_1dpf_1_1CyclicSupport.xhtml) ansys::dpf::Any::getAsCyclicSupport  ( )  const

Returns[CyclicSupport](classansys_1_1dpf_1_1CyclicSupport.xhtml) held in the [Any](classansys_1_1dpf_1_1Any.xhtml) object. Exceptions [DpfException](classansys_1_1dpf_1_1DpfException.xhtml)



<a id="a52850e5eb23e6cba70ccd0c0713e3452" name="a52850e5eb23e6cba70ccd0c0713e3452"></a>## [◆ ](#a52850e5eb23e6cba70ccd0c0713e3452)getAsDataSources()

 [DataSources](classansys_1_1dpf_1_1DataSources.xhtml) ansys::dpf::Any::getAsDataSources  ( )  const

Returns[DataSources](classansys_1_1dpf_1_1DataSources.xhtml) held in the [Any](classansys_1_1dpf_1_1Any.xhtml) object. Exceptions [DpfException](classansys_1_1dpf_1_1DpfException.xhtml)



<a id="ad25e7ea69b88bb148cc8046d50760c29" name="ad25e7ea69b88bb148cc8046d50760c29"></a>## [◆ ](#ad25e7ea69b88bb148cc8046d50760c29)getAsDataTree()

 [DataTree](classansys_1_1dpf_1_1DataTree.xhtml) ansys::dpf::Any::getAsDataTree  ( )  const

Returns[DataTree](classansys_1_1dpf_1_1DataTree.xhtml) held in the [Any](classansys_1_1dpf_1_1Any.xhtml) object. Exceptions [DpfException](classansys_1_1dpf_1_1DpfException.xhtml)



<a id="a4576e195b7ef1e4a48b26f57db844289" name="a4576e195b7ef1e4a48b26f57db844289"></a>## [◆ ](#a4576e195b7ef1e4a48b26f57db844289)getAsDouble()

 double ansys::dpf::Any::getAsDouble  ( )  const

ReturnsDouble held in the [Any](classansys_1_1dpf_1_1Any.xhtml) object. Exceptions [DpfException](classansys_1_1dpf_1_1DpfException.xhtml)



<a id="a8bb8b9c5c9b8caccff78ff66a16780cb" name="a8bb8b9c5c9b8caccff78ff66a16780cb"></a>## [◆ ](#a8bb8b9c5c9b8caccff78ff66a16780cb)getAsField()

 [Field](classansys_1_1dpf_1_1Field.xhtml) ansys::dpf::Any::getAsField  ( )  const

Returns[Field](classansys_1_1dpf_1_1Field.xhtml) held in the [Any](classansys_1_1dpf_1_1Any.xhtml) object. Exceptions [DpfException](classansys_1_1dpf_1_1DpfException.xhtml)



<a id="af48a4b58d4d52dd107e75fdb6db2cdea" name="af48a4b58d4d52dd107e75fdb6db2cdea"></a>## [◆ ](#af48a4b58d4d52dd107e75fdb6db2cdea)getAsFieldsContainer()

 [FieldsContainer](classansys_1_1dpf_1_1FieldsContainer.xhtml) ansys::dpf::Any::getAsFieldsContainer  ( )  const

Returns[FieldsContainer](classansys_1_1dpf_1_1FieldsContainer.xhtml) held in the [Any](classansys_1_1dpf_1_1Any.xhtml) object. Exceptions [DpfException](classansys_1_1dpf_1_1DpfException.xhtml)



<a id="a8a4ae829c4e5142a390158b7f1842cfb" name="a8a4ae829c4e5142a390158b7f1842cfb"></a>## [◆ ](#a8a4ae829c4e5142a390158b7f1842cfb)getAsGenericDataContainer()

 GenericDataContainer ansys::dpf::Any::getAsGenericDataContainer  ( )  const

ReturnsGenericDataContainer held in the [Any](classansys_1_1dpf_1_1Any.xhtml) object. Exceptions [DpfException](classansys_1_1dpf_1_1DpfException.xhtml)



<a id="a00cce5475752905812ab028e4c1ca97b" name="a00cce5475752905812ab028e4c1ca97b"></a>## [◆ ](#a00cce5475752905812ab028e4c1ca97b)getAsInt()

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

ReturnsInt held in the [Any](classansys_1_1dpf_1_1Any.xhtml) object. Exceptions [DpfException](classansys_1_1dpf_1_1DpfException.xhtml)



<a id="a9b3531295f844610cc131f78c96ef04d" name="a9b3531295f844610cc131f78c96ef04d"></a>## [◆ ](#a9b3531295f844610cc131f78c96ef04d)getAsIntVector()

 [DpfVector](classansys_1_1dpf_1_1DpfVector.xhtml)&lt; int &gt; ansys::dpf::Any::getAsIntVector  ( )  const

Returnsint vector held in the [Any](classansys_1_1dpf_1_1Any.xhtml) object. Exceptions [DpfException](classansys_1_1dpf_1_1DpfException.xhtml)



<a id="a58519b0fe5310585c78ff0b8cca8ae62" name="a58519b0fe5310585c78ff0b8cca8ae62"></a>## [◆ ](#a58519b0fe5310585c78ff0b8cca8ae62)getAsMeshedRegion()

 [MeshedRegion](classansys_1_1dpf_1_1MeshedRegion.xhtml) ansys::dpf::Any::getAsMeshedRegion  ( )  const

Returns[MeshedRegion](classansys_1_1dpf_1_1MeshedRegion.xhtml) held in the [Any](classansys_1_1dpf_1_1Any.xhtml) object. Exceptions [DpfException](classansys_1_1dpf_1_1DpfException.xhtml)



<a id="aee25715543d8396d96a2826cf1d84a98" name="aee25715543d8396d96a2826cf1d84a98"></a>## [◆ ](#aee25715543d8396d96a2826cf1d84a98)getAsMeshesContainer()

 [MeshesContainer](classansys_1_1dpf_1_1MeshesContainer.xhtml) ansys::dpf::Any::getAsMeshesContainer  ( )  const

Returns[MeshesContainer](classansys_1_1dpf_1_1MeshesContainer.xhtml) held in the [Any](classansys_1_1dpf_1_1Any.xhtml) object. Exceptions [DpfException](classansys_1_1dpf_1_1DpfException.xhtml)



<a id="a5c1f49a671fa9d9d53b5b98fefdbd33b" name="a5c1f49a671fa9d9d53b5b98fefdbd33b"></a>## [◆ ](#a5c1f49a671fa9d9d53b5b98fefdbd33b)getAsOperator()

 [Operator](classansys_1_1dpf_1_1Operator.xhtml) ansys::dpf::Any::getAsOperator  ( )  const

Returns[Operator](classansys_1_1dpf_1_1Operator.xhtml) held in the [Any](classansys_1_1dpf_1_1Any.xhtml) object. Exceptions [DpfException](classansys_1_1dpf_1_1DpfException.xhtml)



<a id="a91f7cbddb5ec5ce949a7a9f692d1d113" name="a91f7cbddb5ec5ce949a7a9f692d1d113"></a>## [◆ ](#a91f7cbddb5ec5ce949a7a9f692d1d113)getAsPropertyField()

 [PropertyField](classansys_1_1dpf_1_1PropertyField.xhtml) ansys::dpf::Any::getAsPropertyField  ( )  const

Returns[PropertyField](classansys_1_1dpf_1_1PropertyField.xhtml) held in the [Any](classansys_1_1dpf_1_1Any.xhtml) object. Exceptions [DpfException](classansys_1_1dpf_1_1DpfException.xhtml)



<a id="ab65ba60185b1136c36b4ed181521bfb1" name="ab65ba60185b1136c36b4ed181521bfb1"></a>## [◆ ](#ab65ba60185b1136c36b4ed181521bfb1)getAsResultInfo()

 [ResultInfo](classansys_1_1dpf_1_1ResultInfo.xhtml) ansys::dpf::Any::getAsResultInfo  ( )  const

Returns[ResultInfo](classansys_1_1dpf_1_1ResultInfo.xhtml) held in the [Any](classansys_1_1dpf_1_1Any.xhtml) object. Exceptions [DpfException](classansys_1_1dpf_1_1DpfException.xhtml)



<a id="a1fede102c77bed4303bc8aa9210863b2" name="a1fede102c77bed4303bc8aa9210863b2"></a>## [◆ ](#a1fede102c77bed4303bc8aa9210863b2)getAsScoping()

 [Scoping](classansys_1_1dpf_1_1Scoping.xhtml) ansys::dpf::Any::getAsScoping  ( )  const

Returns[Scoping](classansys_1_1dpf_1_1Scoping.xhtml) held in the [Any](classansys_1_1dpf_1_1Any.xhtml) object. Exceptions [DpfException](classansys_1_1dpf_1_1DpfException.xhtml)



<a id="abcc1dc4052f9679abd3f13538ada623e" name="abcc1dc4052f9679abd3f13538ada623e"></a>## [◆ ](#abcc1dc4052f9679abd3f13538ada623e)getAsScopingsContainer()

 [ScopingsContainer](classansys_1_1dpf_1_1ScopingsContainer.xhtml) ansys::dpf::Any::getAsScopingsContainer  ( )  const

Returns[ScopingsContainer](classansys_1_1dpf_1_1ScopingsContainer.xhtml) held in the [Any](classansys_1_1dpf_1_1Any.xhtml) object. Exceptions [DpfException](classansys_1_1dpf_1_1DpfException.xhtml)



<a id="a4dbf7a1c952b75dc3a2f2f36992559b0" name="a4dbf7a1c952b75dc3a2f2f36992559b0"></a>## [◆ ](#a4dbf7a1c952b75dc3a2f2f36992559b0)getAsStreams()

 [Streams](classansys_1_1dpf_1_1Streams.xhtml) ansys::dpf::Any::getAsStreams  ( )  const

Returns[Streams](classansys_1_1dpf_1_1Streams.xhtml) held in the [Any](classansys_1_1dpf_1_1Any.xhtml) object. Exceptions [DpfException](classansys_1_1dpf_1_1DpfException.xhtml)



<a id="a890fb93b1496ef38284322110f682eae" name="a890fb93b1496ef38284322110f682eae"></a>## [◆ ](#a890fb93b1496ef38284322110f682eae)getAsString()

 std::string ansys::dpf::Any::getAsString  ( )  const

ReturnsString held in the [Any](classansys_1_1dpf_1_1Any.xhtml) object. Exceptions [DpfException](classansys_1_1dpf_1_1DpfException.xhtml)



<a id="aaab60afc505c69dbba4046eb5eaa3709" name="aaab60afc505c69dbba4046eb5eaa3709"></a>## [◆ ](#aaab60afc505c69dbba4046eb5eaa3709)getAsStringField()

 [StringField](classansys_1_1dpf_1_1StringField.xhtml) ansys::dpf::Any::getAsStringField  ( )  const

Returns[StringField](classansys_1_1dpf_1_1StringField.xhtml) held in the [Any](classansys_1_1dpf_1_1Any.xhtml) object. Exceptions [DpfException](classansys_1_1dpf_1_1DpfException.xhtml)



<a id="a96bbb9c2b82fab07d230bed40d06bb47" name="a96bbb9c2b82fab07d230bed40d06bb47"></a>## [◆ ](#a96bbb9c2b82fab07d230bed40d06bb47)getAsTimeFreqSupport()

 [TimeFreqSupport](classansys_1_1dpf_1_1TimeFreqSupport.xhtml) ansys::dpf::Any::getAsTimeFreqSupport  ( )  const

Returns[TimeFreqSupport](classansys_1_1dpf_1_1TimeFreqSupport.xhtml) held in the [Any](classansys_1_1dpf_1_1Any.xhtml) object. Exceptions [DpfException](classansys_1_1dpf_1_1DpfException.xhtml)



<a id="a0f2541d86f4078c8f5edefe21a07206a" name="a0f2541d86f4078c8f5edefe21a07206a"></a>## [◆ ](#a0f2541d86f4078c8f5edefe21a07206a)getAsWorkflow()

 [Workflow](classansys_1_1dpf_1_1Workflow.xhtml) ansys::dpf::Any::getAsWorkflow  ( )  const

Returns[Workflow](classansys_1_1dpf_1_1Workflow.xhtml) held in the [Any](classansys_1_1dpf_1_1Any.xhtml) object. Exceptions [DpfException](classansys_1_1dpf_1_1DpfException.xhtml)



<a id="a8a8270659397ad6d912ef5c62d16f61c" name="a8a8270659397ad6d912ef5c62d16f61c"></a>## [◆ ](#a8a8270659397ad6d912ef5c62d16f61c)retrieveFromServer()

 static [Any](classansys_1_1dpf_1_1Any.xhtml) ansys::dpf::Any::retrieveFromServer  ( int  *id*,    [Client](classansys_1_1dpf_1_1Client.xhtml) const \*const  *client*   )   static 

Retrieve an existing instance on a server.

Parameters \[in\]idId of the object on the server's database. \[in\]client[Client](classansys_1_1dpf_1_1Client.xhtml) instance designating the IP, port and protocol to use. 



<a id="aada64aaa126d55d103c92b1acc45f9d6" name="aada64aaa126d55d103c92b1acc45f9d6"></a>## [◆ ](#aada64aaa126d55d103c92b1acc45f9d6)testType()

template&lt;typename DataT &gt; 

 bool ansys::dpf::Any::testType  ( )   inline 

ReturnsIndication that the object is of the type of data.