> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ansys::dpf::Workflow Class Reference

Group a set of connected operators in order to define a whole data treatment.

`#include <dpf_api.h>`

Inheritance diagram for ansys::dpf::Workflow:

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

## Public Member Functions

| Type | Name |
| - | - |
| | [Workflow](#a2846bb6c6a083c909cc69cdd7693e2af) () |
| | [Workflow](#a8a36b36629bde25afe03b12b0ed5a958) (std::string const \&workflow\_string) |
| | [Workflow](#a9df2ce30e71299cc68d8c8b5ad6d0aab) ([Client](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Client.md) const \*const client) |
| | [Workflow](#a75ca6a59b59ded54d4606acfc8f30d26) (std::string const \&workflow\_string, [Client](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Client.md) const \*const client) |
| | [Workflow](#a463fddfb0fd209fc582de029dfbcc7e6) ([dp\_id](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#ab4574c9af3f2bb8011da7d1f4c8da20e) id, [Client](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Client.md) const \*const client) |
| | **Workflow** ([Workflow](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Workflow.md) const &) |
| | **Workflow** ([Workflow](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Workflow.md) &&) noexcept |
| [Workflow](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Workflow.md) & | **operator=** ([Workflow](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Workflow.md) const &) |
| [Workflow](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Workflow.md) & | **operator=** ([Workflow](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Workflow.md) &&) noexcept |
| [Workflow](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Workflow.md) | [getCopy](#a850d7aa707b7b9017bd679defc9d2845) () const |
| void | [add](#a794c8ac3fdd9459ebfe87f3962936a81) ([Operator](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Operator.md) \&op) |
| void | [connectWith](#a4175b5645453c094e5ab3da2bc0b139e) ([Workflow](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Workflow.md) \&left\_workflow) |
| void | [connectWith](#a01626b04d4825b54d4a967c72c942fec) ([Workflow](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Workflow.md) \&left\_workflow, std::map\< std::string, std::string > const \&connections) |
| bool | [hasInputPin](#ad4082c537432a19c765d590a6901ab22) (std::string const \&pin\_name) const |
| bool | [hasOutputPin](#a971acc185d66d6c1beec47af476a37b5) (std::string const \&pin\_name) const |
| std::vector\< std::string > | [listInputPins](#a084608aa05b59222823da959778ec525) () const |
| std::vector\< std::string > | [listOutputPins](#a6a33ca9d55b7a6f59d4fadb0e393a1eb) () const |
| void | [nameInputPin](#a71a0990995b27105d4c362ad2880e4d7) (std::string const \&pin\_name, int operator\_input\_pin, [Operator](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Operator.md) \&op) |
| void | [nameOutputPin](#a3a223ef1c0200cc16ac1434ef938efca) ([Operator](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Operator.md) \&op, int operator\_output\_pin, std::string const \&pin\_name) |
| void | [eraseInputPin](#a07b6c6b80c65c47282d631b9d3036289) (std::string const \&pin\_name) |
| void | [eraseOutputPin](#ae4aae9e5a3a414fa0ba10db9b219ee2d) (std::string const \&pin\_name) |
| void | [writeToSwf](#ad3b00b52721f7019bd2820f93f8c0aa4) (std::string const \&file\_path) const |
| void | [writeToGraphViz](#a65f7ba38832058e0f233ae45965ef08b) (std::string const \&file\_path) const |
| void | [writeToJson](#a1ddf4b26605e2f28dd54fec4e47310d1) (std::string \&jsonString) const |
| void | [readFromJson](#a6f93a5ffa10086a7f2a40291119f6e53) (const std::string \&jsonString) |
| std::string | [writeToString](#a6aaabec3049d60c96c32f7eb3ae38a0f) () const |
| void | [chainWith](#a36001ca148e2ca1f6d0518d3aefad5dd) (const [Workflow](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Workflow.md) \&wf) |
| void | [chainWith](#afdb94d06a19ad7f8288a462d7e58b2aa) (const [Workflow](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Workflow.md) \&wf, const std::pair\< std::string, std::string > \&in\_out\_names) |
| void | [renameInputPin](#a22fba3c96a8a6e9eda279fd1c4b5358f) (std::string const \&old\_pin\_name, std::string const \&new\_pin\_name) |
| void | [renameOutputPin](#abff62660096b06dd09667061c8e3d8a6) (std::string const \&old\_pin\_name, std::string const \&new\_pin\_name) |
| void | [loadFromSwf](#a5cb98918b3285132ff6d00f2b5905b2f) (std::string const \&file\_path) |
|  void | **generateDerivativeFor** (std::string const \&output\_name, std::string const \&symbol\_name) |
| bool | [hasOutputWhenEvaluated](#a70af322877ca5e6ee6e7b1f81012c044) (std::string const \&pin\_name) |
| [dp\_int](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a60d181a1f9d29cc7cc38b25dac4401f0) | [numberOfOperators](#ab8b59d1d65ffb6df6845d98e321dfc20) () const |
| std::string | [operatorNameByIndex](#a040282982c7c01c8c0a7ac8724859d87) ([dp\_int](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a60d181a1f9d29cc7cc38b25dac4401f0) index) const |
| [Operator](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Operator.md) | [firstOperator](#a240864c97ab88338e9ba6ef8c4ad9ed3) () const |
| [Operator](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Operator.md) | [lastOperator](#a7e7861cf4975e45f30bcc0e19ae55f57) () const |
| [Field](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Field.md) | [getOutputField](#a21d864839aa5e8df007f9596ec69a58a) (std::string const \&pin\_name) |
| [FieldsContainer](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1FieldsContainer.md) | [getOutputFieldsContainer](#aa3a9c25bbfb550d6692c063f9c3a9366) (std::string const \&pin\_name) |
| [Scoping](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Scoping.md) | [getOutputScoping](#a74132c47f9aba3bf91929057a5765d26) (std::string const \&pin\_name) |
| [ScopingsContainer](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1ScopingsContainer.md) | [getOutputScopingsContainer](#a33caface659fe462e68fdbcc0970a1be) (std::string const \&pin\_name) |
| [MeshesContainer](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1MeshesContainer.md) | [getOutputMeshesContainer](#a6c7cb7443fd062fea0ca57d48600d480) (std::string const \&pin\_name) |
| [TimeFreqSupport](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1TimeFreqSupport.md) | [getOutputTimeFreqSupport](#ac087d530db5bea30250a6110054f204a) (std::string const \&pin\_name) |
| [MeshedRegion](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1MeshedRegion.md) | [getOutputMeshedRegion](#a6ea222c1a71552dce249843b94a07fa4) (std::string const \&pin\_name) |
| [ResultInfo](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1ResultInfo.md) | [getOutputResultInfo](#aed1256fa413f596e2adfea30249f7709) (std::string const \&pin\_name) |
| [Support](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Support.md) | [getOutputSupport](#aaf5694a0c8e6c6aca9436c5c83af76b2) (std::string const \&pin\_name) |
| [CyclicSupport](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1CyclicSupport.md) | [getOutputCyclicSupport](#a6d1485f44ae9f6021d7abe5b624ad3dd) (std::string const \&pin\_name) |
| [DataSources](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DataSources.md) | [getOutputDataSources](#ab5d2dc81bc032dd62781eccc8d08dc72) (std::string const \&pin\_name) |
| [Streams](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Streams.md) | [getOutputStreams](#ae584dfe4b900829cd8bca00dd3200363) (std::string const \&pin\_name) |
| [PropertyField](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1PropertyField.md) | [getOutputPropertyField](#acf02bf7c228fb3d944edd838022e7916) (std::string const \&pin\_namepin\_name) |
| [Unit](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Unit.md) | [getOutputUnit](#abeff5a7ffd64f443c6da0be2e254563c) (std::string const \&pin\_name) |
| [Workflow](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Workflow.md) | [getOutputWorkflow](#a6291348781887726efc7afe9e31a5fb9) (std::string const \&pin\_name) |
| [DataTree](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DataTree.md) | [getOutputDataTree](#aae161a44ae32216f89da086d04cc45d2) (std::string const \&pin\_name) |
| [StringField](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1StringField.md) | [getOutputStringField](#add8d5ca19cf8ceba3d69cb6489ea234c) (std::string const \&pin\_name) |
| [CustomTypeField](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1CustomTypeField.md) | [getOutputCustomTypeField](#ab64177b6dcf13680cf698dcdf4dc0c89) (std::string const \&pin\_name) |
| GenericDataContainer | [getOutputGenericDataContainer](#a9661afd7e92eecc870617730041cc103) (std::string const \&pin\_name) |
| [CustomTypeFieldsContainer](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1CustomTypeFieldsContainer.md) | [getOutputCustomTypeFieldsContainer](#a1a190e68bcfc34d41616d008278fbdec) (std::string const \&pin\_name) |
| [dp\_int](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a60d181a1f9d29cc7cc38b25dac4401f0) | [getOutputInt](#a763c0ba2b4e2184b40ab4a7a32e356c1) (std::string const \&pin\_name) |
| [dp\_double](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#acb480013bfed185b5e34a0bdcb0e3790) | [getOutputDouble](#a6fb5083841eecabdec318dd28db6e71a) (std::string const \&pin\_name) |
| bool | [getOutputBool](#a6156eba91101e868899f2a9401180a9e) (std::string const \&pin\_name) |
| std::string | [getOutputString](#a59d4b94233be7f750d0a1af78accd6ba) (std::string const \&pin\_index) |
| [Any](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Any.md) | [getOutputAsAny](#a5340e6ab9473e5615e62223509d473c2) (std::string const \&pin\_name) |
| [DpfVector](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfVector.md)\< int > | [getOutputIntVector](#ad3afdaf27db659d67365c0f76de110ef) (std::string const \&pin\_name) |
| [DpfVector](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfVector.md)\< double > | [getOutputDoubleVector](#a4ef3ed3764263f8d09adac332209e564) (std::string const \&pin\_name) |
| template\<typename DataT > DataT | [getCustomOutput](#a3d181c629d1808c570ac90e485a6c5f9) (std::string const \&pin\_name) |
| template\<typename DataT > DataT | [getOutput](#a312d744b2c8174b3cd5e1d102ff6ae7b) (std::string const \&pin\_name) |
| [Field](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Field.md) | [getOutputField](#ae6a68dfd55de34b0d6341187c526f555) (std::string const \&pin\_name, [DpfError](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfError.md) \&error) |
| [FieldsContainer](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1FieldsContainer.md) | [getOutputFieldsContainer](#a9ca347cc825a5222992789d272319855) (std::string const \&pin\_name, [DpfError](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfError.md) \&error) |
| [Scoping](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Scoping.md) | [getOutputScoping](#a5c6b0a0ed35ad495a2776d9ec078fc19) (std::string const \&pin\_name, [DpfError](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfError.md) \&error) |
| [ScopingsContainer](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1ScopingsContainer.md) | [getOutputScopingsContainer](#a545556717c00fa45e69d5ef73db01a56) (std::string const \&pin\_name, [DpfError](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfError.md) \&error) |
| [MeshesContainer](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1MeshesContainer.md) | [getOutputMeshesContainer](#aa776a964e764c7e4b48172a0058f4549) (std::string const \&pin\_name, [DpfError](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfError.md) \&error) |
| [TimeFreqSupport](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1TimeFreqSupport.md) | [getOutputTimeFreqSupport](#ae52042f810882873efc0ba757202e886) (std::string const \&pin\_name, [DpfError](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfError.md) \&error) |
| [MeshedRegion](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1MeshedRegion.md) | [getOutputMeshedRegion](#a7e1b966c6f88bf8913a78fdd1bc9f8ec) (std::string const \&pin\_name, [DpfError](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfError.md) \&error) |
| [ResultInfo](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1ResultInfo.md) | [getOutputResultInfo](#aeffa8acf3f758d6889815f63cabe07fe) (std::string const \&pin\_name, [DpfError](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfError.md) \&error) |
| [Support](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Support.md) | [getOutputSupport](#ac72d8c2dcd1440727a32eab2dd116de5) (std::string const \&pin\_name, [DpfError](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfError.md) \&error) |
| [CyclicSupport](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1CyclicSupport.md) | [getOutputCyclicSupport](#a0f25cc380b20d458d5e89e4b65c90f2e) (std::string const \&pin\_name, [DpfError](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfError.md) \&error) |
| [DataSources](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DataSources.md) | [getOutputDataSources](#a665a58c468cb73763561a72213a24105) (std::string const \&pin\_name, [DpfError](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfError.md) \&error) |
| [Streams](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Streams.md) | [getOutputStreams](#a71da7d7f3e4eafd716ed3a6231f367ba) (std::string const \&pin\_name, [DpfError](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfError.md) \&error) |
| [PropertyField](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1PropertyField.md) | [getOutputPropertyField](#a505757d97be1f400590993ea7afff978) (std::string const \&pin\_name, [DpfError](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfError.md) \&error) |
| [StringField](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1StringField.md) | [getOutputStringField](#a43caf8cf225d29a869798a9920a501e4) (std::string const \&pin\_name, [DpfError](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfError.md) \&error) |
| [CustomTypeField](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1CustomTypeField.md) | [getOutputCustomTypeField](#ab1d36de322f134cd3240fb3aa138d58b) (std::string const \&pin\_name, [DpfError](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfError.md) \&error) |
| GenericDataContainer | [getOutputGenericDataContainer](#a146947a1a0e68693bbbef667e32a1ba9) (std::string const \&pin\_name, [DpfError](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfError.md) \&error) |
| [CustomTypeFieldsContainer](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1CustomTypeFieldsContainer.md) | [getOutputCustomTypeFieldsContainer](#a848ccba76719484ca0fba34f3e2b2282) (std::string const \&pin\_name, [DpfError](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfError.md) \&error) |
| [Unit](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Unit.md) | [getOutputUnit](#af8eb2c09487a34ec09f8166072c5ca2c) (std::string const \&pin\_name, [DpfError](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfError.md) \&error) |
| [Workflow](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Workflow.md) | [getOutputWorkflow](#a512f234628a9f2b95ad423907ddb25c4) (std::string const \&pin\_name, [DpfError](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfError.md) \&error) |
| [dp\_int](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a60d181a1f9d29cc7cc38b25dac4401f0) | [getOutputInt](#a152f76caf982e70a1441ff18fee7ff58) (std::string const \&pin\_name, [DpfError](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfError.md) \&error) |
| [dp\_double](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#acb480013bfed185b5e34a0bdcb0e3790) | [getOutputDouble](#a2584163d1c7158faa3bcfeb5fffaeda2) (std::string const \&pin\_name, [DpfError](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfError.md) \&error) |
| bool | [getOutputBool](#ac86f5cff304ed6a263f9e915d8a8b3b7) (std::string const \&pin\_name, [DpfError](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfError.md) \&error) |
| std::string | [getOutputString](#aaa166e26a853f3619f66841f394cbb90) (std::string const \&pin\_name, [DpfError](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfError.md) \&error) |
| [DpfVector](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfVector.md)\< int > | [getOutputIntVector](#ac584ff672992b102d00b63fdfda214b2) (std::string const \&pin\_name, [DpfError](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfError.md) \&error) |
| [DpfVector](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfVector.md)\< double > | [getOutputDoubleVector](#a751600692296801ca04c300ed13327ce) (std::string const \&pin\_name, [DpfError](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfError.md) \&error) |
| void | [connect](#ab47934497d52355ac422efa57677ff75) (std::string const \&pin\_name, std::string const \&f) |
| void | [connect](#a6ce835a6bd7213846e9f2a54c3c0a26b) (std::string const \&pin\_name, [dp\_int](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a60d181a1f9d29cc7cc38b25dac4401f0) f) |
| void | [connect](#a0359e496cfe9ef8b635df5ced09ee4ed) (std::string const \&pin\_name, bool f) |
| void | [connect](#a784a219175f41f4a6c7da7703f45defe) (std::string const \&pin\_name, [dp\_double](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#acb480013bfed185b5e34a0bdcb0e3790) f) |
| void | [connect](#a2bbb7a7147a954812864d12b21ded9b3) (std::string const \&pin\_name, std::vector\< int > const \&f) |
| void | [connect](#a667f3d115d92aab65b3220e1ab64fb28) (std::string const \&pin\_name, std::vector\< [dp\_double](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#acb480013bfed185b5e34a0bdcb0e3790) > const \&f) |
| void | [connect](#af22209afa4cb0826c3848bf9c99bdcd5) (std::string const \&pin\_name, std::vector\< std::string > const \&f) |
| void | [connect](#a8943b00849c0866751571b2e059c1f1f) (std::string const \&pin\_name, [Scoping](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Scoping.md) const \&data) |
| void | [connect](#a4b4bdbd4860a8604c9116550307f9f52) (std::string const \&pin\_name, [Field](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Field.md) const \&f) |
| void | [connect](#aa48c016c9f389323b27371756350654c) (std::string const \&pin\_name, [FieldsContainer](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1FieldsContainer.md) const \&f) |
| void | [connect](#a252c27bd350813cf0909b9577860596a) (std::string const \&pin\_name, [ScopingsContainer](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1ScopingsContainer.md) const \&f) |
| void | [connect](#a29916dec796fd6307c89df8c85244aa9) (std::string const \&pin\_name, [MeshesContainer](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1MeshesContainer.md) const \&f) |
| void | [connect](#a7e5926bff9b5aa6ee9daa21e324b538e) (std::string const \&pin\_name, [MeshedRegion](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1MeshedRegion.md) const \&f) |
| void | [connect](#a93dc6b31b164f5c4337985285fdba586) (std::string const \&pin\_name, [PropertyField](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1PropertyField.md) const \&f) |
| void | [connect](#a0974baecfc7676ccc152faab12b453b8) (std::string const \&pin\_name, [Support](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Support.md) const \&f) |
| void | [connect](#a64c8c5a6f4f12237abbc87f850ca0ee9) (std::string const \&pin\_name, [TimeFreqSupport](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1TimeFreqSupport.md) const \&f) |
| void | [connect](#a7a07e03ab9fd7ec733fd0972818eef28) (std::string const \&pin\_name, [CyclicSupport](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1CyclicSupport.md) const \&f) |
| void | [connect](#aff5f5d5fc91b7b296cb6fa5ef87c5107) (std::string const \&pin\_name, [Workflow](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Workflow.md) const \&f) |
| void | [connect](#a61879be4ea94798291feddd586145c66) (std::string const \&pin\_name, [DataSources](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DataSources.md) const \&f) |
| void | [connect](#a0a92f71b04c6db87cfa3a8a21e677f73) (std::string const \&pin\_name, [Streams](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Streams.md) const \&f) |
| void | [connect](#ace584af53d55760bbfef3a96cc98bfd0) (std::string const \&pin\_name, [DataTree](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DataTree.md) const \&f) |
| void | [connect](#ab1563b3745846cf98093df6185fdcaf8) (std::string const \&pin\_name, [StringField](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1StringField.md) const \&f) |
| void | [connect](#a4f95687c759c261e5503e71758784f67) (std::string const \&pin\_name, [CustomTypeField](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1CustomTypeField.md) const \&f) |
| void | [connect](#ad6aa6756fd298e844d4bd319b674bf67) (std::string const \&pin\_name, GenericDataContainer const \&f) |
| void | [connect](#a1bd6c48a52a6e33007d35ec97656a026) (std::string const \&pin\_name, [CustomTypeFieldsContainer](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1CustomTypeFieldsContainer.md) const \&f) |
| void | [connect](#aa6ef243aa013bc7f4a1ba4fa631b5d9d) (std::string const \&pin\_name, [LabelSpace](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1LabelSpace.md) const \&f) |
| void | [connect](#a8474ee76056b00dc1aeaa4d88984d782) (std::string const \&pin\_name, [CustomContainerBase](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1CustomContainerBase.md) const \&f) |
| template\<typename DataT > void | [connect](#a3090ae5e11e680aeabc884d078783e25) (std::string const \&pin\_name, [Collection](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Collection.md)\< DataT > const \&f) |
| void | [connect](#ad572b0f3feec3e59bfab415303a9b648) (std::string const \&pin\_name, [Any](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Any.md) const \&f) |
| void | [connect](#ac1412df4cb8570cc573ad59bdf6bd798) (std::string const \&pin\_name, [Operator](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Operator.md) const \&f, [dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) output\_pin) |
| template\<typename DataT > void | [connectCustom](#a14f12d5fc517547bda3507d1b4904cd1) (std::string const \&input\_pin, DataT const \&d) |
| void | [connect](#a7a44ea576bd657745dfe605e451603b6) (std::string const \&pin\_name, [dp\_int](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a60d181a1f9d29cc7cc38b25dac4401f0) f, [DpfError](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfError.md) \&error) |
| void | [connect](#a6751a4d3a941a668c886d10464588f51) (std::string const \&pin\_name, bool f, [DpfError](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfError.md) \&error) |
| void | [connect](#a2e5709ac0f02efa74c1c76a93482af5f) (std::string const \&pin\_name, [dp\_double](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#acb480013bfed185b5e34a0bdcb0e3790) f, [DpfError](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfError.md) \&error) |
| void | [connect](#a4a861efbe5a6ef1e4aaf9aeffe1c0034) (std::string const \&pin\_name, std::string const \&f, [DpfError](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfError.md) \&error) |
| void | [connect](#a66788ae625c25ec2e79381cde769dcb9) (std::string const \&pin\_name, std::vector\< int > const \&f, [DpfError](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfError.md) \&error) |
| void | [connect](#ae6a0ccf692e3df243f16f631a2a3e92f) (std::string const \&pin\_name, std::vector\< [dp\_double](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#acb480013bfed185b5e34a0bdcb0e3790) > const \&f, [DpfError](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfError.md) \&error) |
| void | [connect](#a9dec5cc81a217f554042098835c20e76) (std::string const \&pin\_name, std::vector\< std::string > const \&f, [DpfError](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfError.md) \&error) |
| void | [connect](#a7c3b78f070e5dd68eb6651ed3cac40dc) (std::string const \&pin\_name, [Scoping](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Scoping.md) const \&f, [DpfError](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfError.md) \&error) |
| void | [connect](#a070371d847e987fc27e8a16a0be4d88e) (std::string const \&pin\_name, [Field](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Field.md) const \&f, [DpfError](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfError.md) \&error) |
| void | [connect](#a0c4754aa87841da9daf4132269c2c6fa) (std::string const \&pin\_name, [FieldsContainer](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1FieldsContainer.md) const \&f, [DpfError](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfError.md) \&error) |
| void | [connect](#a50152bec5cd234c49a0d763552daf2c0) (std::string const \&pin\_name, [ScopingsContainer](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1ScopingsContainer.md) const \&f, [DpfError](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfError.md) \&error) |
| void | [connect](#ad17a794af1d450de045339847fa08f9d) (std::string const \&pin\_name, [MeshesContainer](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1MeshesContainer.md) const \&f, [DpfError](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfError.md) \&error) |
| void | [connect](#a15ed0952fd8c9ee59a60d169c4ed9a7c) (std::string const \&pin\_name, [MeshedRegion](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1MeshedRegion.md) const \&f, [DpfError](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfError.md) \&error) |
| void | [connect](#a09030c86837fdfdaffe50d2423e39cfa) (std::string const \&pin\_name, [DataSources](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DataSources.md) const \&f, [DpfError](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfError.md) \&error) |
| void | [connect](#a60314676298ac8f606b72ba8d1373938) (std::string const \&pin\_name, [Streams](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Streams.md) const \&f, [DpfError](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfError.md) \&error) |
| void | [connect](#aa7a45dd2967a76b0903648d55bd407ba) (std::string const \&pin\_name, [PropertyField](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1PropertyField.md) const \&f, [DpfError](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfError.md) \&error) |
| void | [connect](#a50ab49cc59f6eb17c84aa35a7862b44c) (std::string const \&pin\_name, [Support](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Support.md) const \&f, [DpfError](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfError.md) \&error) |
| void | [connect](#a8c1fb6d6b46ad3fc35d8c385780bf797) (std::string const \&pin\_name, [CyclicSupport](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1CyclicSupport.md) const \&f, [DpfError](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfError.md) \&error) |
| void | [connect](#a54356cdba52df64f31772dc04cbff93b) (std::string const \&pin\_name, [TimeFreqSupport](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1TimeFreqSupport.md) const \&f, [DpfError](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfError.md) \&error) |
| void | [connect](#a3f0bb9caf499a7439ccc560e92636534) (std::string const \&pin\_name, [Workflow](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Workflow.md) const \&f, [DpfError](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfError.md) \&error) |
| void | [connect](#a6c46ace7d641b785639d5a88dab70c8d) (std::string const \&pin\_name, [DataTree](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DataTree.md) const \&f, [DpfError](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfError.md) \&error) |
| void | [connect](#abbafe54425152568492c1e596a58aede) (std::string const \&pin\_name, [StringField](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1StringField.md) const \&f, [DpfError](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfError.md) \&error) |
| void | [connect](#ae5dc73ae63ea8c4436acdb5f0cf85ded) (std::string const \&pin\_name, [CustomTypeField](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1CustomTypeField.md) const \&f, [DpfError](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfError.md) \&error) |
| void | [connect](#a3b7bf7f99abc786f14a2730ee1a10060) (std::string const \&pin\_name, GenericDataContainer const \&f, [DpfError](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfError.md) \&error) |
| void | [connect](#a0330735c90420e64055475071e77ac20) (std::string const \&pin\_name, [CustomTypeFieldsContainer](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1CustomTypeFieldsContainer.md) const \&f, [DpfError](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfError.md) \&error) |
| void | [connect](#afbd38a2be7389beb2de3304e71ac8065) (std::string const \&pin\_name, [LabelSpace](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1LabelSpace.md) const \&f, [DpfError](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfError.md) \&error) |
| void | [connect](#ac2989ccb8dafbb4bf150d7d774d17515) (std::string const \&pin\_name, [Any](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Any.md) const \&f, [DpfError](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfError.md) \&error) |
| void | [connect](#aa1716e9cc3ecea9fd72ec6c945c66baa) (std::string const \&pin\_name, [Operator](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Operator.md) const \&f, [dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) output\_pin, [DpfError](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfError.md) \&error) |
| void | [discoverAllOperators](#a38fb29d1a8d18b4bc08f40b657179735) () |
| int | [record](#ab001bca50c1470be154a79841c43314c) (std::string const \&name, bool transfer\_ownership, [DpfError](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfError.md) \&error) Records the workflow in DPF's registry. |
| int | [record](#a304ee206ac4927f7aa757c63b0ec00b5) (std::string const \&name, bool transfer\_ownership) Records the workflow in DPF's registry. |
|  bool | **tryReplaceWorkflowInRegistry** (int id, std::string const \&name, bool transfer\_ownership) |
|  bool | **eraseWorkflowFromRegistry** () |
| [Workflow](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Workflow.md) | [instantiateOnRemote](#a52b68fcbd68561aa3d47a3368252a9c6) ([ansys::dpf::Client](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Client.md) const \*const client) const |
| [Workflow](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Workflow.md) | [instantiateOnRemote](#a7371c4e5525bcf16d83a33a41d69b03c) (std::string const \&address, std::string const \&protocol) const |
| [Workflow](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Workflow.md) | [instantiateOnRemote](#a9836bf24a8037281f69e7f32285daa45) (std::string const \&ip, int port, std::string const \&protocol) const |
| [dp\_id](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#ab4574c9af3f2bb8011da7d1f4c8da20e) | [getRemoteId](#a88a367b1638835774ffa7d7521b741c7) () const |
| std::vector\< std::pair\< int, [ansys::dpf::Operator](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Operator.md) > > | [operatorsForInput](#a64cb9ef47834d2696d0b8166b6f39451) (std::string const \&input\_name) const |
| std::pair\< int, [ansys::dpf::Operator](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Operator.md) > | [operatorForOutput](#aeb5cac6b425e459a4261f03bae73d5f3) (std::string const \&output\_name) const |

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

## Static Public Member Functions

| Type | Name |
| - | - |
| static [Workflow](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Workflow.md) | [emptyWorkflow](#a304b3dba1aba101c15b08d9853111a72) () |

## Detailed Description

Group a set of connected operators in order to define a whole data treatment.

Operators can be chained together to create workflows. To do so, the user only needs to connect some operator's outputs to an other operator's inputs. With workflows, lazy evaluation is performed, which means that when the last operator's outputs are asked by the user, all the connected operators will also be evaluated (and not before) to compute a given result.

The different operators contained in a workflow can be internally connected together so that the end user doesn't need to be aware of its complexity. The workflow only needs to expose the necessary inputs pin and output pins. For example, a workflow could expose a "time scoping" input pin and a "data sources" input pin and expose a "result" output pin and have very complex routines inside it.

**Examples**

[DataApis.cpp](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/DataApis_8cpp-example.md).

## Constructor & Destructor Documentation

### Workflow() \[1/5]

```cpp theme={null}
ansys::dpf::Workflow::Workflow()
```

Create a new workflow.

### Workflow() \[2/5]

```cpp theme={null}
ansys::dpf::Workflow::Workflow(std::string const & workflow_string)
```

Create a workflow from a string.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | workflow\_string | [Workflow](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Workflow.md) string definition generated by [writeToString()](#a6aaabec3049d60c96c32f7eb3ae38a0f). |

### Workflow() \[3/5]

```cpp theme={null}
ansys::dpf::Workflow::Workflow(Client const *const client)
```

Create a new workflow on a server.

### Workflow() \[4/5]

```cpp theme={null}
ansys::dpf::Workflow::Workflow(
    std::string const & workflow_string,
    Client const *const client
)
```

Create a workflow from a string on a server.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | workflow\_string | [Workflow](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Workflow.md) string definition generated by [writeToString()](#a6aaabec3049d60c96c32f7eb3ae38a0f). |

### Workflow() \[5/5]

```cpp theme={null}
ansys::dpf::Workflow::Workflow(
    dp_id id,
    Client const *const client
)
```

Retrieve an existing instance of [Workflow](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Workflow.md) on a server.

## Member Function Documentation

### add()

```cpp theme={null}
void ansys::dpf::Workflow::add(Operator & op)
```

Add operator to workflow.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | op | [Operator](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Operator.md) to add. |

**Examples**

[DataApis.cpp](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/DataApis_8cpp-example.md).

### chainWith() \[1/2]

```cpp theme={null}
void ansys::dpf::Workflow::chainWith(const Workflow & wf)
```

Append given workflow.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | wf | [Workflow](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Workflow.md) to add. |

### chainWith() \[2/2]

```cpp theme={null}
void ansys::dpf::Workflow::chainWith(
    const Workflow & wf,
    const std::pair< std::string, std::string > & in_out_names
)
```

Append given workflow. Output name is connected to input name of given workflow.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | wf | [Workflow](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Workflow.md) to add. |
| \[in] | in\_out\_names | Pair of input/output names. |

### connect() \[1/58]

```cpp theme={null}
void ansys::dpf::Workflow::connect(
    std::string const & pin_name,
    Any const & f
)
```

Connect [Any](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Any.md) to input pin.

**Exceptions**

| Name | Description |
| - | - |
| [DpfException](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfException.md) | |

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Input pin name. |
| \[in] | f | [Any](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Any.md) data. |

### connect() \[2/58]

```cpp theme={null}
void ansys::dpf::Workflow::connect(
    std::string const & pin_name,
    Any const & f,
    DpfError & error
)
```

Connect [Any](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Any.md) support to input pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Input pin name. |
| \[in] | f | [Workflow](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Workflow.md) [Any](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Any.md) data. |
| \[out] | error | Status of call. |

### connect() \[3/58]

```cpp theme={null}
void ansys::dpf::Workflow::connect(
    std::string const & pin_name,
    bool f
)
```

Connect boolean to input pin.

**Exceptions**

| Name | Description |
| - | - |
| [DpfException](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfException.md) | |

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Input pin name. |
| \[in] | f | Boolean data. |

### connect() \[4/58]

```cpp theme={null}
void ansys::dpf::Workflow::connect(
    std::string const & pin_name,
    bool f,
    DpfError & error
)
```

Connect boolean to input pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Input pin name. |
| \[in] | f | Boolean data. |
| \[out] | error | Status of call. |

### connect() \[5/58]

```cpp theme={null}
template<typename DataT >
void ansys::dpf::Workflow::connect(
    std::string const & pin_name,
    Collection < DataT > const & f
)
```

`inline`

Connect [Any](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Any.md) dpf type.

**Exceptions**

| Name | Description |
| - | - |
| [DpfException](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfException.md) | |

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Input pin name. |
| \[in] | f | [Operator](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Operator.md) from which to connect output pin. |

### connect() \[6/58]

```cpp theme={null}
void ansys::dpf::Workflow::connect(
    std::string const & pin_name,
    CustomContainerBase const & f
)
```

Connect [LabelSpace](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1LabelSpace.md) to input pin.

**Exceptions**

| Name | Description |
| - | - |
| [DpfException](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfException.md) | |

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Input pin name. |
| \[in] | f | [CustomContainerBase](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1CustomContainerBase.md) data. |

### connect() \[7/58]

```cpp theme={null}
void ansys::dpf::Workflow::connect(
    std::string const & pin_name,
    CustomTypeField const & f
)
```

Connect [CustomTypeField](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1CustomTypeField.md) to input pin.

**Exceptions**

| Name | Description |
| - | - |
| [DpfException](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfException.md) | |

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Input pin name. |
| \[in] | f | [CustomTypeField](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1CustomTypeField.md) data. |

### connect() \[8/58]

```cpp theme={null}
void ansys::dpf::Workflow::connect(
    std::string const & pin_name,
    CustomTypeField const & f,
    DpfError & error
)
```

Connect [CustomTypeField](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1CustomTypeField.md) support to input pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Input pin name. |
| \[in] | f | [CustomTypeField](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1CustomTypeField.md) data. |
| \[out] | error | Status of call. |

### connect() \[9/58]

```cpp theme={null}
void ansys::dpf::Workflow::connect(
    std::string const & pin_name,
    CustomTypeFieldsContainer const & f
)
```

Connect [CustomTypeFieldsContainer](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1CustomTypeFieldsContainer.md) to input pin.

**Exceptions**

| Name | Description |
| - | - |
| [DpfException](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfException.md) | |

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Input pin name. |
| \[in] | f | [CustomTypeFieldsContainer](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1CustomTypeFieldsContainer.md) data. |

### connect() \[10/58]

```cpp theme={null}
void ansys::dpf::Workflow::connect(
    std::string const & pin_name,
    CustomTypeFieldsContainer const & f,
    DpfError & error
)
```

Connect [CustomTypeFieldsContainer](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1CustomTypeFieldsContainer.md) support to input pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Input pin name. |
| \[in] | f | [CustomTypeFieldsContainer](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1CustomTypeFieldsContainer.md) data. |
| \[out] | error | Status of call. |

### connect() \[11/58]

```cpp theme={null}
void ansys::dpf::Workflow::connect(
    std::string const & pin_name,
    CyclicSupport const & f
)
```

Connect [CyclicSupport](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1CyclicSupport.md) to input pin.

**Exceptions**

| Name | Description |
| - | - |
| [DpfException](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfException.md) | |

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Input pin name. |
| \[in] | f | Time frequency support data. |

### connect() \[12/58]

```cpp theme={null}
void ansys::dpf::Workflow::connect(
    std::string const & pin_name,
    CyclicSupport const & f,
    DpfError & error
)
```

Connect [CyclicSupport](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1CyclicSupport.md) to input pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Input pin name. |
| \[in] | f | [CyclicSupport](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1CyclicSupport.md) data. |
| \[out] | error | Status of call. |

### connect() \[13/58]

```cpp theme={null}
void ansys::dpf::Workflow::connect(
    std::string const & pin_name,
    DataSources const & f
)
```

Connect data sources to input pin.

**Exceptions**

| Name | Description |
| - | - |
| [DpfException](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfException.md) | |

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Input pin name. |
| \[in] | f | Data sources data. |

### connect() \[14/58]

```cpp theme={null}
void ansys::dpf::Workflow::connect(
    std::string const & pin_name,
    DataSources const & f,
    DpfError & error
)
```

Connect data sources to input pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Input pin name. |
| \[in] | f | Data sources data. |
| \[out] | error | Status of call. |

### connect() \[15/58]

```cpp theme={null}
void ansys::dpf::Workflow::connect(
    std::string const & pin_name,
    DataTree const & f
)
```

Connect [DataTree](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DataTree.md) to input pin.

**Exceptions**

| Name | Description |
| - | - |
| [DpfException](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfException.md) | |

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Input pin name. |
| \[in] | f | [DataTree](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DataTree.md) data. |

### connect() \[16/58]

```cpp theme={null}
void ansys::dpf::Workflow::connect(
    std::string const & pin_name,
    DataTree const & f,
    DpfError & error
)
```

Connect [DataTree](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DataTree.md) support to input pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Input pin name. |
| \[in] | f | [DataTree](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DataTree.md) support data. |
| \[out] | error | Status of call. |

### connect() \[17/58]

```cpp theme={null}
void ansys::dpf::Workflow::connect(
    std::string const & pin_name,
    dp_double f
)
```

Connect double to input pin.

**Exceptions**

| Name | Description |
| - | - |
| [DpfException](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfException.md) | |

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Input pin name. |
| \[in] | f | Double data. |

### connect() \[18/58]

```cpp theme={null}
void ansys::dpf::Workflow::connect(
    std::string const & pin_name,
    dp_double f,
    DpfError & error
)
```

Connect double to input pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Input pin name. |
| \[in] | f | Double data. |
| \[out] | error | Status of call. |

### connect() \[19/58]

```cpp theme={null}
void ansys::dpf::Workflow::connect(
    std::string const & pin_name,
    dp_int f
)
```

Connect integer to input pin.

**Exceptions**

| Name | Description |
| - | - |
| [DpfException](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfException.md) | |

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Input pin name. |
| \[in] | f | Integer data. |

### connect() \[20/58]

```cpp theme={null}
void ansys::dpf::Workflow::connect(
    std::string const & pin_name,
    dp_int f,
    DpfError & error
)
```

Connect integer to input pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Input pin name. |
| \[in] | f | Integer data. |
| \[out] | error | Status of call. |

### connect() \[21/58]

```cpp theme={null}
void ansys::dpf::Workflow::connect(
    std::string const & pin_name,
    Field const & f
)
```

Connect field to input pin.

**Exceptions**

| Name | Description |
| - | - |
| [DpfException](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfException.md) | |

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Input pin name. |
| \[in] | f | [Field](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Field.md) data. |

### connect() \[22/58]

```cpp theme={null}
void ansys::dpf::Workflow::connect(
    std::string const & pin_name,
    Field const & f,
    DpfError & error
)
```

Connect field to input pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Input pin name. |
| \[in] | f | [Field](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Field.md) data. |
| \[out] | error | Status of call. |

### connect() \[23/58]

```cpp theme={null}
void ansys::dpf::Workflow::connect(
    std::string const & pin_name,
    FieldsContainer const & f
)
```

Connect fields container to input pin.

**Exceptions**

| Name | Description |
| - | - |
| [DpfException](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfException.md) | |

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Input pin name. |
| \[in] | f | Fields container data. |

### connect() \[24/58]

```cpp theme={null}
void ansys::dpf::Workflow::connect(
    std::string const & pin_name,
    FieldsContainer const & f,
    DpfError & error
)
```

Connect fields container to input pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Input pin name. |
| \[in] | f | Fields container data. |
| \[out] | error | Status of call. |

### connect() \[25/58]

```cpp theme={null}
void ansys::dpf::Workflow::connect(
    std::string const & pin_name,
    GenericDataContainer const & f
)
```

Connect GenericDataContainer to input pin.

**Exceptions**

| Name | Description |
| - | - |
| [DpfException](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfException.md) | |

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Input pin name. |
| \[in] | f | GenericDataContainer data. |

### connect() \[26/58]

```cpp theme={null}
void ansys::dpf::Workflow::connect(
    std::string const & pin_name,
    GenericDataContainer const & f,
    DpfError & error
)
```

Connect GenericDataContainer support to input pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Input pin name. |
| \[in] | f | GenericDataContainer data. |
| \[out] | error | Status of call. |

### connect() \[27/58]

```cpp theme={null}
void ansys::dpf::Workflow::connect(
    std::string const & pin_name,
    LabelSpace const & f
)
```

Connect [LabelSpace](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1LabelSpace.md) to input pin.

**Exceptions**

| Name | Description |
| - | - |
| [DpfException](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfException.md) | |

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Input pin name. |
| \[in] | f | [LabelSpace](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1LabelSpace.md) data. |

### connect() \[28/58]

```cpp theme={null}
void ansys::dpf::Workflow::connect(
    std::string const & pin_name,
    LabelSpace const & f,
    DpfError & error
)
```

Connect [LabelSpace](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1LabelSpace.md) support to input pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Input pin name. |
| \[in] | f | [LabelSpace](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1LabelSpace.md) data. |
| \[out] | error | Status of call. |

### connect() \[29/58]

```cpp theme={null}
void ansys::dpf::Workflow::connect(
    std::string const & pin_name,
    MeshedRegion const & f
)
```

Connect mesed region to input pin.

**Exceptions**

| Name | Description |
| - | - |
| [DpfException](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfException.md) | |

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Input pin name. |
| \[in] | f | Meshed region data. |

### connect() \[30/58]

```cpp theme={null}
void ansys::dpf::Workflow::connect(
    std::string const & pin_name,
    MeshedRegion const & f,
    DpfError & error
)
```

Connect meshed region to input pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Input pin name. |
| \[in] | f | Meshed region data. |
| \[out] | error | Status of call. |

### connect() \[31/58]

```cpp theme={null}
void ansys::dpf::Workflow::connect(
    std::string const & pin_name,
    MeshesContainer const & f
)
```

Connect meshes container to input pin.

**Exceptions**

| Name | Description |
| - | - |
| [DpfException](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfException.md) | |

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Input pin name. |
| \[in] | f | Meshes container data. |

### connect() \[32/58]

```cpp theme={null}
void ansys::dpf::Workflow::connect(
    std::string const & pin_name,
    MeshesContainer const & f,
    DpfError & error
)
```

Connect meshes container to input pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Input pin name. |
| \[in] | f | Meshes container data. |
| \[out] | error | Status of call. |

### connect() \[33/58]

```cpp theme={null}
void ansys::dpf::Workflow::connect(
    std::string const & pin_name,
    Operator const & f,
    dp_index output_pin
)
```

Connect operator output pin to input pin.

**Exceptions**

| Name | Description |
| - | - |
| [DpfException](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfException.md) | |

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Input pin name. |
| \[in] | f | [Operator](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Operator.md) from which to connect output pin. |
| \[in] | output\_pin | Output pin. |

### connect() \[34/58]

```cpp theme={null}
void ansys::dpf::Workflow::connect(
    std::string const & pin_name,
    Operator const & f,
    dp_index output_pin,
    DpfError & error
)
```

Connect operator output pin to input pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Input pin name. |
| \[in] | f | [Operator](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Operator.md) from which to connect output pin. |
| \[in] | output\_pin | Output pin. |
| \[out] | error | Status of call. |

### connect() \[35/58]

```cpp theme={null}
void ansys::dpf::Workflow::connect(
    std::string const & pin_name,
    PropertyField const & f
)
```

Connect property field to input pin.

**Exceptions**

| Name | Description |
| - | - |
| [DpfException](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfException.md) | |

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Input pin name. |
| \[in] | f | Property field data. |

### connect() \[36/58]

```cpp theme={null}
void ansys::dpf::Workflow::connect(
    std::string const & pin_name,
    PropertyField const & f,
    DpfError & error
)
```

Connect property field to input pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Input pin name. |
| \[in] | f | Property field data. |
| \[out] | error | Status of call. |

### connect() \[37/58]

```cpp theme={null}
void ansys::dpf::Workflow::connect(
    std::string const & pin_name,
    Scoping const & data
)
```

Connect [Scoping](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Scoping.md) data to input\_pin.

**Exceptions**

| Name | Description |
| - | - |
| [DpfException](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfException.md) | |

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Input pin. |
| \[in] | data | [Scoping](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Scoping.md) data to connect to pin. |

### connect() \[38/58]

```cpp theme={null}
void ansys::dpf::Workflow::connect(
    std::string const & pin_name,
    Scoping const & f,
    DpfError & error
)
```

Connect scoping to input pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Input pin name. |
| \[in] | f | [Scoping](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Scoping.md) data. |
| \[out] | error | Status of call. |

### connect() \[39/58]

```cpp theme={null}
void ansys::dpf::Workflow::connect(
    std::string const & pin_name,
    ScopingsContainer const & f
)
```

Connect scopings container to input pin.

**Exceptions**

| Name | Description |
| - | - |
| [DpfException](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfException.md) | |

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Input pin name. |
| \[in] | f | Scopings container data. |

### connect() \[40/58]

```cpp theme={null}
void ansys::dpf::Workflow::connect(
    std::string const & pin_name,
    ScopingsContainer const & f,
    DpfError & error
)
```

Connect scopings container to input pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Input pin name. |
| \[in] | f | Scopings container data. |
| \[out] | error | Status of call. |

### connect() \[41/58]

```cpp theme={null}
void ansys::dpf::Workflow::connect(
    std::string const & pin_name,
    std::string const & f
)
```

Connect string to input pin.

**Exceptions**

| Name | Description |
| - | - |
| [DpfException](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfException.md) | |

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Input pin name. |
| \[in] | f | String data. |

### connect() \[42/58]

```cpp theme={null}
void ansys::dpf::Workflow::connect(
    std::string const & pin_name,
    std::string const & f,
    DpfError & error
)
```

Connect string to input pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Input pin name. |
| \[in] | f | String data. |
| \[out] | error | Status of call. |

### connect() \[43/58]

```cpp theme={null}
void ansys::dpf::Workflow::connect(
    std::string const & pin_name,
    std::vector< dp_double > const & f
)
```

Connect vector of doubles to input pin.

**Exceptions**

| Name | Description |
| - | - |
| [DpfException](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfException.md) | |

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Input pin name. |
| \[in] | f | Vector of doubles data. |

### connect() \[44/58]

```cpp theme={null}
void ansys::dpf::Workflow::connect(
    std::string const & pin_name,
    std::vector< dp_double > const & f,
    DpfError & error
)
```

Connect vector of doubles to input pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Input pin name. |
| \[in] | f | Vector of double data. |
| \[out] | error | Status of call. |

### connect() \[45/58]

```cpp theme={null}
void ansys::dpf::Workflow::connect(
    std::string const & pin_name,
    std::vector< int > const & f
)
```

Connect vector of integers to input pin.

**Exceptions**

| Name | Description |
| - | - |
| [DpfException](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfException.md) | |

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Input pin name. |
| \[in] | f | Vector of integers data. |

### connect() \[46/58]

```cpp theme={null}
void ansys::dpf::Workflow::connect(
    std::string const & pin_name,
    std::vector< int > const & f,
    DpfError & error
)
```

Connect vector of integers to input pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Input pin name. |
| \[in] | f | Vector of integer data. |
| \[out] | error | Status of call. |

### connect() \[47/58]

```cpp theme={null}
void ansys::dpf::Workflow::connect(
    std::string const & pin_name,
    std::vector< std::string > const & f
)
```

Connect vector of strings to input pin.

**Exceptions**

| Name | Description |
| - | - |
| [DpfException](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfException.md) | |

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Input pin name. |
| \[in] | f | Vector of strings data. |

### connect() \[48/58]

```cpp theme={null}
void ansys::dpf::Workflow::connect(
    std::string const & pin_name,
    std::vector< std::string > const & f,
    DpfError & error
)
```

Connect vector of strings to input pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Input pin name. |
| \[in] | f | Vector of string data. |
| \[out] | error | Status of call. |

### connect() \[49/58]

```cpp theme={null}
void ansys::dpf::Workflow::connect(
    std::string const & pin_name,
    Streams const & f
)
```

Connect [Streams](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Streams.md) to input pin.

**Exceptions**

| Name | Description |
| - | - |
| [DpfException](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfException.md) | |

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Input pin name. |
| \[in] | f | [Streams](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Streams.md) data. |

### connect() \[50/58]

```cpp theme={null}
void ansys::dpf::Workflow::connect(
    std::string const & pin_name,
    Streams const & f,
    DpfError & error
)
```

Connect [Streams](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Streams.md) to input pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Input pin name. |
| \[in] | f | [Streams](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Streams.md) data. |
| \[out] | error | Status of call. |

### connect() \[51/58]

```cpp theme={null}
void ansys::dpf::Workflow::connect(
    std::string const & pin_name,
    StringField const & f
)
```

Connect [StringField](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1StringField.md) to input pin.

**Exceptions**

| Name | Description |
| - | - |
| [DpfException](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfException.md) | |

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Input pin name. |
| \[in] | f | [StringField](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1StringField.md) data. |

### connect() \[52/58]

```cpp theme={null}
void ansys::dpf::Workflow::connect(
    std::string const & pin_name,
    StringField const & f,
    DpfError & error
)
```

Connect [StringField](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1StringField.md) support to input pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Input pin name. |
| \[in] | f | [StringField](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1StringField.md) data. |
| \[out] | error | Status of call. |

### connect() \[53/58]

```cpp theme={null}
void ansys::dpf::Workflow::connect(
    std::string const & pin_name,
    Support const & f
)
```

Connect support to input pin.

**Exceptions**

| Name | Description |
| - | - |
| [DpfException](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfException.md) | |

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Input pin name. |
| \[in] | f | [Support](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Support.md) data. |

### connect() \[54/58]

```cpp theme={null}
void ansys::dpf::Workflow::connect(
    std::string const & pin_name,
    Support const & f,
    DpfError & error
)
```

Connect support to input pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Input pin name. |
| \[in] | f | [Support](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Support.md) data. |
| \[out] | error | Status of call. |

### connect() \[55/58]

```cpp theme={null}
void ansys::dpf::Workflow::connect(
    std::string const & pin_name,
    TimeFreqSupport const & f
)
```

Connect time frequency support to input pin.

**Exceptions**

| Name | Description |
| - | - |
| [DpfException](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfException.md) | |

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Input pin name. |
| \[in] | f | Time frequency support data. |

### connect() \[56/58]

```cpp theme={null}
void ansys::dpf::Workflow::connect(
    std::string const & pin_name,
    TimeFreqSupport const & f,
    DpfError & error
)
```

Connect timefrequency support to input pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Input pin name. |
| \[in] | f | Time frequency support data. |
| \[out] | error | Status of call. |

### connect() \[57/58]

```cpp theme={null}
void ansys::dpf::Workflow::connect(
    std::string const & pin_name,
    Workflow const & f
)
```

Connect [Workflow](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Workflow.md) to input pin.

**Exceptions**

| Name | Description |
| - | - |
| [DpfException](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfException.md) | |

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Input pin name. |
| \[in] | f | [Workflow](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Workflow.md) data. |

### connect() \[58/58]

```cpp theme={null}
void ansys::dpf::Workflow::connect(
    std::string const & pin_name,
    Workflow const & f,
    DpfError & error
)
```

Connect [Workflow](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Workflow.md) support to input pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Input pin name. |
| \[in] | f | [Workflow](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Workflow.md) support data. |
| \[out] | error | Status of call. |

### connectCustom()

```cpp theme={null}
template<typename DataT >
void ansys::dpf::Workflow::connectCustom(
    std::string const & input_pin,
    DataT const & d
)
```

`inline`

Connect typed data to input pin.

**Exceptions**

| Name | Description |
| - | - |
| [DpfException](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfException.md) | |

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | input\_pin | Input pin name. |
| | d | \{in] Typed data |

### connectWith() \[1/2]

```cpp theme={null}
void ansys::dpf::Workflow::connectWith(Workflow & left_workflow)
```

connect left\_worflow to this workflow with matching input/output names.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | left\_workflow | [Workflow](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Workflow.md) to add. |

### connectWith() \[2/2]

```cpp theme={null}
void ansys::dpf::Workflow::connectWith(
    Workflow & left_workflow,
    std::map< std::string, std::string > const & connections
)
```

connect left\_worflow to this workflow with specified connections (out->in).

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | left\_workflow | [Workflow](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Workflow.md) to add. |
| \[in] | connections | Connections map (out to in). |

### discoverAllOperators()

```cpp theme={null}
void ansys::dpf::Workflow::discoverAllOperators()
```

Using operator's connectivity, discover all operators contained in the workflow and add them inside.

### emptyWorkflow()

```cpp theme={null}
static Workflow ansys::dpf::Workflow::emptyWorkflow()
```

`static`

Create an empty workflow.

**Returns**

Empty [Workflow](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Workflow.md).

### eraseInputPin()

```cpp theme={null}
void ansys::dpf::Workflow::eraseInputPin(std::string const & pin_name)
```

Removes an exposed pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Pin name. |

### eraseOutputPin()

```cpp theme={null}
void ansys::dpf::Workflow::eraseOutputPin(std::string const & pin_name)
```

Removes an exposed pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Pin name. |

### firstOperator()

```cpp theme={null}
Operator ansys::dpf::Workflow::firstOperator() const
```

**Returns**

First operator in workflow chain.

### getCopy()

```cpp theme={null}
Workflow ansys::dpf::Workflow::getCopy() const
```

**Returns**

Copy of workflow.

### getCustomOutput()

```cpp theme={null}
template<typename DataT >
DataT ansys::dpf::Workflow::getCustomOutput(std::string const & pin_name)
```

`inline`

**Returns**

Custom result for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Output pin name. |

### getOutput()

```cpp theme={null}
template<typename DataT >
DataT ansys::dpf::Workflow::getOutput(std::string const & pin_name)
```

`inline`

**Returns**

Typed result for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Output pin name. |

### getOutputAsAny()

```cpp theme={null}
Any ansys::dpf::Workflow::getOutputAsAny(std::string const & pin_name)
```

**Returns**

[Any](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Any.md) result for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Output pin name. |

### getOutputBool() \[1/2]

```cpp theme={null}
bool ansys::dpf::Workflow::getOutputBool(std::string const & pin_name)
```

**Returns**

Boolean result for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Output pin name. |

### getOutputBool() \[2/2]

```cpp theme={null}
bool ansys::dpf::Workflow::getOutputBool(
    std::string const & pin_name,
    DpfError & error
)
```

**Returns**

Boolean result for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Output pin name. |
| \[out] | error | Status of call. |

### getOutputCustomTypeField() \[1/2]

```cpp theme={null}
CustomTypeField ansys::dpf::Workflow::getOutputCustomTypeField(
    std::string const & pin_name
)
```

**Returns**

[CustomTypeField](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1CustomTypeField.md) result for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Output pin name. |

### getOutputCustomTypeField() \[2/2]

```cpp theme={null}
CustomTypeField ansys::dpf::Workflow::getOutputCustomTypeField(
    std::string const & pin_name,
    DpfError & error
)
```

**Returns**

[CustomTypeField](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1CustomTypeField.md) result for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Output pin name. |
| \[out] | error | Status of call. |

### getOutputCustomTypeFieldsContainer() \[1/2]

```cpp theme={null}
CustomTypeFieldsContainer ansys::dpf::Workflow::getOutputCustomTypeFieldsContainer(
    std::string const & pin_name
)
```

**Returns**

[CustomTypeFieldsContainer](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1CustomTypeFieldsContainer.md) result for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Output pin name. |

### getOutputCustomTypeFieldsContainer() \[2/2]

```cpp theme={null}
CustomTypeFieldsContainer ansys::dpf::Workflow::getOutputCustomTypeFieldsContainer(
    std::string const & pin_name,
    DpfError & error
)
```

**Returns**

[CustomTypeFieldsContainer](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1CustomTypeFieldsContainer.md) result for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Output pin name. |
| \[out] | error | Status of call. |

### getOutputCyclicSupport() \[1/2]

```cpp theme={null}
CyclicSupport ansys::dpf::Workflow::getOutputCyclicSupport(std::string const & pin_name)
```

**Returns**

[CyclicSupport](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1CyclicSupport.md) result for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Output pin name. |

### getOutputCyclicSupport() \[2/2]

```cpp theme={null}
CyclicSupport ansys::dpf::Workflow::getOutputCyclicSupport(
    std::string const & pin_name,
    DpfError & error
)
```

**Returns**

[CyclicSupport](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1CyclicSupport.md) result for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Output pin name. |
| \[out] | error | Status of call. |

### getOutputDataSources() \[1/2]

```cpp theme={null}
DataSources ansys::dpf::Workflow::getOutputDataSources(std::string const & pin_name)
```

**Returns**

Data sources result for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Output pin name. |

### getOutputDataSources() \[2/2]

```cpp theme={null}
DataSources ansys::dpf::Workflow::getOutputDataSources(
    std::string const & pin_name,
    DpfError & error
)
```

**Returns**

Data sources result for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Output pin name. |
| \[out] | error | Status of call. |

### getOutputDataTree()

```cpp theme={null}
DataTree ansys::dpf::Workflow::getOutputDataTree(std::string const & pin_name)
```

**Returns**

[DataTree](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DataTree.md) result for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Output pin name. |

### getOutputDouble() \[1/2]

```cpp theme={null}
dp_double ansys::dpf::Workflow::getOutputDouble(std::string const & pin_name)
```

**Returns**

Double result for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Output pin name. |

### getOutputDouble() \[2/2]

```cpp theme={null}
dp_double ansys::dpf::Workflow::getOutputDouble(
    std::string const & pin_name,
    DpfError & error
)
```

**Returns**

Double result for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Output pin name. |
| \[out] | error | Status of call. |

### getOutputDoubleVector() \[1/2]

```cpp theme={null}
DpfVector < double > ansys::dpf::Workflow::getOutputDoubleVector(
    std::string const & pin_name
)
```

**Returns**

Doubles vector result as [DpfVector](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfVector.md) for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Output pin name. |

### getOutputDoubleVector() \[2/2]

```cpp theme={null}
DpfVector < double > ansys::dpf::Workflow::getOutputDoubleVector(
    std::string const & pin_name,
    DpfError & error
)
```

**Returns**

Doubles vector result as [DpfVector](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfVector.md) for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Output pin name. |
| \[out] | error | Status of call. |

### getOutputField() \[1/2]

```cpp theme={null}
Field ansys::dpf::Workflow::getOutputField(std::string const & pin_name)
```

**Returns**

[Field](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Field.md) result for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Output pin name. |

### getOutputField() \[2/2]

```cpp theme={null}
Field ansys::dpf::Workflow::getOutputField(
    std::string const & pin_name,
    DpfError & error
)
```

**Returns**

[Field](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Field.md) result for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Output pin name. |
| \[out] | error | Status of call. |

### getOutputFieldsContainer() \[1/2]

```cpp theme={null}
FieldsContainer ansys::dpf::Workflow::getOutputFieldsContainer(
    std::string const & pin_name
)
```

**Returns**

Fields container result for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Output pin name. |

**Examples**

[DataApis.cpp](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/DataApis_8cpp-example.md).

### getOutputFieldsContainer() \[2/2]

```cpp theme={null}
FieldsContainer ansys::dpf::Workflow::getOutputFieldsContainer(
    std::string const & pin_name,
    DpfError & error
)
```

**Returns**

Fields container result for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Output pin name. |
| \[out] | error | Status of call. |

### getOutputGenericDataContainer() \[1/2]

```cpp theme={null}
GenericDataContainer ansys::dpf::Workflow::getOutputGenericDataContainer(
    std::string const & pin_name
)
```

**Returns**

GenericDataContainer result for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Output pin name. |

### getOutputGenericDataContainer() \[2/2]

```cpp theme={null}
GenericDataContainer ansys::dpf::Workflow::getOutputGenericDataContainer(
    std::string const & pin_name,
    DpfError & error
)
```

**Returns**

GenericDataContainer result for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Output pin name. |
| \[out] | error | Status of call. |

### getOutputInt() \[1/2]

```cpp theme={null}
dp_int ansys::dpf::Workflow::getOutputInt(std::string const & pin_name)
```

**Returns**

Integer result for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Output pin name. |

### getOutputInt() \[2/2]

```cpp theme={null}
dp_int ansys::dpf::Workflow::getOutputInt(
    std::string const & pin_name,
    DpfError & error
)
```

**Returns**

Integer result for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Output pin name. |
| \[out] | error | Status of call. |

### getOutputIntVector() \[1/2]

```cpp theme={null}
DpfVector < int > ansys::dpf::Workflow::getOutputIntVector(std::string const & pin_name)
```

**Returns**

Integers vector result as [DpfVector](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfVector.md) for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Output pin name. |

### getOutputIntVector() \[2/2]

```cpp theme={null}
DpfVector < int > ansys::dpf::Workflow::getOutputIntVector(
    std::string const & pin_name,
    DpfError & error
)
```

**Returns**

Integers vector result as [DpfVector](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfVector.md) for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Output pin name. |
| \[out] | error | Status of call. |

### getOutputMeshedRegion() \[1/2]

```cpp theme={null}
MeshedRegion ansys::dpf::Workflow::getOutputMeshedRegion(std::string const & pin_name)
```

**Returns**

Meshed region result for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Output pin name. |

### getOutputMeshedRegion() \[2/2]

```cpp theme={null}
MeshedRegion ansys::dpf::Workflow::getOutputMeshedRegion(
    std::string const & pin_name,
    DpfError & error
)
```

**Returns**

Meshed region result for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Output pin name. |
| \[out] | error | Status of call. |

### getOutputMeshesContainer() \[1/2]

```cpp theme={null}
MeshesContainer ansys::dpf::Workflow::getOutputMeshesContainer(
    std::string const & pin_name
)
```

**Returns**

Meshes container result for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Output pin name. |

### getOutputMeshesContainer() \[2/2]

```cpp theme={null}
MeshesContainer ansys::dpf::Workflow::getOutputMeshesContainer(
    std::string const & pin_name,
    DpfError & error
)
```

**Returns**

Meshes container result for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Output pin name. |
| \[out] | error | Status of call. |

### getOutputPropertyField() \[1/2]

```cpp theme={null}
PropertyField ansys::dpf::Workflow::getOutputPropertyField(
    std::string const & pin_name,
    DpfError & error
)
```

**Returns**

Property field result for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Output pin name. |
| \[out] | error | Status of call. |

### getOutputPropertyField() \[2/2]

```cpp theme={null}
PropertyField ansys::dpf::Workflow::getOutputPropertyField(
    std::string const & pin_namepin_name
)
```

**Returns**

Property field result for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_namepin\_name | Output pin name. |

### getOutputResultInfo() \[1/2]

```cpp theme={null}
ResultInfo ansys::dpf::Workflow::getOutputResultInfo(std::string const & pin_name)
```

**Returns**

[Result](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Result.md) information result for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Output pin name. |

### getOutputResultInfo() \[2/2]

```cpp theme={null}
ResultInfo ansys::dpf::Workflow::getOutputResultInfo(
    std::string const & pin_name,
    DpfError & error
)
```

**Returns**

[Result](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Result.md) information result for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Output pin name. |
| \[out] | error | Status of call. |

### getOutputScoping() \[1/2]

```cpp theme={null}
Scoping ansys::dpf::Workflow::getOutputScoping(std::string const & pin_name)
```

**Returns**

[Scoping](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Scoping.md) result for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Output pin name. |

### getOutputScoping() \[2/2]

```cpp theme={null}
Scoping ansys::dpf::Workflow::getOutputScoping(
    std::string const & pin_name,
    DpfError & error
)
```

**Returns**

[Scoping](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Scoping.md) result for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Output pin name. |
| \[out] | error | Status of call. |

### getOutputScopingsContainer() \[1/2]

```cpp theme={null}
ScopingsContainer ansys::dpf::Workflow::getOutputScopingsContainer(
    std::string const & pin_name
)
```

**Returns**

Scopings container result for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Output pin name. |

### getOutputScopingsContainer() \[2/2]

```cpp theme={null}
ScopingsContainer ansys::dpf::Workflow::getOutputScopingsContainer(
    std::string const & pin_name,
    DpfError & error
)
```

**Returns**

Scopings container result for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Output pin name. |
| \[out] | error | Status of call. |

### getOutputStreams() \[1/2]

```cpp theme={null}
Streams ansys::dpf::Workflow::getOutputStreams(std::string const & pin_name)
```

**Returns**

[Streams](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Streams.md) result for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Output pin name. |

### getOutputStreams() \[2/2]

```cpp theme={null}
Streams ansys::dpf::Workflow::getOutputStreams(
    std::string const & pin_name,
    DpfError & error
)
```

**Returns**

[Streams](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Streams.md) result for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Output pin name. |
| \[out] | error | Status of call. |

### getOutputString() \[1/2]

```cpp theme={null}
std::string ansys::dpf::Workflow::getOutputString(std::string const & pin_index)
```

**Returns**

String result for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Output pin name. |

### getOutputString() \[2/2]

```cpp theme={null}
std::string ansys::dpf::Workflow::getOutputString(
    std::string const & pin_name,
    DpfError & error
)
```

**Returns**

String result for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Output pin name. |
| \[out] | error | Status of call. |

### getOutputStringField() \[1/2]

```cpp theme={null}
StringField ansys::dpf::Workflow::getOutputStringField(std::string const & pin_name)
```

**Returns**

[StringField](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1StringField.md) result for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Output pin name. |

### getOutputStringField() \[2/2]

```cpp theme={null}
StringField ansys::dpf::Workflow::getOutputStringField(
    std::string const & pin_name,
    DpfError & error
)
```

**Returns**

[StringField](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1StringField.md) result for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Output pin name. |
| \[out] | error | Status of call. |

### getOutputSupport() \[1/2]

```cpp theme={null}
Support ansys::dpf::Workflow::getOutputSupport(std::string const & pin_name)
```

**Returns**

[Support](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Support.md) result for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Output pin name. |

### getOutputSupport() \[2/2]

```cpp theme={null}
Support ansys::dpf::Workflow::getOutputSupport(
    std::string const & pin_name,
    DpfError & error
)
```

**Returns**

[Support](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Support.md) result for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Output pin name. |
| \[out] | error | Status of call. |

### getOutputTimeFreqSupport() \[1/2]

```cpp theme={null}
TimeFreqSupport ansys::dpf::Workflow::getOutputTimeFreqSupport(
    std::string const & pin_name
)
```

**Returns**

Time frequency support result for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Output pin name. |

### getOutputTimeFreqSupport() \[2/2]

```cpp theme={null}
TimeFreqSupport ansys::dpf::Workflow::getOutputTimeFreqSupport(
    std::string const & pin_name,
    DpfError & error
)
```

**Returns**

Time frequency support result for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Output pin name. |
| \[out] | error | Status of call. |

### getOutputUnit() \[1/2]

```cpp theme={null}
Unit ansys::dpf::Workflow::getOutputUnit(std::string const & pin_name)
```

**Returns**

[Unit](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Unit.md) result for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Output pin name. |

### getOutputUnit() \[2/2]

```cpp theme={null}
Unit ansys::dpf::Workflow::getOutputUnit(
    std::string const & pin_name,
    DpfError & error
)
```

**Returns**

[Unit](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Unit.md) result for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Output pin name. |
| \[out] | error | Status of call. |

### getOutputWorkflow() \[1/2]

```cpp theme={null}
Workflow ansys::dpf::Workflow::getOutputWorkflow(std::string const & pin_name)
```

**Returns**

[Workflow](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Workflow.md) result for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Output pin name. |

### getOutputWorkflow() \[2/2]

```cpp theme={null}
Workflow ansys::dpf::Workflow::getOutputWorkflow(
    std::string const & pin_name,
    DpfError & error
)
```

**Returns**

[Workflow](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Workflow.md) result for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Output pin name. |
| \[out] | error | Status of call. |

### getRemoteId()

```cpp theme={null}
dp_id ansys::dpf::Workflow::getRemoteId() const
```

If the workflow is remote, returns its Id on the server.

### hasInputPin()

```cpp theme={null}
bool ansys::dpf::Workflow::hasInputPin(std::string const & pin_name) const
```

**Returns**

Indication of existence of given input pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Name of pin for which to check existence. |

### hasOutputPin()

```cpp theme={null}
bool ansys::dpf::Workflow::hasOutputPin(std::string const & pin_name) const
```

**Returns**

Indication of existence of given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Name of in for which to check existence. |

### hasOutputWhenEvaluated()

```cpp theme={null}
bool ansys::dpf::Workflow::hasOutputWhenEvaluated(std::string const & pin_name)
```

**Returns**

Indication of existence of output pin when workflow evaluated.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Name of output pin to check existence. |

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

```cpp theme={null}
Workflow ansys::dpf::Workflow::instantiateOnRemote(ansys::dpf::Client const *const client) const
```

Make a copy of the workflow (with writeToString) on a server.

**Parameters**

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

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

```cpp theme={null}
Workflow ansys::dpf::Workflow::instantiateOnRemote(
    std::string const & address,
    std::string const & protocol
) const
```

Asks the server to make a copy of the workflow (with writeToString) on a server address.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | address | address of the server (ip:port). |
| \[in] | protocol | servers protocol (ex: 'grpc'). |

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

```cpp theme={null}
Workflow ansys::dpf::Workflow::instantiateOnRemote(
    std::string const & ip,
    int port,
    std::string const & protocol
) const
```

Asks the server to make a copy of the workflow (with writeToString) on a server address.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | ip | ip address of the server. |
| \[in] | port | port of the server. |
| \[in] | protocol | servers protocol (ex: 'grpc'). |

### lastOperator()

```cpp theme={null}
Operator ansys::dpf::Workflow::lastOperator() const
```

**Returns**

last operator in workflow chain.

### listInputPins()

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

**Returns**

Vector of input pin names.

### listOutputPins()

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

**Returns**

Vector of output pin names.

### loadFromSwf()

```cpp theme={null}
void ansys::dpf::Workflow::loadFromSwf(std::string const & file_path)
```

Load workflow from given file.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | file\_path | Name of file from which to read workflow. |

### nameInputPin()

```cpp theme={null}
void ansys::dpf::Workflow::nameInputPin(
    std::string const & pin_name,
    int operator_input_pin,
    Operator & op
)
```

Add an input name to given pin of operator.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_name | Pin name. |
| \[in] | operator\_input\_pin | Input pin. |
| \[in] | op | [Operator](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Operator.md) to which to add pin name. |

**Examples**

[DataApis.cpp](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/DataApis_8cpp-example.md).

### nameOutputPin()

```cpp theme={null}
void ansys::dpf::Workflow::nameOutputPin(
    Operator & op,
    int operator_output_pin,
    std::string const & pin_name
)
```

Add an output name to given pin of operator.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | op | [Operator](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Operator.md) to which to add pin name. |
| \[in] | operator\_output\_pin | Output pin. |
| \[in] | pin\_name | Pin name. |

**Examples**

[DataApis.cpp](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/DataApis_8cpp-example.md).

### numberOfOperators()

```cpp theme={null}
dp_int ansys::dpf::Workflow::numberOfOperators() const
```

**Returns**

Number of operators in workflow chain.

### operatorForOutput()

```cpp theme={null}
std::pair< int, ansys::dpf::Operator > ansys::dpf::Workflow::operatorForOutput(
    std::string const & output_name
) const
```

get the [Operator](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Operator.md) and their exposed output pin number for a given exposed output pin name.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | output\_name | pin\_name |

### operatorNameByIndex()

```cpp theme={null}
std::string ansys::dpf::Workflow::operatorNameByIndex(dp_int index) const
```

**Returns**

[Operator](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Operator.md) name by index in workflow chain.

### operatorsForInput()

```cpp theme={null}
std::vector< std::pair< int, ansys::dpf::Operator > > ansys::dpf::Workflow::operatorsForInput(
    std::string const & input_name
) const
```

get the list of [Operator](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Operator.md) s and their exposed input pin number for a given exposed input pin name.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | input\_name | pin\_name |

### readFromJson()

```cpp theme={null}
void ansys::dpf::Workflow::readFromJson(const std::string & jsonString)
```

load workflow from string in a json format.

### record() \[1/2]

```cpp theme={null}
int ansys::dpf::Workflow::record(
    std::string const & name,
    bool transfer_ownership
)
```

Records the workflow in DPF's registry.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | name | Name of the workflow. |
| \[in] | transfer\_ownership | If true the workflow will be suppressed from the registry as soon as it is returned by [ansys::dpf::core::workflowById](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1core.md#a723856ec83974fcb2cc61549f3cb89dd). |

### record() \[2/2]

```cpp theme={null}
int ansys::dpf::Workflow::record(
    std::string const & name,
    bool transfer_ownership,
    DpfError & error
)
```

Records the workflow in DPF's registry.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | name | Name of the workflow. |
| \[in] | transfer\_ownership | If true the workflow will be suppressed from the registry as soon as it is returned by [ansys::dpf::core::workflowById](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1core.md#a723856ec83974fcb2cc61549f3cb89dd). |
| \[out] | error | Name of the workflow. |

**Examples**

[DataApis.cpp](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/DataApis_8cpp-example.md).

### renameInputPin()

```cpp theme={null}
void ansys::dpf::Workflow::renameInputPin(
    std::string const & old_pin_name,
    std::string const & new_pin_name
)
```

Rename input pin with given name to new name.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | old\_pin\_name | Name of pin to rename. |
| \[in] | new\_pin\_name | New pin name. |

### renameOutputPin()

```cpp theme={null}
void ansys::dpf::Workflow::renameOutputPin(
    std::string const & old_pin_name,
    std::string const & new_pin_name
)
```

Rename output pin with given name to new name.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | old\_pin\_name | Name of pin to rename. |
| \[in] | new\_pin\_name | New pin name. |

### writeToGraphViz()

```cpp theme={null}
void ansys::dpf::Workflow::writeToGraphViz(std::string const & file_path) const
```

Write workflow to given file, in a graphViz format.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | file\_path | Name of file to which to write workflow. |

### writeToJson()

```cpp theme={null}
void ansys::dpf::Workflow::writeToJson(std::string & jsonString) const
```

Write workflow to string in a json format. This method is currently not supporting the serialization of data which is connected to an operator of the workflow. For example, trying to write to a JSON string a workflow that contains a forward operator with scoping connected to it, the scoping is not written.

### writeToString()

```cpp theme={null}
std::string ansys::dpf::Workflow::writeToString() const
```

Write workflow to text.

### writeToSwf()

```cpp theme={null}
void ansys::dpf::Workflow::writeToSwf(std::string const & file_path) const
```

Write workflow to given file, in a DataProcessing format.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | file\_path | Name of file to which to write workflow. |
