Skip to main content
Inherits from: Inherited by:

Members

Public types

Enumeration type CONSTRUCTION_STRATEGY

Enumerator Legacy

Enumerator Hierarchical

Friends

Friend Session

Friend core

Friend Operator

Friend OperatorMain

Friend RemoteWorkflow

Friend Any

Friend Field

Friend PropertyField

Friend GenericDataContainer

Friend ConstructHelpers::construct_trait

Public functions

Function Workflow

Create a new workflow. Parameters:
  • bool useCache = false
Return type:

Function Workflow

Create a workflow from a string. Parameters:
  • std::string const & workflow_string: [in] Workflow string definition generated by writeToString().
Return type:

Function Workflow

Create a new workflow on a server. Parameters: Return type:

Function Workflow

Create a workflow from a string on a server. Parameters:
  • std::string const & workflow_string: [in] Workflow string definition generated by writeToString().
  • Client const *const client
Return type:

Function Workflow

Retrieve an existing instance of Workflow on a server. Parameters: Return type:

Function ~Workflow

Return type:

Function Workflow

Parameters:
  • Workflow const &
Return type:

Function Workflow

Parameters:
  • Workflow &&
Return type:

Function operator=

Parameters:
  • Workflow const &
Return type: Workflow &

Function operator=

Parameters:
  • Workflow &&
Return type: Workflow &

Function getCopy

Returns: Copy of workflow. Return type: Workflow

Function add

Add operator to workflow. Parameters: Return type: void

Function connectWith

connect left_worflow to this workflow with matching input/output names. Parameters:
  • Workflow & left_workflow: [in] Workflow to add.
Return type: void

Function connectWith

connect left_worflow to this workflow with specified connections (out->in). Parameters:
  • Workflow & left_workflow: [in] Workflow to add.
  • std::map< std::string, std::string > const & connections: [in] Connections map (out to in).
Return type: void

Function hasInputPin

Returns: Indication of existence of given input pin. Parameters:
  • std::string const & pin_name: [in] Name of pin for which to check existence.
Return type: bool

Function hasOutputPin

Returns: Indication of existence of given output pin. Parameters:
  • std::string const & pin_name: [in] Name of in for which to check existence.
Return type: bool

Function listInputPins

Returns: Vector of input pin names. Return type: std::vector< std::string >

Function listOutputPins

Returns: Vector of output pin names. Return type: std::vector< std::string >

Function nameInputPin

Add an input name to given pin of operator. Parameters:
  • std::string const & pin_name: [in] Pin name.
  • int operator_input_pin: [in] Input pin.
  • Operator & op: [in] Operator to which to add pin name.
Return type: void

Function nameOutputPin

Add an output name to given pin of operator. Parameters:
  • Operator & op: [in] Operator to which to add pin name.
  • int operator_output_pin: [in] Output pin.
  • std::string const & pin_name: [in] Pin name.
Return type: void

Function eraseInputPin

Removes an exposed pin. Parameters:
  • std::string const & pin_name: [in] Pin name.
Return type: void

Function eraseOutputPin

Removes an exposed pin. Parameters:
  • std::string const & pin_name: [in] Pin name.
Return type: void

Function writeToSwf

Write workflow to given file, in a DataProcessing format. Parameters:
  • std::string const & file_path: [in] Name of file to which to write workflow.
Return type: void

Function writeToGraphViz

Write workflow to given file, in a graphViz format. Parameters:
  • std::string const & file_path: [in] Name of file to which to write workflow.
Return type: void

Function writeToJson

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. Parameters:
  • std::string & jsonString
Return type: void

Function readFromJson

load workflow from string in a json format. Parameters:
  • const std::string & jsonString
Return type: void

Function writeToString

Write workflow to text. Return type: std::string

Function chainWith

Append given workflow. Parameters:
  • const Workflow & wf: [in] Workflow to add.
Return type: void

Function chainWith

Append given workflow. Output name is connected to input name of given workflow. Parameters:
  • const Workflow & wf: [in] Workflow to add.
  • const std::pair< std::string, std::string > & in_out_names: [in] Pair of input/output names.
Return type: void

Function renameInputPin

Rename input pin with given name to new name. Parameters:
  • std::string const & old_pin_name: [in] Name of pin to rename.
  • std::string const & new_pin_name: [in] New pin name.
Return type: void

Function renameOutputPin

