Skip to main content
Result (data) file, output of a Simulation Run. #include "Result.hpp" Inheritance diagram for ansys::Project::Result:

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

Result (data) file, output of a Simulation Run. A Result file is typically inside the Simulation/Run/Output subfolder, as results are registered at each output step of a run. But such files can also be imported to the project, and stored in another folder, such as in the Simulation folder (for example: the initial airflow solution) Subclass of Iterator, can be constructed from an Iterator, the Result is ok() only if the provided iterator is of the appropriate subclass.
Medatada attributes will be stored locally, but can be queried with inheritance. For example getTime() will return the time value for the current Result, but the value might have been stored in the parent Output.

Constructor & Destructor Documentation

Result()

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

~Result()

inline virtual

Member Function Documentation

getCase()

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

getInputByType()

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

getIterator()

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

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 string. Parameters Implements ansys::Project::RunOutputAttr.

getValueInt()

virtual Search the metadata (local and inherited) for the specified key and return the value as string. 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.

ok()

Indicates if the Iterator is valid and of correct subclass.

operator Iterator()

inline

setCase()

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

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