Aspose.Tasks for C++
LevelingResult.h
1 #pragma once
2 //-----------------------------------------------------------------------
3 // <copyright file="LevelingResult.cs" company="Aspose Pty Ltd">
4 // Copyright (c) 2002-2024 Aspose Pty Ltd. All Rights Reserved.
5 // </copyright>
6 //-----------------------------------------------------------------------
7 
8 #include <system/object.h>
9 
10 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
11 
12 namespace Aspose
13 {
14 namespace Tasks
15 {
16 class Task;
17 } // namespace Tasks
18 } // namespace Aspose
19 namespace System
20 {
21 namespace Collections
22 {
23 namespace Generic
24 {
25 template <typename> class HashSet;
26 } // namespace Generic
27 } // namespace Collections
28 } // namespace System
29 
30 namespace Aspose {
31 
32 namespace Tasks {
33 
34 namespace Leveling {
35 
36 /// <summary>
37 /// Represents the results of resource leveling.
38 /// </summary>
39 class ASPOSE_TASKS_SHARED_CLASS LevelingResult final : public System::Object
40 {
41  typedef LevelingResult ThisType;
42  typedef System::Object BaseType;
43 
44  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
45  ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
46 
47 public:
48 
49  /// <summary>
50  /// Gets a set of tasks affected by resource leveling.
51  /// </summary>
52  ASPOSE_TASKS_SHARED_API const System::SharedPtr<System::Collections::Generic::HashSet<System::SharedPtr<Task>>>& get_AffectedTasks() const;
53 
54  /// <summary>
55  /// Initializes a new instance of the <see cref="LevelingResult"></see> class.
56  /// </summary>
57  ASPOSE_TASKS_SHARED_API LevelingResult();
58 
59 protected:
60 
61  #ifdef ASPOSE_GET_SHARED_MEMBERS
62  ASPOSE_TASKS_SHARED_API void GetSharedMembers(System::Object::shared_members_type& result) const override;
63  #endif
64 
65 
66 private:
67 
68  System::SharedPtr<System::Collections::Generic::HashSet<System::SharedPtr<Task>>> pr_AffectedTasks;
69 
70  /// <summary>
71  /// Gets a set of tasks affected by resource leveling.
72  /// </summary>
73  ASPOSE_TASKS_SHARED_API void set_AffectedTasks(const System::SharedPtr<System::Collections::Generic::HashSet<System::SharedPtr<Task>>>& value);
74 
75 };
76 
77 } // namespace Leveling
78 } // namespace Tasks
79 } // namespace Aspose
80 
81 
Represents the results of resource leveling.
Definition: LevelingResult.h:40
LevelingResult()
Initializes a new instance of the LevelingResult class.
const System::SharedPtr< System::Collections::Generic::HashSet< System::SharedPtr< Task > > > & get_AffectedTasks() const
Gets a set of tasks affected by resource leveling.
Definition: Asn.h:13