Rename output pin with given name to new name. Parameters:
  • std::string const & old_pin_name: [in] Name of pin to rename.
  • std::string const & new_pin_name: [in] New pin name.
Return type: void

Function loadFromSwf

Load workflow from given file. Parameters:
  • std::string const & file_path: [in] Name of file from which to read workflow.
Return type: void

Function generateDerivativeFor

Parameters:
  • std::string const & output_name
  • std::string const & symbol_name
Return type: void

Function hasOutputWhenEvaluated

Returns: Indication of existence of output pin when workflow evaluated. Parameters:
  • std::string const & pin_name: [in] Name of output pin to check existence.
Return type: bool

Function numberOfOperators

Returns: Number of operators in workflow chain. Return type: dp_int

Function operatorNameByIndex

Returns: Operator name by index in workflow chain. Parameters: Return type: std::string

Function firstOperator

Returns: First operator in workflow chain. Return type: Operator

Function lastOperator

Returns: last operator in workflow chain. Return type: Operator

Function getOperators

Return type: std::vector< Operator >

Function getOutputField

Returns: Field result for given output pin. Parameters:
  • std::string const & pin_name: [in] Output pin name.
Return type: Field

Function getOutputFieldsContainer

Returns: Fields container result for given output pin. Parameters:
  • std::string const & pin_name: [in] Output pin name.
Return type: FieldsContainer

Function getOutputScoping

Returns: Scoping result for given output pin. Parameters:
  • std::string const & pin_name: [in] Output pin name.
Return type: Scoping

Function getOutputScopingsContainer

Returns: Scopings container result for given output pin. Parameters:
  • std::string const & pin_name: [in] Output pin name.
Return type: ScopingsContainer

Function getOutputMeshesContainer

Returns: Meshes container result for given output pin. Parameters:
  • std::string const & pin_name: [in] Output pin name.
Return type: MeshesContainer

Function getOutputTimeFreqSupport

Returns: Time frequency support result for given output pin. Parameters:
  • std::string const & pin_name: [in] Output pin name.
Return type: TimeFreqSupport

Function getOutputMeshedRegion

Returns: Meshed region result for given output pin. Parameters:
  • std::string const & pin_name: [in] Output pin name.
Return type: MeshedRegion

Function getOutputResultInfo

Returns: Result information result for given output pin. Parameters:
  • std::string const & pin_name: [in] Output pin name.
Return type: ResultInfo

Function getOutputSupport

Returns: Support result for given output pin. Parameters:
  • std::string const & pin_name: [in] Output pin name.
Return type: Support

Function getOutputCyclicSupport

Returns: CyclicSupport result for given output pin. Parameters:
  • std::string const & pin_name: [in] Output pin name.
Return type: CyclicSupport

Function getOutputDataSources

Returns: Data sources result for given output pin. Parameters:
  • std::string const & pin_name: [in] Output pin name.
Return type: DataSources

Function getOutputStreams

Returns: Streams result for given output pin. Parameters:
  • std::string const & pin_name: [in] Output pin name.
Return type: Streams

Function getOutputPropertyField

Returns: Property field result for given output pin. Parameters:
  • std::string const & pin_namepin_name: [in] Output pin name.
Return type: PropertyField

Function getOutputUnit

Returns: Unit result for given output pin. Parameters:
  • std::string const & pin_name: [in] Output pin name.
Return type: Unit

Function getOutputWorkflow

Returns: Workflow result for given output pin. Parameters:
  • std::string const & pin_name: [in] Output pin name.
Return type: Workflow

Function getOutputDataTree

Returns: DataTree result for given output pin. Parameters:
  • std::string const & pin_name: [in] Output pin name.
Return type: DataTree

Function getOutputStringField

Returns: StringField result for given output pin. Parameters:
  • std::string const & pin_name: [in] Output pin name.
Return type: StringField

Function getOutputCustomTypeField

Returns: CustomTypeField result for given output pin. Parameters:
  • std::string const & pin_name: [in] Output pin name.
Return type: CustomTypeField

Function getOutputGenericDataContainer

Returns: GenericDataContainer result for given output pin. Parameters:
  • std::string const & pin_name: [in] Output pin name.
Return type: GenericDataContainer

Function getOutputCustomTypeFieldsContainer

Returns: CustomTypeFieldsContainer result for given output pin. Parameters:
  • std::string const & pin_name: [in] Output pin name.
Return type: CustomTypeFieldsContainer

