Aspose.Tasks for C++
Aspose::Tasks::RiskAnalysis::RiskAnalysisResult Class Reference

Represents a result of risk analysis. More...

#include <RiskAnalysisResult.h>

Inherits System::Object.

Public Member Functions

System::SharedPtr< RiskItemStatisticsCollectionGetRiskItems (RiskItemType itemType)
 Returns an instance of the RiskItemStatisticsCollection for the specified risk type. More...
 
void SaveReport (const System::SharedPtr< System::IO::Stream > &stream)
 Saves the risk analysis report to the stream in PDF format. More...
 
void SaveReport (const System::String &fileName)
 Saves the risk analysis report to the specified file path in PDF format. More...
 

Detailed Description

Represents a result of risk analysis.

Member Function Documentation

◆ GetRiskItems()

System::SharedPtr<RiskItemStatisticsCollection> Aspose::Tasks::RiskAnalysis::RiskAnalysisResult::GetRiskItems ( RiskItemType  itemType)

Returns an instance of the RiskItemStatisticsCollection for the specified risk type.

Parameters
itemTypethe specified risk type; can be one of the values of the RiskItemType enumeration.
Returns
an instance of the RiskItemStatisticsCollection for the specified risk type.

◆ SaveReport() [1/2]

void Aspose::Tasks::RiskAnalysis::RiskAnalysisResult::SaveReport ( const System::SharedPtr< System::IO::Stream > &  stream)

Saves the risk analysis report to the stream in PDF format.

Parameters
streamThe stream to save risk analysis report to.

◆ SaveReport() [2/2]

void Aspose::Tasks::RiskAnalysis::RiskAnalysisResult::SaveReport ( const System::String &  fileName)

Saves the risk analysis report to the specified file path in PDF format.

Parameters
fileNameThe specified file name.