    

 ## On this page

  

 

 # ansys::dpf::DataSources Class Reference

 Last update: 16.07.2025 

`#include <dpf_api.h>`

Inheritance diagram for ansys::dpf::DataSources:

 ![](/sites/default/files/migrate-content/dpf_cpp_client_library_2025_r1_1/classansys_1_1dpf_1_1DataSources.png)



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

 [DataSources](classansys_1_1dpf_1_1DataSources.xhtml#a6428071b5158de19e283481087220d4c) ([Client](classansys_1_1dpf_1_1Client.xhtml) const \*const client) <a id="aa03af46c3f99a1f27aac744b1fc9db1a" name="aa03af46c3f99a1f27aac744b1fc9db1a"></a> **DataSources** ([DataSources](classansys_1_1dpf_1_1DataSources.xhtml) const &amp;) <a id="a1685cb861c0112d06c9be089013cf553" name="a1685cb861c0112d06c9be089013cf553"></a> **DataSources** ([DataSources](classansys_1_1dpf_1_1DataSources.xhtml) &amp;&amp;) noexcept  [DataSources](classansys_1_1dpf_1_1DataSources.xhtml#af3684cac83ff9a5e91bde6f3d421fed6) (std::string const &amp;result\_file\_path, std::string const &amp;key)  [DataSources](classansys_1_1dpf_1_1DataSources.xhtml#a2124e3800c560dc2b676b5ceeecac6d2) (std::string const &amp;result\_file\_path, std::string const &amp;key, [Client](classansys_1_1dpf_1_1Client.xhtml) const \*const client)  [DataSources](classansys_1_1dpf_1_1DataSources.xhtml#ab607a7dd632e40f18baa9bdc44631011) (std::string const &amp;result\_file\_path)  [DataSources](classansys_1_1dpf_1_1DataSources.xhtml#a85e10756d54a7164a7c47fde17426ce8) (std::string const &amp;result\_file\_path, [Client](classansys_1_1dpf_1_1Client.xhtml) const \*const client)  [DataSources](classansys_1_1dpf_1_1DataSources.xhtml#a187861f11263eda7b619c769b5ff83a5) (int id, [Client](classansys_1_1dpf_1_1Client.xhtml) const \*const client) <a id="a1d22445fd9d22b9a7adc4853d9c31386" name="a1d22445fd9d22b9a7adc4853d9c31386"></a>[DataSources](classansys_1_1dpf_1_1DataSources.xhtml) &amp; **operator=** ([DataSources](classansys_1_1dpf_1_1DataSources.xhtml) const &amp;) <a id="a9c18012971ddaaf102576c92fb76814d" name="a9c18012971ddaaf102576c92fb76814d"></a>[DataSources](classansys_1_1dpf_1_1DataSources.xhtml) &amp; **operator=** ([DataSources](classansys_1_1dpf_1_1DataSources.xhtml) &amp;&amp;) noexcept void [addResultFile](classansys_1_1dpf_1_1DataSources.xhtml#ad2a5bb6f24ca621ffaaee9e7a47cdc20) (std::string const &amp;file\_path, std::string const &amp;key) void [addResultFileWString](classansys_1_1dpf_1_1DataSources.xhtml#a8480115f09431641ad94e5088629ea10) (std::wstring const &amp;file\_path) void [addResultFile](classansys_1_1dpf_1_1DataSources.xhtml#a596a92f17851f672d0572a404def4f2d) (std::string const &amp;file\_path) void [addDomainResultFile](classansys_1_1dpf_1_1DataSources.xhtml#a84323382bc1f6d128bb86e6c3f15c4b0) (std::string const &amp;file\_path, std::string const &amp;key, [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) domain\_id) void [addFile](classansys_1_1dpf_1_1DataSources.xhtml#ad8d20dc94dee694a62fce66e91691090) (std::string const &amp;file\_path, std::string const &amp;key) void [addFile](classansys_1_1dpf_1_1DataSources.xhtml#a51a3d8501269698d90ebf54dc0049d2a) (std::string const &amp;file\_path) void [addFile](classansys_1_1dpf_1_1DataSources.xhtml#a166f58480abfc46773763764419eaf4c) (std::string const &amp;file\_path, std::string const &amp;key, std::string const &amp;result\_key) void [addDomainFile](classansys_1_1dpf_1_1DataSources.xhtml#a997a716f9f6a33e05480f9965be17364) (std::string const &amp;file\_path, std::string const &amp;key, [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) domain\_id) void [addUpStream](classansys_1_1dpf_1_1DataSources.xhtml#a45df078c3f76993557f10d9528bd1484) ([DataSources](classansys_1_1dpf_1_1DataSources.xhtml) &amp;ds) void [addUpStream](classansys_1_1dpf_1_1DataSources.xhtml#a34b2782ba0ecc1469787399af5c645c9) ([DataSources](classansys_1_1dpf_1_1DataSources.xhtml) &amp;ds, std::string const &amp;result\_key) std::string [resultKey](classansys_1_1dpf_1_1DataSources.xhtml#a7320cf9a8d0850e64fc8d337ee666178) () const std::string [resultNamespaceForKey](classansys_1_1dpf_1_1DataSources.xhtml#adfa425b1477b6ebe977f11097b9fb7c9) (std::string const &amp;key) const std::vector&lt; std::string &gt; [filePaths](classansys_1_1dpf_1_1DataSources.xhtml#ab406fd24d91af8256c82faee8d962c17) (std::string const &amp;key) const std::vector&lt; std::string &gt; [resultFilePaths](classansys_1_1dpf_1_1DataSources.xhtml#a4c0974ee4d72e7d7d2d5051796cf7de2) () const std::vector&lt; std::string &gt; [keys](classansys_1_1dpf_1_1DataSources.xhtml#a80afd0dab2f06de1b37097e89ef96e63) () const int [numPaths](classansys_1_1dpf_1_1DataSources.xhtml#a74a2a6b4aacae91be09048a58c601d1b) () const std::string [pathAtKeyByIndex](classansys_1_1dpf_1_1DataSources.xhtml#af9f900d56ea58cec07e7d04151c2208a) (std::string const &amp;key, [dp\_index](namespaceansys_1_1dpf.xhtml#a417548d1b705a9ba54ba9429afe68920) index) const std::pair&lt; std::string, std::string &gt; [pathAndKeyByIndex](classansys_1_1dpf_1_1DataSources.xhtml#a3232c71d54216a688008e590ac8f892d) (int index) const [LabelSpace](classansys_1_1dpf_1_1LabelSpace.xhtml) [identifierbyIndex](classansys_1_1dpf_1_1DataSources.xhtml#a8803654ff5e770591c1c866271f436f6) (int index) const [DataSources](classansys_1_1dpf_1_1DataSources.xhtml) [deep\_copy](classansys_1_1dpf_1_1DataSources.xhtml#a98fc4cd5c063eef368734854b30b63c2) ([ansys::dpf::Client](classansys_1_1dpf_1_1Client.xhtml) const \*const client=nullptr) const <a id="a3e58ea69bbb8b0e13f2368885f490a9d" name="a3e58ea69bbb8b0e13f2368885f490a9d"></a>void **registerNamespace** (std::string const &amp;result\_key, std::string const &amp;namspace) ![-](/sites/default/files/migrate-content/dpf_cpp_client_library_2025_r1_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 [DataSources](classansys_1_1dpf_1_1DataSources.xhtml) [emptyDataSources](classansys_1_1dpf_1_1DataSources.xhtml#a014bb2c064ff1dce21325a012a57a4c8) () <a id="details" name="details"></a>## Detailed Description

Container of files on which the analysis results can be found.

Examples[AveragingTest.cpp](AveragingTest_8cpp-example.xhtml#_a0), [CompleteRST.cpp](CompleteRST_8cpp-example.xhtml#_a0), [DataApis.cpp](DataApis_8cpp-example.xhtml#_a11), [DataExport.cpp](DataExport_8cpp-example.xhtml#_a6), [OperatorsApis.cpp](OperatorsApis_8cpp-example.xhtml#_a0), [ResultTest.cpp](ResultTest_8cpp-example.xhtml#_a0), and [WorkflowExamples.cpp](WorkflowExamples_8cpp-example.xhtml#_a0).

## Constructor &amp; Destructor Documentation

<a id="a6428071b5158de19e283481087220d4c" name="a6428071b5158de19e283481087220d4c"></a>## [◆ ](#a6428071b5158de19e283481087220d4c)DataSources() \[1/6\]

 ansys::dpf::DataSources::DataSources  ( [Client](classansys_1_1dpf_1_1Client.xhtml) const \*const  *client*) 

Create a file container on a server.

Parameters \[in\]client[Client](classansys_1_1dpf_1_1Client.xhtml) instance designating the IP, port and protocol to use. 



<a id="af3684cac83ff9a5e91bde6f3d421fed6" name="af3684cac83ff9a5e91bde6f3d421fed6"></a>## [◆ ](#af3684cac83ff9a5e91bde6f3d421fed6)DataSources() \[2/6\]

 ansys::dpf::DataSources::DataSources  ( std::string const &amp;  *result\_file\_path*,    std::string const &amp;  *key*   ) 

Create a file container with given file and key.

Parameters \[in\]result\_file\_path[Result](classansys_1_1dpf_1_1Result.xhtml) file with which to create data source container. \[in\]keyKey describing type of file. 



<a id="a2124e3800c560dc2b676b5ceeecac6d2" name="a2124e3800c560dc2b676b5ceeecac6d2"></a>## [◆ ](#a2124e3800c560dc2b676b5ceeecac6d2)DataSources() \[3/6\]

 ansys::dpf::DataSources::DataSources  ( std::string const &amp;  *result\_file\_path*,    std::string const &amp;  *key*,    [Client](classansys_1_1dpf_1_1Client.xhtml) const \*const  *client*   ) 

Create a file container with given file and key.

Parameters \[in\]result\_file\_path[Result](classansys_1_1dpf_1_1Result.xhtml) file with which to create data source container. \[in\]keyKey describing type of file. \[in\]client[Client](classansys_1_1dpf_1_1Client.xhtml) instance designating the IP, port and protocol to use. 



<a id="ab607a7dd632e40f18baa9bdc44631011" name="ab607a7dd632e40f18baa9bdc44631011"></a>## [◆ ](#ab607a7dd632e40f18baa9bdc44631011)DataSources() \[4/6\]

 ansys::dpf::DataSources::DataSources  ( std::string const &amp;  *result\_file\_path*) 

Create a file container with given file.

Parameters \[in\]result\_file\_path[Result](classansys_1_1dpf_1_1Result.xhtml) file with which to create data source container. 



<a id="a85e10756d54a7164a7c47fde17426ce8" name="a85e10756d54a7164a7c47fde17426ce8"></a>## [◆ ](#a85e10756d54a7164a7c47fde17426ce8)DataSources() \[5/6\]

 ansys::dpf::DataSources::DataSources  ( std::string const &amp;  *result\_file\_path*,    [Client](classansys_1_1dpf_1_1Client.xhtml) const \*const  *client*   ) 

Create a file container with given file on a server.

Parameters \[in\]result\_file\_path[Result](classansys_1_1dpf_1_1Result.xhtml) file with which to create data source container. 



<a id="a187861f11263eda7b619c769b5ff83a5" name="a187861f11263eda7b619c769b5ff83a5"></a>## [◆ ](#a187861f11263eda7b619c769b5ff83a5)DataSources() \[6/6\]

 ansys::dpf::DataSources::DataSources  ( int  *id*,    [Client](classansys_1_1dpf_1_1Client.xhtml) const \*const  *client*   ) 

Retrieve an existing instance of [DataSources](classansys_1_1dpf_1_1DataSources.xhtml) on a server.

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



## Member Function Documentation

<a id="a997a716f9f6a33e05480f9965be17364" name="a997a716f9f6a33e05480f9965be17364"></a>## [◆ ](#a997a716f9f6a33e05480f9965be17364)addDomainFile()

 void ansys::dpf::DataSources::addDomainFile  ( std::string const &amp;  *file\_path*,    std::string const &amp;  *key*,    [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0)  *domain\_id*   ) 

Add domain file with key and domain id to data sources.

Parameters \[in\]file\_pathFile to use with data source container. \[in\]keyKey describing type of file. \[in\]domain\_idDomain id of file. 



<a id="a84323382bc1f6d128bb86e6c3f15c4b0" name="a84323382bc1f6d128bb86e6c3f15c4b0"></a>## [◆ ](#a84323382bc1f6d128bb86e6c3f15c4b0)addDomainResultFile()

 void ansys::dpf::DataSources::addDomainResultFile  ( std::string const &amp;  *file\_path*,    std::string const &amp;  *key*,    [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0)  *domain\_id*   ) 

Define data source result file with key and domain.

Parameters \[in\]file\_path[Result](classansys_1_1dpf_1_1Result.xhtml) file to use with data source container. \[in\]keyKey describing type of file. \[in\]domain\_idDomain id of file. 



<a id="a51a3d8501269698d90ebf54dc0049d2a" name="a51a3d8501269698d90ebf54dc0049d2a"></a>## [◆ ](#a51a3d8501269698d90ebf54dc0049d2a)addFile() \[1/3\]

 void ansys::dpf::DataSources::addFile  ( std::string const &amp;  *file\_path*) 

Add secondary, non-result, file to data sources.

Parameters \[in\]file\_pathFile to use with data source container. 



<a id="ad8d20dc94dee694a62fce66e91691090" name="ad8d20dc94dee694a62fce66e91691090"></a>## [◆ ](#ad8d20dc94dee694a62fce66e91691090)addFile() \[2/3\]

 void ansys::dpf::DataSources::addFile  ( std::string const &amp;  *file\_path*,    std::string const &amp;  *key*   ) 

Add secondary, non-result, file with key to data sources.

Parameters \[in\]file\_pathFile to use with data source container. \[in\]keyKey describing type of file. Examples[DataApis.cpp](DataApis_8cpp-example.xhtml#a13).



<a id="a166f58480abfc46773763764419eaf4c" name="a166f58480abfc46773763764419eaf4c"></a>## [◆ ](#a166f58480abfc46773763764419eaf4c)addFile() \[3/3\]

 void ansys::dpf::DataSources::addFile  ( std::string const &amp;  *file\_path*,    std::string const &amp;  *key*,    std::string const &amp;  *result\_key*   ) 

Add secondary, non-result, file with key and result key to data sources.

Parameters \[in\]file\_pathFile to use with data source container. \[in\]keyKey describing type of file. \[in\]result\_key[Result](classansys_1_1dpf_1_1Result.xhtml) key for file. 



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

 void ansys::dpf::DataSources::addResultFile  ( std::string const &amp;  *file\_path*) 

Define result for data sources.

Parameters \[in\]file\_path[Result](classansys_1_1dpf_1_1Result.xhtml) file to use with data source container. 



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

 void ansys::dpf::DataSources::addResultFile  ( std::string const &amp;  *file\_path*,    std::string const &amp;  *key*   ) 

Define result file with key for data sources.

Parameters \[in\]file\_path[Result](classansys_1_1dpf_1_1Result.xhtml) file to use with data source container. \[in\]keyKey describing type of file. Examples[AveragingTest.cpp](AveragingTest_8cpp-example.xhtml#a1), [CompleteRST.cpp](CompleteRST_8cpp-example.xhtml#a1), [DataApis.cpp](DataApis_8cpp-example.xhtml#a12), [OperatorsApis.cpp](OperatorsApis_8cpp-example.xhtml#a1), [ResultTest.cpp](ResultTest_8cpp-example.xhtml#a1), and [WorkflowExamples.cpp](WorkflowExamples_8cpp-example.xhtml#a1).



<a id="a8480115f09431641ad94e5088629ea10" name="a8480115f09431641ad94e5088629ea10"></a>## [◆ ](#a8480115f09431641ad94e5088629ea10)addResultFileWString()

 void ansys::dpf::DataSources::addResultFileWString  ( std::wstring const &amp;  *file\_path*) 

Define result for data sources.

Parameters \[in\]file\_path[Result](classansys_1_1dpf_1_1Result.xhtml) file to use with data source container. 



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

 void ansys::dpf::DataSources::addUpStream  ( [DataSources](classansys_1_1dpf_1_1DataSources.xhtml) &amp;  *ds*) 

Add up stream to data sources.

Parameters \[in\]dsUpstream data sources. 



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

 void ansys::dpf::DataSources::addUpStream  ( [DataSources](classansys_1_1dpf_1_1DataSources.xhtml) &amp;  *ds*,    std::string const &amp;  *result\_key*   ) 

Add up stream with result key to data sources.

Parameters \[in\]dsUpstream data sources. \[in\]result\_key[Result](classansys_1_1dpf_1_1Result.xhtml) key for upstream source. 



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

 [DataSources](classansys_1_1dpf_1_1DataSources.xhtml) ansys::dpf::DataSources::deep\_copy  ( [ansys::dpf::Client](classansys_1_1dpf_1_1Client.xhtml) const \*const  *client* = `nullptr`)  const

Create a new [DataSources](classansys_1_1dpf_1_1DataSources.xhtml) on a server by copying all the data of this [DataSources](classansys_1_1dpf_1_1DataSources.xhtml).

Parameters \[in\]client[Client](classansys_1_1dpf_1_1Client.xhtml) instance designating the IP, port and protocol to use. 



<a id="a014bb2c064ff1dce21325a012a57a4c8" name="a014bb2c064ff1dce21325a012a57a4c8"></a>## [◆ ](#a014bb2c064ff1dce21325a012a57a4c8)emptyDataSources()

 static [DataSources](classansys_1_1dpf_1_1DataSources.xhtml) ansys::dpf::DataSources::emptyDataSources  ( )   static 

Create an empty data sources.

ReturnsEmpty [DataSources](classansys_1_1dpf_1_1DataSources.xhtml). 



<a id="ab406fd24d91af8256c82faee8d962c17" name="ab406fd24d91af8256c82faee8d962c17"></a>## [◆ ](#ab406fd24d91af8256c82faee8d962c17)filePaths()

 std::vector&lt; std::string &gt; ansys::dpf::DataSources::filePaths  ( std::string const &amp;  *key*)  const

ReturnsVector of secondary files given by key. Parameters \[in\]keyKey describing file type. 



<a id="a8803654ff5e770591c1c866271f436f6" name="a8803654ff5e770591c1c866271f436f6"></a>## [◆ ](#a8803654ff5e770591c1c866271f436f6)identifierbyIndex()

 [LabelSpace](classansys_1_1dpf_1_1LabelSpace.xhtml) ansys::dpf::DataSources::identifierbyIndex  ( int  *index*)  const

Returns[LabelSpace](classansys_1_1dpf_1_1LabelSpace.xhtml) or identifier of a path for a given index in data sources. 



<a id="a80afd0dab2f06de1b37097e89ef96e63" name="a80afd0dab2f06de1b37097e89ef96e63"></a>## [◆ ](#a80afd0dab2f06de1b37097e89ef96e63)keys()

 std::vector&lt; std::string &gt; ansys::dpf::DataSources::keys  ( )  const

ReturnsVector of keys in data sources. 



<a id="a74a2a6b4aacae91be09048a58c601d1b" name="a74a2a6b4aacae91be09048a58c601d1b"></a>## [◆ ](#a74a2a6b4aacae91be09048a58c601d1b)numPaths()

 int ansys::dpf::DataSources::numPaths  ( )  const

ReturnsSize or Num file path in data sources. Examples[CompleteRST.cpp](CompleteRST_8cpp-example.xhtml#a2).



<a id="a3232c71d54216a688008e590ac8f892d" name="a3232c71d54216a688008e590ac8f892d"></a>## [◆ ](#a3232c71d54216a688008e590ac8f892d)pathAndKeyByIndex()

 std::pair&lt; std::string, std::string &gt; ansys::dpf::DataSources::pathAndKeyByIndex  ( int  *index*)  const

ReturnsFile path and its key for a given index in data sources. 



<a id="af9f900d56ea58cec07e7d04151c2208a" name="af9f900d56ea58cec07e7d04151c2208a"></a>## [◆ ](#af9f900d56ea58cec07e7d04151c2208a)pathAtKeyByIndex()

 std::string ansys::dpf::DataSources::pathAtKeyByIndex  ( std::string const &amp;  *key*,    [dp\_index](namespaceansys_1_1dpf.xhtml#a417548d1b705a9ba54ba9429afe68920)  *index*   )  const

ReturnsPath at given key and given index in data sources. 



<a id="a4c0974ee4d72e7d7d2d5051796cf7de2" name="a4c0974ee4d72e7d7d2d5051796cf7de2"></a>## [◆ ](#a4c0974ee4d72e7d7d2d5051796cf7de2)resultFilePaths()

 std::vector&lt; std::string &gt; ansys::dpf::DataSources::resultFilePaths  ( )  const

ReturnsVector of result files in data sources. 



<a id="a7320cf9a8d0850e64fc8d337ee666178" name="a7320cf9a8d0850e64fc8d337ee666178"></a>## [◆ ](#a7320cf9a8d0850e64fc8d337ee666178)resultKey()

 std::string ansys::dpf::DataSources::resultKey  ( )  const

Returns[Result](classansys_1_1dpf_1_1Result.xhtml) key of data sources. 



<a id="adfa425b1477b6ebe977f11097b9fb7c9" name="adfa425b1477b6ebe977f11097b9fb7c9"></a>## [◆ ](#adfa425b1477b6ebe977f11097b9fb7c9)resultNamespaceForKey()

 std::string ansys::dpf::DataSources::resultNamespaceForKey  ( std::string const &amp;  *key*)  const

Returns[Result](classansys_1_1dpf_1_1Result.xhtml) namespace to a given key of data sources.