Function getOutputInt

Returns: Integer result for given output pin. Parameters:
  • std::string const & pin_name: [in] Output pin name.
Return type: dp_int

Function getOutputDouble

Returns: Double result for given output pin. Parameters:
  • std::string const & pin_name: [in] Output pin name.
Return type: dp_double

Function getOutputBool

Returns: Boolean result for given output pin. Parameters:
  • std::string const & pin_name: [in] Output pin name.
Return type: bool

Function getOutputString

Returns: String result for given output pin. Parameters:
  • std::string const & pin_index: [in] Output pin name.
Return type: std::string

Function getOutputAsAny

Returns: Any result for given output pin. Parameters:
  • std::string const & pin_name: [in] Output pin name.
Return type: Any

Function getOutputIntVector

Returns: Integers vector result as DpfVector for given output pin. Parameters:
  • std::string const & pin_name: [in] Output pin name.
Return type: DpfVector< int >

Function getOutputDoubleVector

Returns: Doubles vector result as DpfVector for given output pin. Parameters:
  • std::string const & pin_name: [in] Output pin name.
Return type: DpfVector< double >

Function getCustomOutput

Returns: Custom result for given output pin. Parameters:
  • std::string const & pin_name: [in] Output pin name.
Return type: DataT

Function getOutput

Returns: Typed result for given output pin. Parameters:
  • std::string const & pin_name: [in] Output pin name.
Return type: DataT

Function getOutputField

Returns: Field result for given output pin. Parameters:
  • std::string const & pin_name: [in] Output pin name.
  • DpfError & error: [out] Status of call.
Return type: Field

Function getOutputFieldsContainer

Returns: Fields container result for given output pin. Parameters:
  • std::string const & pin_name: [in] Output pin name.
  • DpfError & error: [out] Status of call.
Return type: FieldsContainer

Function getOutputScoping

Returns: Scoping result for given output pin. Parameters:
  • std::string const & pin_name: [in] Output pin name.
  • DpfError & error: [out] Status of call.
Return type: Scoping

Function getOutputScopingsContainer

Returns: Scopings container result for given output pin. Parameters:
  • std::string const & pin_name: [in] Output pin name.
  • DpfError & error: [out] Status of call.
Return type: ScopingsContainer

Function getOutputMeshesContainer

Returns: Meshes container result for given output pin. Parameters:
  • std::string const & pin_name: [in] Output pin name.
  • DpfError & error: [out] Status of call.
Return type: MeshesContainer

Function getOutputTimeFreqSupport

Returns: Time frequency support result for given output pin. Parameters:
  • std::string const & pin_name: [in] Output pin name.
  • DpfError & error: [out] Status of call.
Return type: TimeFreqSupport

Function getOutputMeshedRegion

Returns: Meshed region result for given output pin. Parameters:
  • std::string const & pin_name: [in] Output pin name.
  • DpfError & error: [out] Status of call.
Return type: MeshedRegion

Function getOutputResultInfo

Returns: Result information result for given output pin. Parameters:
  • std::string const & pin_name: [in] Output pin name.
  • DpfError & error: [out] Status of call.
Return type: ResultInfo

Function getOutputSupport

Returns: Support result for given output pin. Parameters:
  • std::string const & pin_name: [in] Output pin name.
  • DpfError & error: [out] Status of call.
Return type: Support

Function getOutputCyclicSupport

Returns: CyclicSupport result for given output pin. Parameters:
  • std::string const & pin_name: [in] Output pin name.
  • DpfError & error: [out] Status of call.
Return type: CyclicSupport

Function getOutputDataSources

Returns: Data sources result for given output pin. Parameters:
  • std::string const & pin_name: [in] Output pin name.
  • DpfError & error: [out] Status of call.
Return type: DataSources

Function getOutputStreams

Returns: Streams result for given output pin. Parameters:
  • std::string const & pin_name: [in] Output pin name.
  • DpfError & error: [out] Status of call.
Return type: Streams

Function getOutputPropertyField

Returns: Property field result for given output pin. Parameters:
  • std::string const & pin_name: [in] Output pin name.
  • DpfError & error: [out] Status of call.
Return type: PropertyField

Function getOutputStringField

Returns: StringField result for given output pin. Parameters:
  • std::string const & pin_name: [in] Output pin name.
  • DpfError & error: [out] Status of call.
Return type: StringField

Function getOutputCustomTypeField

