8 #include <system/object.h>
10 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
17 namespace RiskAnalysis
19 class MonteCarloProjectSimulation;
22 class RiskReportBuilder;
24 class RiskAnalysisSettings;
25 class RiskItemStatisticsCollection;
26 enum class RiskItemType;
36 template <
typename,
typename>
class IDictionary;
50 namespace RiskAnalysis {
58 typedef System::Object BaseType;
60 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
61 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
63 friend class Aspose::Tasks::RiskAnalysis::MonteCarloProjectSimulation;
64 friend class Aspose::Tasks::RiskAnalysis::Reporting::RiskReportBuilder;
73 ASPOSE_TASKS_SHARED_API System::SharedPtr<RiskItemStatisticsCollection>
GetRiskItems(RiskItemType itemType);
78 ASPOSE_TASKS_SHARED_API
void SaveReport(
const System::SharedPtr<System::IO::Stream>& stream);
83 ASPOSE_TASKS_SHARED_API
void SaveReport(
const System::String& fileName);
87 ASPOSE_TASKS_SHARED_API System::SharedPtr<Aspose::Tasks::Project> get_Project()
const;
88 ASPOSE_TASKS_SHARED_API System::SharedPtr<RiskAnalysisSettings> get_Settings()
const;
90 ASPOSE_TASKS_SHARED_API
RiskAnalysisResult(
const System::SharedPtr<Aspose::Tasks::Project>& project,
const System::SharedPtr<RiskAnalysisSettings>& settings);
92 ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(
RiskAnalysisResult, CODEPORTING_ARGS(
const System::SharedPtr<Aspose::Tasks::Project>& project,
const System::SharedPtr<RiskAnalysisSettings>& settings));
96 #ifdef ASPOSE_GET_SHARED_MEMBERS
97 ASPOSE_TASKS_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
103 System::SharedPtr<System::Collections::Generic::IDictionary<RiskItemType, System::SharedPtr<RiskItemStatisticsCollection>>> risks;
104 System::SharedPtr<RiskAnalysisSettings> settings;
105 System::WeakPtr<Aspose::Tasks::Project> project;
107 System::SharedPtr<System::Collections::Generic::IDictionary<RiskItemType, System::SharedPtr<RiskItemStatisticsCollection>>> InitRiskMap();
Represents a result of risk analysis.
Definition: RiskAnalysisResult.h:56
void SaveReport(const System::String &fileName)
Saves the risk analysis report to the specified file path in PDF format.
void SaveReport(const System::SharedPtr< System::IO::Stream > &stream)
Saves the risk analysis report to the stream in PDF format.
System::SharedPtr< RiskItemStatisticsCollection > GetRiskItems(RiskItemType itemType)
Returns an instance of the RiskItemStatisticsCollection for the specified risk type.