Skip to main content
Subfolder of a Run, regrouping Results for a step. #include "Output.hpp" Inheritance diagram for ansys::Project::Output:

Public Member Functions

Public Member Functions inherited from ansys::Project::RunOutputAttr

Protected Attributes

Additional Inherited Members

Static Public Attributes inherited from ansys::Project::RunOutputAttr

Detailed Description

Subfolder of a Run, regrouping Results for a step. In a Run, one or multiple Output are to be created, to store the results. Depending of the Run type (transient, parametric, steady…) the Output will have Metatada assigned accordinly (time step, variable value, iteration, etc.) Subclass of Iterator, can be constructed from an Iterator, the Output is ok() only if the provided iterator is of the appropriate subclass.
The Output regroups a set of Results in a subfolder (can be project-only and not a true folder in the storage filesystem) Metadata attributes assigned to the Output will be inherited by all underlying Results. Sample workflow, for transient

Constructor & Destructor Documentation

Output()

Constructor from Iterator.
The input Iterator must be of subclass Output If the subclass is not Output, the Output object is invalid ( !ok() )

~Output()

inline virtual

Member Function Documentation

getCase()

Return the case link, if any. If not defined at this level, the parent Run or Simulation are searched for such a Case link.

getData()

Returns the main data file for this Output. The main data file is registered at the Run or Simulation level, as the SimBase::setMainDataType(const std::string&), the Output folder is searched for a Result matching this type.

getInputByType()

Search the metadata links for the specified file type. Links are stored in Output as metadata, in Simulation and Run they are stored as an Input/ subfolder entry

getIterator()

virtual Returns the Iterator for this Output. Implements ansys::Project::RunOutputAttr.

getResult()

Returns the enclosed Result with the specified subtype.

getResultIterators()

Return the list of results in the current Output, as a vector of Iterator.

getResults()

Return the list of results in the current Output, as a vector of Result.

getRunStatus()

Returns the RunStatus state for this Output. See setRunStatus()

getValue()

virtual Search the metadata (local and inherited) for the specified key and return the value as string. Parameters Implements ansys::Project::RunOutputAttr.

getValueDouble()

virtual Search the metadata (local and inherited) for the specified key and return the value as double. Parameters Implements ansys::Project::RunOutputAttr.

getValueInt()

virtual Search the metadata (local and inherited) for the specified key and return the value as integer. Parameters Implements ansys::Project::RunOutputAttr.

getValueIter()

Search the metadata (local and inherited) for the specified metadata link and return the value as an iterator. Parameters

getValueType()

virtual Search the metadata (local and inherited) for the specified key and return the its data type. Parameters Implements ansys::Project::RunOutputAttr.

hasValue()

virtual Search the metadata (local and inherited) for the specified key. Parameters Implements ansys::Project::RunOutputAttr.

isValid()

virtual Returns error with message if invalid.

newResult()

Create a Result object in the current Output folder. The newResult operation creates a file reference to a specified URL Parameters

ok()

Indicates if the Iterator is valid and of correct subclass.

operator Iterator()

inline

operator!=()

inline

operator==()

inline

setCase()

Assign the case used/shared by results of this output, as link.

setRunStatus()

Set the RunStatus state for this Output. (Optional API) The run status permits to indicate if a specific Output is running, completed, waiting for execution, etc.

setTransparent()

Set the Output visible or invisible (transparent) in the project viewer.

setValue() [1/3]

virtual Sets the local metadata to the specified key/value. Implements ansys::Project::RunOutputAttr.

setValue() [2/3]

inline

setValue() [3/3]

inline

setValueDouble()

virtual Sets the local metadata to the specified key/value. Implements ansys::Project::RunOutputAttr.

setValueInt()

virtual Sets the local metadata to the specified key/value. Implements ansys::Project::RunOutputAttr.

Member Data Documentation

aIter

protected