Returns: CustomTypeField result for given output pin. Parameters:
  • std::string const & pin_name: [in] Output pin name.
  • DpfError & error: [out] Status of call.
Return type: CustomTypeField

Function getOutputGenericDataContainer

Returns: GenericDataContainer result for given output pin. Parameters:
  • std::string const & pin_name: [in] Output pin name.
  • DpfError & error: [out] Status of call.
Return type: GenericDataContainer

Function getOutputCustomTypeFieldsContainer

Returns: CustomTypeFieldsContainer result for given output pin. Parameters:
  • std::string const & pin_name: [in] Output pin name.
  • DpfError & error: [out] Status of call.
Return type: CustomTypeFieldsContainer

Function getOutputUnit

Returns: Unit result for given output pin. Parameters:
  • std::string const & pin_name: [in] Output pin name.
  • DpfError & error: [out] Status of call.
Return type: Unit

Function getOutputWorkflow

Returns: Workflow result for given output pin. Parameters:
  • std::string const & pin_name: [in] Output pin name.
  • DpfError & error: [out] Status of call.
Return type: Workflow

Function getOutputInt

Returns: Integer result for given output pin. Parameters:
  • std::string const & pin_name: [in] Output pin name.
  • DpfError & error: [out] Status of call.
Return type: dp_int

Function getOutputDouble

Returns: Double result for given output pin. Parameters:
  • std::string const & pin_name: [in] Output pin name.
  • DpfError & error: [out] Status of call.
Return type: dp_double

Function getOutputBool

Returns: Boolean result for given output pin. Parameters:
  • std::string const & pin_name: [in] Output pin name.
  • DpfError & error: [out] Status of call.
Return type: bool

Function getOutputString

Returns: String result for given output pin. Parameters:
  • std::string const & pin_name: [in] Output pin name.
  • DpfError & error: [out] Status of call.
Return type: std::string

Function getOutputIntVector

Returns: Integers vector result as DpfVector for given output pin. Parameters:
  • std::string const & pin_name: [in] Output pin name.
  • DpfError & error: [out] Status of call.
Return type: DpfVector< int >

Function getOutputDoubleVector

Returns: Doubles vector result as DpfVector for given output pin. Parameters:
  • std::string const & pin_name: [in] Output pin name.
  • DpfError & error: [out] Status of call.
Return type: DpfVector< double >

Function connect

Connect string to input pin. Exceptions: Parameters:
  • std::string const & pin_name: [in] Input pin name.
  • std::string const & f: [in] String data.
Return type: void

Function connect

Connect integer to input pin. Exceptions: Parameters:
  • std::string const & pin_name: [in] Input pin name.
  • dp_int f: [in] Integer data.
Return type: void

Function connect

Connect boolean to input pin. Exceptions: Parameters:
  • std::string const & pin_name: [in] Input pin name.
  • bool f: [in] Boolean data.
Return type: void

Function connect

Connect double to input pin. Exceptions: Parameters:
  • std::string const & pin_name: [in] Input pin name.
  • dp_double f: [in] Double data.
Return type: void

Function connect

Connect vector of integers to input pin. Exceptions: Parameters:
  • std::string const & pin_name: [in] Input pin name.
  • std::vector< int > const & f: [in] Vector of integers data.
Return type: void

Function connect

Connect vector of doubles to input pin. Exceptions: Parameters:
  • std::string const & pin_name: [in] Input pin name.
  • std::vector< dp_double > const & f: [in] Vector of doubles data.
Return type: void

Function connect

Connect vector of strings to input pin. Exceptions: Parameters:
  • std::string const & pin_name: [in] Input pin name.
  • std::vector< std::string > const & f: [in] Vector of strings data.
Return type: void

Function connect

Connect Scoping data to input_pin. Exceptions: Parameters:
  • std::string const & pin_name: [in] Input pin.
  • Scoping const & data: [in] Scoping data to connect to pin.
Return type: void

Function connect

Connect field to input pin. Exceptions: Parameters:
  • std::string const & pin_name: [in] Input pin name.
  • Field const & f: [in] Field data.
Return type: void

Function connect

Connect fields container to input pin. Exceptions: Parameters:
  • std::string const & pin_name: [in] Input pin name.
  • FieldsContainer const & f: [in] Fields container data.
Return type: void

Function connect

Connect scopings container to input pin. Exceptions: Parameters:
  • std::string const & pin_name: [in] Input pin name.
  • ScopingsContainer const & f: [in] Scopings container data.
