8 #include <system/shared_ptr.h>
9 #include <system/collections/ienumerable.h>
12 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
18 namespace RiskAnalysis
20 class RiskAnalysisResult;
21 class RiskItemStatistics;
22 enum class RiskItemType;
23 class SampleCollector;
34 template <
typename>
class ICollection;
35 template <
typename,
typename>
class IDictionary;
36 template <
typename>
class IEnumerator;
45 namespace RiskAnalysis {
50 class ASPOSE_TASKS_SHARED_CLASS
RiskItemStatisticsCollection :
public System::Collections::Generic::IEnumerable<System::SharedPtr<Aspose::Tasks::RiskAnalysis::RiskItemStatistics>>
53 typedef System::Collections::Generic::IEnumerable<System::SharedPtr<Aspose::Tasks::RiskAnalysis::RiskItemStatistics>> BaseType;
55 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
56 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
58 friend class Aspose::Tasks::RiskAnalysis::SampleCollector;
69 ASPOSE_TASKS_SHARED_API System::SharedPtr<RiskItemStatistics> Get(
const System::SharedPtr<Task>& task);
74 ASPOSE_TASKS_SHARED_API System::SharedPtr<System::Collections::Generic::IEnumerator<System::SharedPtr<RiskItemStatistics>>> GetEnumerator()
override;
78 ASPOSE_TASKS_SHARED_API int32_t get_IterationCount()
const;
87 ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(RiskItemStatisticsCollection, CODEPORTING_ARGS(int32_t iterationCount, RiskItemType itemType));
95 ASPOSE_TASKS_SHARED_API RiskItemStatisticsCollection(int32_t iterationCount, RiskItemType itemType,
const System::SharedPtr<System::Collections::Generic::IDictionary<System::SharedPtr<Task>, System::SharedPtr<RiskItemStatistics>>>& riskItems);
97 ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(RiskItemStatisticsCollection, CODEPORTING_ARGS(int32_t iterationCount, RiskItemType itemType,
const System::SharedPtr<System::Collections::Generic::IDictionary<System::SharedPtr<Task>, System::SharedPtr<RiskItemStatistics>>>& riskItems));
104 ASPOSE_TASKS_SHARED_API System::SharedPtr<RiskItemStatistics> GetOrAdd(
const System::SharedPtr<Task>& task);
106 virtual ASPOSE_TASKS_SHARED_API ~RiskItemStatisticsCollection();
108 #ifdef ASPOSE_GET_SHARED_MEMBERS
109 ASPOSE_TASKS_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
115 RiskItemType itemType;
116 int32_t iterationCount;
117 System::SharedPtr<System::Collections::Generic::IDictionary<System::SharedPtr<Task>, System::SharedPtr<RiskItemStatistics>>> riskItems;
119 System::SharedPtr<RiskItemStatistics> Add(
const System::SharedPtr<Task>& task);
Represents an item which stores statistical data for the task of the analyzed project.
Definition: RiskItemStatistics.h:48
Represents a collection containing the instances of the RiskItemStatistics class. ...
Definition: RiskItemStatisticsCollection.h:50
Represents a result of risk analysis.
Definition: RiskAnalysisResult.h:55