> ## 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::OperatorMain Class Reference

`#include <dpf_api.h>`

## Public Member Functions

| Type | Name |
| - | - |
| | **OperatorMain** (opaque::DpfOperatorData \*) |
| | **OperatorMain** ([OperatorMain](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1OperatorMain.md) const &)=delete |
| | **OperatorMain** ([OperatorMain](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1OperatorMain.md) &&)=delete |
| [OperatorMain](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1OperatorMain.md) & | **operator=** ([OperatorMain](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1OperatorMain.md) const &)=delete |
| [OperatorMain](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1OperatorMain.md) & | **operator=** ([OperatorMain](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1OperatorMain.md) &&)=delete |
| [Operator](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Operator.md) | [instantiateInternalOperator](#a6efbfb4f07c70652b0452b02aba5d191) (const std::string &) const Only method that should be used to instantiate operators inside another [Operator](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Operator.md) run method. |
| [Operator](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Operator.md) | [assertInstantiateInternalOperator](#add661774aa6a7c9469658c0de35315d0) (const std::string &) const Only method that should be used to instantiate operators inside another [Operator](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Operator.md) run method. |
| void | [setSuccessed](#ad15e8335f3550537fcf0282654c98aca) () |
| void | [setFailed](#a2713857554e10c8428b7fe9b59f3fe73) () |
| [dp\_int](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a60d181a1f9d29cc7cc38b25dac4401f0) | [getNumInputs](#a041b07a72607c574cd81a878f9e16e41) () |
| template\<typename DataT > DataT | [getInput](#a0fa415e6d731d27d4913a11aaed43f49) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index) |
| [Field](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Field.md) | [getInputField](#a064e47615a3d7beb23ee8ab9f589844e) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index) |
| void | [setOutput](#a3f3c8dec090d9245f26c9386263b092f) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index, [Field](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Field.md) \&f) |
| [DataSources](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DataSources.md) | [getInputDataSources](#a606d8d839ffcfa815775cb2ecfb0e7d2) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index) |
| void | [setOutput](#aed3bf969910e32998e557fe3986f6f16) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index, [DataSources](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DataSources.md) const \&f) |
| [FieldsContainer](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1FieldsContainer.md) | [getInputFieldsContainer](#ae3a8077aa63c688e42dbe707a5bbe320) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index) |
| void | [setOutput](#a741f2b8ee79bb443e70e76f27f8c56b8) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index, [FieldsContainer](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1FieldsContainer.md) const \&f) |
| [Scoping](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Scoping.md) | [getInputScoping](#a5e80bfe0c525bb6d590ce5284a87505e) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index) |
| void | [setOutput](#a58ce65919ca30cbf0eac87e91b4183bd) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index, [Scoping](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Scoping.md) const \&f) |
| [ScopingsContainer](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1ScopingsContainer.md) | [getInputScopingsContainer](#a625cc21a2e7ab6ef0b9f28b29a3d7225) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index) |
| void | [setOutput](#a39fe05de2bdb90d0a326f70b2778a563) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index, [ScopingsContainer](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1ScopingsContainer.md) const \&f) |
| [MeshedRegion](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1MeshedRegion.md) | [getInputMeshedRegion](#abf3941daef165cb449d4159b106a23fd) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index) |
| void | [setOutput](#a87f0ef2382c30a7bb01d5eae12f2a443) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index, [MeshedRegion](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1MeshedRegion.md) const \&f) |
| [TimeFreqSupport](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1TimeFreqSupport.md) | [getInputTimeFreqSupport](#a772955b40f867d944a2420934a969e92) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index) |
| void | [setOutput](#adae5dd8d5b025dcafe46ec1c55355a4c) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index, [TimeFreqSupport](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1TimeFreqSupport.md) const \&f) |
| [MeshesContainer](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1MeshesContainer.md) | [getInputMeshesContainer](#a33d2b9d8e6408e42547340f056fdecee) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index) |
| void | [setOutput](#a6d87280a68b4b87072d15782e19c3bca) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index, [MeshesContainer](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1MeshesContainer.md) const \&f) |
| [Support](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Support.md) | [getInputSupport](#abd71f83c649a04e7f2f7813384255f29) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index) |
| void | [setOutput](#a7a203e0881a74550d69e4781923b5ee4) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index, [Support](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Support.md) const \&f) |
| [StringField](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1StringField.md) | [getInputStringField](#a16741789fff23ceca3d49d71a2c5e9d4) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index) |
| void | [setOutput](#a94dc906d6bdef04d5099e8f26286bed8) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index, [StringField](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1StringField.md) const \&f) |
| [CustomTypeField](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1CustomTypeField.md) | [getInputCustomTypeField](#a0dece5ce4416019ac4e9b9c11f68e94d) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index) |
| void | [setOutput](#a27f845f17e0e02d6d80e44824be759bd) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index, [CustomTypeField](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1CustomTypeField.md) const \&f) |
| [CustomTypeFieldsContainer](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1CustomTypeFieldsContainer.md) | [getInputCustomTypeFieldsContainer](#abd1fe113136cd2f5e8ecfb8ee0b58161) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index) |
| void | [setOutput](#aad8340269a65030512992a8bdf25dbd3) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index, [CustomTypeFieldsContainer](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1CustomTypeFieldsContainer.md) const \&f) |
| [Any](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Any.md) | [getInputAsAny](#ad28e17d0d720aa99a30bce78623963fc) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index) |
| void | [setOutput](#a80d2f38c08cdba89814cf54f090fa150) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index, [Any](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Any.md) const \&f) |
| [Streams](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Streams.md) | [getInputStreams](#aefd22c45d42ee27cf4ec00cc68ae7063) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index) |
| [Workflow](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Workflow.md) | [getInputWorkflow](#ab7c167dbd3257b0683906edc2cc27a65) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index) |
| [Operator](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Operator.md) | [getInputOperator](#a0fb8663005dd50e7aff666a463d7064c) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index) |
| RemoteWorkflow | [getInputRemoteWorkflow](#ae34c524e2c7127c7aab5e54a68e8960c) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index) |
| RemoteOperator | [getInputRemoteOperator](#ae32da62d193560071bd7ca1611d66907) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index) |
| void | [setOutput](#a25ead93f38e596f54268fab0ac63a09e) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index, [Streams](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Streams.md) const \&f) |
| [LabelSpace](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1LabelSpace.md) | [getInputLabelSpace](#a86ba9637ed2ad87246690b2407ce8033) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index) |
| [PropertyField](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1PropertyField.md) | [getInputPropertyField](#a43a96a372b2d64c9a5c6ab871302e795) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index) |
| GenericDataContainer | [getInputGenericDataContainer](#a6c877ce71b260e6a540a8cff6bec8acd) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index) |
| template\<typename CustomContainerT > CustomContainerT | [getInputCustomContainer](#af71f7f82fe4f93c6f04478256ac2eb13) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index) |
| void | [setOutput](#ad682fd9e6639e9c89d0784274f1a57ae) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index, GenericDataContainer const \&f) |
| template\<typename DataT > [Collection](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Collection.md)\< DataT > | [getInputCollection](#a5582fb7b85a73b4136949e2e052dd9c3) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index) |
| template\<typename DataT > void | [setOutput](#a236945af7413ccdd5dc3d27b9f2321b0) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index, [Collection](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Collection.md)\< DataT > const \&f) |
| void | [setOutput](#a63fd614ba8d92270ce59fdc8ab324ce8) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index, [PropertyField](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1PropertyField.md) const \&f) |
| void | [setOutput](#a6633016f223517320280d747c3f1c5e9) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index, [Workflow](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Workflow.md) const \&f) |
| void | [setOutput](#a196fa5872ed1efc02c39ce587a6e6946) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index, [MeshInfo](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1MeshInfo.md) const \&f) |
| void | [setOutput](#ada3869c02e08864429635fe22b25b1e8) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index, [ResultInfo](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1ResultInfo.md) const \&f) |
| [DataTree](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DataTree.md) | [getInputDataTree](#ad3f323377fdf0b5babb1256a87443ce4) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index) |
| void | [setOutput](#afc83b5cc7bb1821328a6a1bfb63320ae) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index, [DataTree](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DataTree.md) const \&f) |
| std::string | [getInputString](#ac6abb343e3616bb7b312ebfe9cb1e428) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index) |
| void | [setOutput](#a604b24756c0ee9f63941e1943ce029ad) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index, std::string const \&f) |
| [dp\_int](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a60d181a1f9d29cc7cc38b25dac4401f0) | [getInputInteger](#ab313f7215443f3bd16dac73d5bbea480) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index) |
| void | [setOutput](#a0c74f0785a142a82c33796feaced4542) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index, [dp\_int](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a60d181a1f9d29cc7cc38b25dac4401f0) f) |
| [dp\_double](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#acb480013bfed185b5e34a0bdcb0e3790) | [getInputDouble](#abc4fb7b5bbd52de48ee5adcfa2d64ff0) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index) |
| void | [setOutput](#ad6d1c029bc239f8b47f7ae34d011a4ad) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index, [dp\_double](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#acb480013bfed185b5e34a0bdcb0e3790) f) |
| long long int | [getInputLongLong](#ad227f6658d46455cc795c0e8e2e26c22) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index) |
| void | [setOutput](#a9ddd1af34ae1cc9b0274203471cfadc6) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index, long long int f) |
| std::vector\< int > | [getInputVecInt](#a1f0a8b9bfdb1068237ea65e9ced21b4d) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index) |
| std::vector\< double > | [getInputVecDouble](#accaaa7cf0b5753e3ac603e833df5f79c) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index) |
| std::vector\< std::string > | [getInputVecString](#a0655fe1b44a5385e2dbc8ddc4fca8e35) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index) |
| void | [setOutput](#a13cd3ab170883dae7943255b33078cba) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index, std::vector\< int > const \&out) |
| void | [setOutput](#a08c3ec2a45807e4f9e7ca10d7fee867b) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index, std::vector\< double > const \&out) |
| void | [setOutput](#ade2fb9f881cb1a54fb9e916faceb0c93) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index, std::vector\< std::string > const \&out) |
| bool | [getInputBool](#af7e999cf3331782b9f4f32ea44f13943) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index) |
| void | [setOutput](#a5c4409687386e49789787fb0a820723c) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index, bool f) |
| void | [setOutput](#a0db75afb1a291b9c75c185b2977ff790) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index, RemoteWorkflow const \&f) |
| void | [setOutput](#a965aa20043cdd3046efe469329b4a3ed) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index, RemoteOperator const \&f) |
| void | [setOutput](#afa7ec0345810870e285c3c75959b5a89) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index, [Operator](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Operator.md) const \&f) |
| void | [setOutput](#a9bc4f209253ca9846fafeb914e3cc3b9) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index, [CustomContainerBase](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1CustomContainerBase.md) const \&f) |
| void | [delegateRun](#a60ddb051be30cee5248dfbb06022bac8) ([Operator](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Operator.md) op, bool forwardInputs=true) |
| template\<typename DataT > DataT | [getInputCustom](#a2785545db8b85d2c28acb3b7c49dcf50) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index) |
| template\<typename DataT > void | [setOutputCustom](#acb04b65ee410b2177d9ada9964f8e560) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) pin\_index, DataT const \&d) @ details Set typed data for given output pin. |
| template\<typename DataT > bool | [testInput](#ab809c466d87ca0abf8c5ac29cd95b724) ([dp\_int](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a60d181a1f9d29cc7cc38b25dac4401f0) pin\_index) |
| bool | [hasInput](#a3d1ca8c9935cc76828f2b436972240c9) ([dp\_int](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a60d181a1f9d29cc7cc38b25dac4401f0) pin\_index) |
| void | [connectAllInputs](#a642e72de160b2b8d215218bd9a56803a) ([ansys::dpf::Operator](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Operator.md) \&op) |
| std::string | [operatorName](#ace0b6f848fb1a996d0d9162b95828b37) () const |
| [OperatorConfig](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1OperatorConfig.md) | [config](#a2d0b48ea7dae01f583ebf30993c491c1) () const |

## Detailed Description

To be used in order to write external operators

## Member Function Documentation

### assertInstantiateInternalOperator()

```cpp theme={null}
Operator ansys::dpf::OperatorMain::assertInstantiateInternalOperator(const std::string &) const
```

Only method that should be used to instantiate operators inside another [Operator](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Operator.md) run method.

Propagates operator attributes: [ansys::dpf::OperatorConfig](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1OperatorConfig.md) and licensing settings to the instantiated [Operator](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Operator.md).

**Exceptions**

| Name | Description |
| - | - |
| [DpfException](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfException.md) | when the operator doesn't exist. |

### config()

```cpp theme={null}
OperatorConfig ansys::dpf::OperatorMain::config() const
```

**Returns**

The [Operator](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Operator.md) Config used to create this operator.

### connectAllInputs()

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

@ connects all inputs connected to this operatorMain instance to another [Operator](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Operator.md)

**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) on which the inputs are connected. |

### delegateRun()

```cpp theme={null}
void ansys::dpf::OperatorMain::delegateRun(
    Operator op,
    bool forwardInputs = true
)
```

run the input op and take its state and outputs as his

**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 use. |
| \[in] | forwardInputs | Choose if the input definition of this operator should be given to op. |

### getInput()

```cpp theme={null}
template<typename DataT >
DataT ansys::dpf::OperatorMain::getInput(dp_index pin_index)
```

`inline`

**Returns**

Input of type DataT given by pin index.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Pin from which to get output. |

### getInputAsAny()

```cpp theme={null}
Any ansys::dpf::OperatorMain::getInputAsAny(dp_index pin_index)
```

**Returns**

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

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Input pin for which to get valuer. |

### getInputBool()

```cpp theme={null}
bool ansys::dpf::OperatorMain::getInputBool(dp_index pin_index)
```

**Returns**

Boolean value for given input pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Input pin for which to get value. |

### getInputCollection()

```cpp theme={null}
template<typename DataT >
Collection < DataT > ansys::dpf::OperatorMain::getInputCollection(dp_index pin_index)
```

`inline`

**Returns**

[Collection](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Collection.md) for given input pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Input pin for which to get value. |

### getInputCustom()

```cpp theme={null}
template<typename DataT >
DataT ansys::dpf::OperatorMain::getInputCustom(dp_index pin_index)
```

`inline`

**Returns**

Typed data for given input pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Input pin for which to get value. |

### getInputCustomContainer()

```cpp theme={null}
template<typename CustomContainerT >
CustomContainerT ansys::dpf::OperatorMain::getInputCustomContainer(dp_index pin_index)
```

`inline`

**Returns**

GenericDataContainer for given input pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Input pin for which to get value. |

### getInputCustomTypeField()

```cpp theme={null}
CustomTypeField ansys::dpf::OperatorMain::getInputCustomTypeField(dp_index pin_index)
```

**Returns**

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

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Input pin for which to get value. |

### getInputCustomTypeFieldsContainer()

```cpp theme={null}
CustomTypeFieldsContainer ansys::dpf::OperatorMain::getInputCustomTypeFieldsContainer(
    dp_index pin_index
)
```

**Returns**

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

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Input pin for which to get value. |

### getInputDataSources()

```cpp theme={null}
DataSources ansys::dpf::OperatorMain::getInputDataSources(dp_index pin_index)
```

**Returns**

Data sources for input pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Input pin for which to get value. |

### getInputDataTree()

```cpp theme={null}
DataTree ansys::dpf::OperatorMain::getInputDataTree(dp_index pin_index)
```

**Returns**

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

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Input pin for which to get value. |

### getInputDouble()

```cpp theme={null}
dp_double ansys::dpf::OperatorMain::getInputDouble(dp_index pin_index)
```

**Returns**

Double value for given input pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Input pin for which to get value. |

### getInputField()

```cpp theme={null}
Field ansys::dpf::OperatorMain::getInputField(dp_index pin_index)
```

**Returns**

Input field given by pin index.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Input pin for which to get value. |

### getInputFieldsContainer()

```cpp theme={null}
FieldsContainer ansys::dpf::OperatorMain::getInputFieldsContainer(dp_index pin_index)
```

**Returns**

Fields container for given input pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Input pin for which to get value. |

### getInputGenericDataContainer()

```cpp theme={null}
GenericDataContainer ansys::dpf::OperatorMain::getInputGenericDataContainer(
    dp_index pin_index
)
```

**Returns**

GenericDataContainer for given input pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Input pin for which to get value. |

### getInputInteger()

```cpp theme={null}
dp_int ansys::dpf::OperatorMain::getInputInteger(dp_index pin_index)
```

**Returns**

Integer value for given input pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Input pin for which to get value. |

### getInputLabelSpace()

```cpp theme={null}
LabelSpace ansys::dpf::OperatorMain::getInputLabelSpace(dp_index pin_index)
```

**Returns**

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

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Input pin for which to get value. |

### getInputLongLong()

```cpp theme={null}
long long int ansys::dpf::OperatorMain::getInputLongLong(dp_index pin_index)
```

**Returns**

Long long int value for given input pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Input pin for which to get value. |

### getInputMeshedRegion()

```cpp theme={null}
MeshedRegion ansys::dpf::OperatorMain::getInputMeshedRegion(dp_index pin_index)
```

**Returns**

Meshed region for given input pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Input pin for which to get value. |

### getInputMeshesContainer()

```cpp theme={null}
MeshesContainer ansys::dpf::OperatorMain::getInputMeshesContainer(dp_index pin_index)
```

**Returns**

Meshes container for given input pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Input pin for which to get value. |

### getInputOperator()

```cpp theme={null}
Operator ansys::dpf::OperatorMain::getInputOperator(dp_index pin_index)
```

**Returns**

[Operator](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Operator.md) for given input pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Input pin for which to get value. |

### getInputPropertyField()

```cpp theme={null}
PropertyField ansys::dpf::OperatorMain::getInputPropertyField(dp_index pin_index)
```

**Returns**

Property field for given input pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Input pin for which to get value. |

### getInputRemoteOperator()

```cpp theme={null}
RemoteOperator ansys::dpf::OperatorMain::getInputRemoteOperator(dp_index pin_index)
```

**Returns**

RemoteOperator for given input pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Input pin for which to get value. |

### getInputRemoteWorkflow()

```cpp theme={null}
RemoteWorkflow ansys::dpf::OperatorMain::getInputRemoteWorkflow(dp_index pin_index)
```

**Returns**

RemoteWorkflow for given input pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Input pin for which to get value. |

### getInputScoping()

```cpp theme={null}
Scoping ansys::dpf::OperatorMain::getInputScoping(dp_index pin_index)
```

**Returns**

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

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Input pin for which to get value. |

### getInputScopingsContainer()

```cpp theme={null}
ScopingsContainer ansys::dpf::OperatorMain::getInputScopingsContainer(dp_index pin_index)
```

**Returns**

Scopings container for given input pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Input pin for which to get value. |

### getInputStreams()

```cpp theme={null}
Streams ansys::dpf::OperatorMain::getInputStreams(dp_index pin_index)
```

**Returns**

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

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Input pin for which to get value. |

### getInputString()

```cpp theme={null}
std::string ansys::dpf::OperatorMain::getInputString(dp_index pin_index)
```

**Returns**

String value for given input pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Input pin for which to get value. |

### getInputStringField()

```cpp theme={null}
StringField ansys::dpf::OperatorMain::getInputStringField(dp_index pin_index)
```

**Returns**

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

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Input pin for which to get value. |

### getInputSupport()

```cpp theme={null}
Support ansys::dpf::OperatorMain::getInputSupport(dp_index pin_index)
```

**Returns**

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

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Input pin for which to get value. |

### getInputTimeFreqSupport()

```cpp theme={null}
TimeFreqSupport ansys::dpf::OperatorMain::getInputTimeFreqSupport(dp_index pin_index)
```

**Returns**

Time frequency support for given input pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Input pin for which to get value. |

### getInputVecDouble()

```cpp theme={null}
std::vector< double > ansys::dpf::OperatorMain::getInputVecDouble(dp_index pin_index)
```

**Returns**

Vector of doubles for given input pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Input pin for which to get value. |

### getInputVecInt()

```cpp theme={null}
std::vector< int > ansys::dpf::OperatorMain::getInputVecInt(dp_index pin_index)
```

**Returns**

Vector of integers for given input pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Input pin for which to get value. |

### getInputVecString()

```cpp theme={null}
std::vector< std::string > ansys::dpf::OperatorMain::getInputVecString(dp_index pin_index)
```

**Returns**

Vector of strings for given input pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Input pin for which to get value. |

### getInputWorkflow()

```cpp theme={null}
Workflow ansys::dpf::OperatorMain::getInputWorkflow(dp_index pin_index)
```

**Returns**

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

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Input pin for which to get value. |

### getNumInputs()

```cpp theme={null}
dp_int ansys::dpf::OperatorMain::getNumInputs()
```

**Returns**

Number of operator input pins.

### hasInput()

```cpp theme={null}
bool ansys::dpf::OperatorMain::hasInput(dp_int pin_index)
```

**Returns**

Indication that input pin exists.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Input pin for which to check data type. |

### instantiateInternalOperator()

```cpp theme={null}
Operator ansys::dpf::OperatorMain::instantiateInternalOperator(const std::string &) const
```

Only method that should be used to instantiate operators inside another [Operator](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Operator.md) run method.

Propagates operator attributes: [ansys::dpf::OperatorConfig](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1OperatorConfig.md) and licensing settings to the instantiated [Operator](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Operator.md).

### operatorName()

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

**Returns**

The [Operator](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Operator.md) name used to record.

### setFailed()

```cpp theme={null}
void ansys::dpf::OperatorMain::setFailed()
```

Set state of operator to fail.

### setOutput() \[1/33]

```cpp theme={null}
void ansys::dpf::OperatorMain::setOutput(
    dp_index pin_index,
    Any const & f
)
```

Set [Any](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Any.md) object for given output pin with its real type.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Output pin for which to set value. |
| \[in] | f | [Any](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Any.md) to assign to output pin. |

### setOutput() \[2/33]

```cpp theme={null}
void ansys::dpf::OperatorMain::setOutput(
    dp_index pin_index,
    bool f
)
```

Set boolean value for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Output pin for which to set value. |
| \[in] | f | Boolean value to assign to output pin. |

### setOutput() \[3/33]

```cpp theme={null}
template<typename DataT >
void ansys::dpf::OperatorMain::setOutput(
    dp_index pin_index,
    Collection < DataT > const & f
)
```

`inline`

Set GenericDataContainer for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Output pin for which to set value. |
| \[in] | f | GenericDataContainer to assign to output pin. |

### setOutput() \[4/33]

```cpp theme={null}
void ansys::dpf::OperatorMain::setOutput(
    dp_index pin_index,
    CustomContainerBase const & f
)
```

Set [CustomContainerBase](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1CustomContainerBase.md) value for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Output pin for which to set value. |
| \[in] | f | [Operator](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Operator.md) value to assign to output pin. |

### setOutput() \[5/33]

```cpp theme={null}
void ansys::dpf::OperatorMain::setOutput(
    dp_index pin_index,
    CustomTypeField const & f
)
```

Set [CustomTypeField](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1CustomTypeField.md) object for given output pin with its real type.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Output pin for which to set value. |
| \[in] | f | [CustomTypeField](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1CustomTypeField.md) to assign to output pin. |

### setOutput() \[6/33]

```cpp theme={null}
void ansys::dpf::OperatorMain::setOutput(
    dp_index pin_index,
    CustomTypeFieldsContainer const & f
)
```

Set [CustomTypeFieldsContainer](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1CustomTypeFieldsContainer.md) object for given output pin with its real type.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Output pin for which to set value. |
| \[in] | f | [CustomTypeFieldsContainer](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1CustomTypeFieldsContainer.md) to assign to output pin. |

### setOutput() \[7/33]

```cpp theme={null}
void ansys::dpf::OperatorMain::setOutput(
    dp_index pin_index,
    DataSources const & f
)
```

Set data sources for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Output pin for which to set value. |
| \[in] | f | Data sources to assign to output pin. |

### setOutput() \[8/33]

```cpp theme={null}
void ansys::dpf::OperatorMain::setOutput(
    dp_index pin_index,
    DataTree const & f
)
```

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

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Output pin for which to set value. |
| \[in] | f | Meshes container to assign to output pin. |

### setOutput() \[9/33]

```cpp theme={null}
void ansys::dpf::OperatorMain::setOutput(
    dp_index pin_index,
    dp_double f
)
```

Set double value for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Output pin for which to set value. |
| \[in] | f | Double value to assign to output pin. |

### setOutput() \[10/33]

```cpp theme={null}
void ansys::dpf::OperatorMain::setOutput(
    dp_index pin_index,
    dp_int f
)
```

Set integer value for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Output pin for which to set value. |
| \[in] | f | Integer value to assign to output pin. |

### setOutput() \[11/33]

```cpp theme={null}
void ansys::dpf::OperatorMain::setOutput(
    dp_index pin_index,
    Field & f
)
```

Set field for output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Output pin for which to set value. |
| \[in] | f | [Field](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Field.md) to assign to output pin. |

### setOutput() \[12/33]

```cpp theme={null}
void ansys::dpf::OperatorMain::setOutput(
    dp_index pin_index,
    FieldsContainer const & f
)
```

Set fields container for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Output pin for which to set value. |
| \[in] | f | Fields container to assign to output pin. |

### setOutput() \[13/33]

```cpp theme={null}
void ansys::dpf::OperatorMain::setOutput(
    dp_index pin_index,
    GenericDataContainer const & f
)
```

Set GenericDataContainer for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Output pin for which to set value. |
| \[in] | f | GenericDataContainer to assign to output pin. |

### setOutput() \[14/33]

```cpp theme={null}
void ansys::dpf::OperatorMain::setOutput(
    dp_index pin_index,
    long long int f
)
```

Set long long int value for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Output pin for which to set value. |
| \[in] | f | Long long int value to assign to output pin. |

### setOutput() \[15/33]

```cpp theme={null}
void ansys::dpf::OperatorMain::setOutput(
    dp_index pin_index,
    MeshedRegion const & f
)
```

Set meshed region for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Output pin for which to set value. |
| \[in] | f | Meshed region to assign to output pin. |

### setOutput() \[16/33]

```cpp theme={null}
void ansys::dpf::OperatorMain::setOutput(
    dp_index pin_index,
    MeshesContainer const & f
)
```

Set meshes container for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Output pin for which to set value. |
| \[in] | f | Meshes container to assign to output pin. |

### setOutput() \[17/33]

```cpp theme={null}
void ansys::dpf::OperatorMain::setOutput(
    dp_index pin_index,
    MeshInfo const & f
)
```

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

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Output pin for which to set value. |
| \[in] | f | Mesh info to assign to output pin. |

### setOutput() \[18/33]

```cpp theme={null}
void ansys::dpf::OperatorMain::setOutput(
    dp_index pin_index,
    Operator const & f
)
```

Set [Operator](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Operator.md) value for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Output pin for which to set value. |
| \[in] | f | [Operator](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Operator.md) value to assign to output pin. |

### setOutput() \[19/33]

```cpp theme={null}
void ansys::dpf::OperatorMain::setOutput(
    dp_index pin_index,
    PropertyField const & f
)
```

Set property field for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Output pin for which to set value. |
| \[in] | f | Property field to assign to output pin. |

### setOutput() \[20/33]

```cpp theme={null}
void ansys::dpf::OperatorMain::setOutput(
    dp_index pin_index,
    RemoteOperator const & f
)
```

Set RemoteOperator value for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Output pin for which to set value. |
| \[in] | f | RemoteOperator value to assign to output pin. |

### setOutput() \[21/33]

```cpp theme={null}
void ansys::dpf::OperatorMain::setOutput(
    dp_index pin_index,
    RemoteWorkflow const & f
)
```

Set RemoteWorkflow value for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Output pin for which to set value. |
| \[in] | f | RemoteWorkflow value to assign to output pin. |

### setOutput() \[22/33]

```cpp theme={null}
void ansys::dpf::OperatorMain::setOutput(
    dp_index pin_index,
    ResultInfo const & f
)
```

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

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Output pin for which to set value. |
| \[in] | f | [ResultInfo](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1ResultInfo.md) to assign to output pin. |

### setOutput() \[23/33]

```cpp theme={null}
void ansys::dpf::OperatorMain::setOutput(
    dp_index pin_index,
    Scoping const & f
)
```

Set scoping for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Output pin for which to set value. |
| \[in] | f | [Scoping](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Scoping.md) to assign to output pin. |

### setOutput() \[24/33]

```cpp theme={null}
void ansys::dpf::OperatorMain::setOutput(
    dp_index pin_index,
    ScopingsContainer const & f
)
```

Set scopings container for given input pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Output pin for which to set value. |
| \[in] | f | Scopings container to assign to output pin. |

### setOutput() \[25/33]

```cpp theme={null}
void ansys::dpf::OperatorMain::setOutput(
    dp_index pin_index,
    std::string const & f
)
```

Set string value for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Output pin for which to set value. |
| \[in] | f | String value to assign to output pin. |

### setOutput() \[26/33]

```cpp theme={null}
void ansys::dpf::OperatorMain::setOutput(
    dp_index pin_index,
    std::vector< double > const & out
)
```

Set vector of doubles for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Output pin for which to set value. |
| \[in] | out | Vector of doubles to assign to output pin. |

### setOutput() \[27/33]

```cpp theme={null}
void ansys::dpf::OperatorMain::setOutput(
    dp_index pin_index,
    std::vector< int > const & out
)
```

Set vector of integers for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Output pin for which to set value. |
| \[in] | out | Vector of integers to assign to output pin. |

### setOutput() \[28/33]

```cpp theme={null}
void ansys::dpf::OperatorMain::setOutput(
    dp_index pin_index,
    std::vector< std::string > const & out
)
```

Set vector of string for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Output pin for which to set value. |
| \[in] | out | Vector of string to assign to output pin. |

### setOutput() \[29/33]

```cpp theme={null}
void ansys::dpf::OperatorMain::setOutput(
    dp_index pin_index,
    Streams const & f
)
```

Set streams for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Output pin for which to set value. |
| \[in] | f | [Streams](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Streams.md) to assign to output pin. |

### setOutput() \[30/33]

```cpp theme={null}
void ansys::dpf::OperatorMain::setOutput(
    dp_index pin_index,
    StringField const & f
)
```

Set [StringField](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1StringField.md) object for given output pin with its real type.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Output pin for which to set value. |
| \[in] | f | [StringField](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1StringField.md) to assign to output pin. |

### setOutput() \[31/33]

```cpp theme={null}
void ansys::dpf::OperatorMain::setOutput(
    dp_index pin_index,
    Support const & f
)
```

Set support for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Output pin for which to set value. |
| \[in] | f | [Support](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Support.md) to assign to output pin. |

### setOutput() \[32/33]

```cpp theme={null}
void ansys::dpf::OperatorMain::setOutput(
    dp_index pin_index,
    TimeFreqSupport const & f
)
```

Set time freqency support for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Output pin for which to set value. |
| \[in] | f | Time frequency support to assign to output pin. |

### setOutput() \[33/33]

```cpp theme={null}
void ansys::dpf::OperatorMain::setOutput(
    dp_index pin_index,
    Workflow const & f
)
```

Set property field for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Output pin for which to set value. |
| \[in] | f | Property field to assign to output pin. |

### setOutputCustom()

```cpp theme={null}
template<typename DataT >
void ansys::dpf::OperatorMain::setOutputCustom(
    dp_index pin_index,
    DataT const & d
)
```

`inline`

@ details Set typed data for given output pin.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Output pin for which to set value. |
| \[in] | d | Typed data to assign to output pin. |

### setSuccessed()

```cpp theme={null}
void ansys::dpf::OperatorMain::setSuccessed()
```

Set state of operator to success.

### testInput()

```cpp theme={null}
template<typename DataT >
bool ansys::dpf::OperatorMain::testInput(dp_int pin_index)
```

`inline`

**Returns**

Indication that input pin contains typed data.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | pin\_index | Input pin for which to check data type. |