Return type: void

Function connect

Connect meshes container to input pin. Exceptions: Parameters:
  • std::string const & pin_name: [in] Input pin name.
  • MeshesContainer const & f: [in] Meshes container data.
Return type: void

Function connect

Connect mesed region to input pin. Exceptions: Parameters:
  • std::string const & pin_name: [in] Input pin name.
  • MeshedRegion const & f: [in] Meshed region data.
Return type: void

Function connect

Connect property field to input pin. Exceptions: Parameters:
  • std::string const & pin_name: [in] Input pin name.
  • PropertyField const & f: [in] Property field data.
Return type: void

Function connect

Connect support to input pin. Exceptions: Parameters:
  • std::string const & pin_name: [in] Input pin name.
  • Support const & f: [in] Support data.
Return type: void

Function connect

Connect time frequency support to input pin. Exceptions: Parameters:
  • std::string const & pin_name: [in] Input pin name.
  • TimeFreqSupport const & f: [in] Time frequency support data.
Return type: void

Function connect

Connect CyclicSupport to input pin. Exceptions: Parameters:
  • std::string const & pin_name: [in] Input pin name.
  • CyclicSupport const & f: [in] Time frequency support data.
Return type: void

Function connect

Connect Workflow to input pin. Exceptions: Parameters:
  • std::string const & pin_name: [in] Input pin name.
  • Workflow const & f: [in] Workflow data.
Return type: void

Function connect

Connect data sources to input pin. Exceptions: Parameters:
  • std::string const & pin_name: [in] Input pin name.
  • DataSources const & f: [in] Data sources data.
Return type: void

Function connect

Connect Streams to input pin. Exceptions: Parameters:
  • std::string const & pin_name: [in] Input pin name.
  • Streams const & f: [in] Streams data.
Return type: void

Function connect

Connect DataTree to input pin. Exceptions: Parameters:
  • std::string const & pin_name: [in] Input pin name.
  • DataTree const & f: [in] DataTree data.
Return type: void

Function connect

Connect StringField to input pin. Exceptions: Parameters: Return type: void

Function connect

Connect CustomTypeField to input pin. Exceptions: Parameters: Return type: void

Function connect

Connect GenericDataContainer to input pin. Exceptions: Parameters:
  • std::string const & pin_name: [in] Input pin name.
  • GenericDataContainer const & f: [in] GenericDataContainer data.
Return type: void

Function connect

Connect CustomTypeFieldsContainer to input pin. Exceptions: Parameters: Return type: void

Function connect

Connect LabelSpace to input pin. Exceptions: Parameters: Return type: void

Function connect

Connect LabelSpace to input pin. Exceptions: Parameters: Return type: void

Function connect

Connect Any dpf type. Exceptions: Parameters:
  • std::string const & pin_name: [in] Input pin name.
  • Collection< DataT > const & f: [in] Operator from which to connect output pin.
Return type: void

Function connect

Connect Any to input pin. Exceptions: Parameters:
  • std::string const & pin_name: [in] Input pin name.
  • Any const & f: [in] Any data.
Return type: void

Function connect

Connect operator output pin to input pin. Exceptions: Parameters:
  • std::string const & pin_name: [in] Input pin name.
  • Operator const & f: [in] Operator from which to connect output pin.
  • dp_index output_pin: [in] Output pin.
Return type: void

Function connectCustom

Connect typed data to input pin. Exceptions: Parameters:
  • std::string const & input_pin: [in] Input pin name.
  • DataT const & d: {in] Typed data
Return type: void

Function connect

Connect integer to input pin. Parameters:
  • std::string const & pin_name: [in] Input pin name.
  • dp_int f: [in] Integer data.
  • DpfError & error: [out] Status of call.
Return type: void

Function connect

Connect boolean to input pin. Parameters:
  • std::string const & pin_name: [in] Input pin name.
  • bool f: [in] Boolean data.
  • DpfError & error: [out] Status of call.
Return type: void

Function connect

Connect double to input pin. Parameters:
  • std::string const & pin_name: [in] Input pin name.
  • dp_double f: [in] Double data.
  • DpfError & error: [out] Status of call.
Return type: void

Function connect

Connect string to input pin. Parameters:
  • std::string const & pin_name: [in] Input pin name.
  • std::string const & f: [in] String data.
  • DpfError & error: [out] Status of call.
Return type: void

Function connect

Connect vector of integers to input pin. Parameters:
  • std::string const & pin_name: [in] Input pin name.
  • std::vector< int > const & f: [in] Vector of integer data.
  • DpfError & error: [out] Status of call.
Return type: void

Function connect

Connect vector of doubles to input pin. Parameters:
  • std::string const & pin_name: [in] Input pin name.
  • std::vector< dp_double > const & f: [in] Vector of double data.
  • DpfError & error: [out] Status of call.
Return type: void

Function connect

Connect vector of strings to input pin. Parameters:
  • std::string const & pin_name: [in] Input pin name.
  • std::vector< std::string > const & f: [in] Vector of string data.
  • DpfError & error: [out] Status of call.
Return type: void

Function connect

Connect scoping to input pin. Parameters:
  • std::string const & pin_name: [in] Input pin name.
  • Scoping const & f: [in] Scoping data.
  • DpfError & error: [out] Status of call.
Return type: void

Function connect

Connect field to input pin. Parameters:
  • std::string const & pin_name: [in] Input pin name.
  • Field const & f: [in] Field data.
  • DpfError & error: [out] Status of call.
Return type: void

Function connect

Connect fields container to input pin. Parameters:
  • std::string const & pin_name: [in] Input pin name.
  • FieldsContainer const & f: [in] Fields container data.
  • DpfError & error: [out] Status of call.
Return type: void

Function connect

Connect scopings container to input pin. Parameters:
  • std::string const & pin_name: [in] Input pin name.
  • ScopingsContainer const & f: [in] Scopings container data.
  • DpfError & error: [out] Status of call.
Return type: void

Function connect

Connect meshes container to input pin. Parameters:
  • std::string const & pin_name: [in] Input pin name.
  • MeshesContainer const & f: [in] Meshes container data.
  • DpfError & error: [out] Status of call.
Return type: void

Function connect

Connect meshed region to input pin. Parameters:
  • std::string const & pin_name: [in] Input pin name.
  • MeshedRegion const & f: [in] Meshed region data.
  • DpfError & error: [out] Status of call.
Return type: void

Function connect

Connect data sources to input pin. Parameters:
  • std::string const & pin_name: [in] Input pin name.
  • DataSources const & f: [in] Data sources data.
  • DpfError & error: [out] Status of call.
Return type: void

Function connect

Connect Streams to input pin. Parameters:
  • std::string const & pin_name: [in] Input pin name.
  • Streams const & f: [in] Streams data.
  • DpfError & error: [out] Status of call.
Return type: void

Function connect

Connect property field to input pin. Parameters:
  • std::string const & pin_name: [in] Input pin name.
  • PropertyField const & f: [in] Property field data.
  • DpfError & error: [out] Status of call.
Return type: void

Function connect

Connect support to input pin. Parameters:
  • std::string const & pin_name: [in] Input pin name.
  • Support const & f: [in] Support data.
  • DpfError & error: [out] Status of call.
Return type: void

Function connect

Connect CyclicSupport to input pin. Parameters: Return type: void

Function connect

Connect timefrequency support to input pin. Parameters:
  • std::string const & pin_name: [in] Input pin name.
  • TimeFreqSupport const & f: [in] Time frequency support data.
  • DpfError & error: [out] Status of call.
Return type: void

Function connect

Connect Workflow support to input pin. Parameters:
  • std::string const & pin_name: [in] Input pin name.
  • Workflow const & f: [in] Workflow support data.
  • DpfError & error: [out] Status of call.
Return type: void

Function connect

Connect DataTree support to input pin. Parameters:
  • std::string const & pin_name: [in] Input pin name.
  • DataTree const & f: [in] DataTree support data.
  • DpfError & error: [out] Status of call.
Return type: void

Function connect

Connect StringField support to input pin. Parameters: Return type: void

Function connect

Connect CustomTypeField support to input pin. Parameters: Return type: void

Function connect

Connect GenericDataContainer support to input pin. Parameters:
  • std::string const & pin_name: [in] Input pin name.
  • GenericDataContainer const & f: [in] GenericDataContainer data.
  • DpfError & error: [out] Status of call.
Return type: void

Function connect

Connect CustomTypeFieldsContainer support to input pin. Parameters: Return type: void

Function connect

Connect LabelSpace support to input pin. Parameters: Return type: void

Function connect

Connect Any support to input pin. Parameters:
  • std::string const & pin_name: [in] Input pin name.
  • Any const & f: [in] Workflow Any data.
  • DpfError & error: [out] Status of call.
Return type: void

Function connect

Connect operator output pin to input pin. Parameters:
  • std::string const & pin_name: [in] Input pin name.
  • Operator const & f: [in] Operator from which to connect output pin.
  • dp_index output_pin: [in] Output pin.
  • DpfError & error: [out] Status of call.
Return type: void

Function discoverAllOperators

Using operator’s connectivity, discover all operators contained in the workflow and add them inside. Return type: void

Function record

Records the workflow in DPF’s registry. Parameters:
  • name: Name of the workflow.
  • transfer_ownership: If true the workflow will be suppressed from the registry as soon as it is returned by ansys::dpf::core::workflowById.
  • error: Name of the workflow.
Parameters:
  • std::string const & name
  • bool transfer_ownership
  • DpfError & error
Return type: int

Function record

Records the workflow in DPF’s registry. Parameters:
  • name: Name of the workflow.
  • transfer_ownership: If true the workflow will be suppressed from the registry as soon as it is returned by ansys::dpf::core::workflowById.
Parameters:
  • std::string const & name
  • bool transfer_ownership
Return type: int

Function tryReplaceWorkflowInRegistry

Parameters:
  • int id
  • std::string const & name
  • bool transfer_ownership
Return type: bool

Function eraseWorkflowFromRegistry

Return type: bool

Function instantiateOnRemote

Make a copy of the workflow (with writeToString) on a server. Parameters: Return type: Workflow

Function instantiateOnRemote

Asks the server to make a copy of the workflow (with writeToString) on a server address. Parameters:
  • std::string const & address: [in] address of the server (ip:port).
  • std::string const & protocol: [in] servers protocol (ex: ‘grpc’).
Return type: Workflow

Function instantiateOnRemote

Asks the server to make a copy of the workflow (with writeToString) on a server address. Parameters:
  • std::string const & ip: [in] ip address of the server.
  • int port: [in] port of the server.
  • std::string const & protocol: [in] servers protocol (ex: ‘grpc’).
Return type: Workflow

Function getRemoteId

If the workflow is remote, returns its Id on the server. Return type: dp_id

Function operatorsForInput

get the list of Operator s and their exposed input pin number for a given exposed input pin name. Parameters:
  • std::string const & input_name: [in] pin_name
Return type: std::vector< std::pair< int, ansys::dpf::Operator > >

Function operatorForOutput

get the Operator and their exposed output pin number for a given exposed output pin name. Parameters:
  • std::string const & output_name: [in] pin_name
Return type: std::pair< int, ansys::dpf::Operator >

Function addInterfaceHierarchy

Add an inheritance relationship between two interfaces. BETA Parameters: Return type: void

Function addConnection

Add a pin to pin connection between two interfaces. BETA Parameters:
  • const std::pair< Interface, Interface > & interfaces
  • const std::pair< std::string, std::string > & connection
Return type: void

Function addImplementation

Add an implementation for a given interface. BETA Parameters:
  • const std::string & iName
  • const ansys::dpf::Workflow & wf
Return type: void

Function setCacheLevelAndDestination

Parameters:
  • const std::string & outputPinName
  • const CacheInformation::LevelAndDestination & levelDestintation
Return type: void

Function getCacheLevelAndDestination

Parameters:
  • const std::string & outputPinName
Return type: CacheInformation::LevelAndDestination

Function setStrategy

Parameters:
  • const CONSTRUCTION_STRATEGY & constructionStrategy
Return type: void

Function getInterfaces

Return type: std::vector< Interface >

Function enableCache

Parameters:
  • bool b
Return type: void

Function getHashableKey

Set and get an simpler hashable entity (here workflow identifier) instead of the full Workflow to save time Return type: std::string

Function setHashableKey

Parameters:
  • const std::string & unique_identifier
Return type: void

Function getHash

Compute and get the hash of a workflow Return type: size_t

Function construct

Construct a workflow from its implementations. BETA Return type: Workflow

Function addStep

Set symbolic step to the workflow Parameters:
  • const std::string & name
  • const WorkflowStep & step
Return type: void

Function getSteps

Return type: std::map< std::string, WorkflowStep >

Public static functions

Function emptyWorkflow

Create an empty workflow. Returns: Empty Workflow. Return type: Workflow