8 #include <system/object.h>
9 #include <system/nullable.h>
10 #include <system/date_time.h>
12 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
18 class ICancellationTracker;
19 class IMessageHandler;
22 class LevelingAlgorithm;
23 enum class LevelingOrder;
25 enum class MessageLevel;
36 template <
typename>
class IList;
53 typedef System::Object BaseType;
55 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
56 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
58 friend class Aspose::Tasks::Leveling::LevelingAlgorithm;
65 ASPOSE_TASKS_SHARED_API System::Nullable<System::DateTime>
get_StartDate()
const;
69 ASPOSE_TASKS_SHARED_API
void set_StartDate(System::Nullable<System::DateTime> value);
73 ASPOSE_TASKS_SHARED_API System::Nullable<System::DateTime>
get_FinishDate()
const;
77 ASPOSE_TASKS_SHARED_API
void set_FinishDate(System::Nullable<System::DateTime> value);
81 ASPOSE_TASKS_SHARED_API
const System::SharedPtr<System::Collections::Generic::IList<System::SharedPtr<Resource>>>&
get_Resources()
const;
85 ASPOSE_TASKS_SHARED_API
void set_Resources(
const System::SharedPtr<System::Collections::Generic::IList<System::SharedPtr<Resource>>>& value);
95 ASPOSE_TASKS_SHARED_API
void set_LevelingOrder(Aspose::Tasks::Leveling::LevelingOrder value);
120 ASPOSE_TASKS_SHARED_API System::SharedPtr<ICancellationTracker> GetCancellationTracker();
121 ASPOSE_TASKS_SHARED_API
void Validate(
const System::SharedPtr<Project>& project);
122 #ifdef ASPOSE_GET_SHARED_MEMBERS
123 ASPOSE_TASKS_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
129 System::Nullable<System::DateTime> pr_StartDate;
130 System::Nullable<System::DateTime> pr_FinishDate;
131 System::SharedPtr<System::Collections::Generic::IList<System::SharedPtr<Resource>>> pr_Resources;
132 Aspose::Tasks::Leveling::LevelingOrder pr_LevelingOrder;
133 Aspose::Tasks::MessageLevel pr_MessageLevel;
134 System::SharedPtr<IMessageHandler> pr_MessageHandler;
Allows to specify parameters of resource leveling.
Definition: LevelingOptions.h:51
void set_Resources(const System::SharedPtr< System::Collections::Generic::IList< System::SharedPtr< Resource >>> &value)
Sets the list of the resources which will be leveled. If null is set, all project resources will be l...
const System::SharedPtr< System::Collections::Generic::IList< System::SharedPtr< Resource > > > & get_Resources() const
Gets the list of the resources which will be leveled. If null is set, all project resources will be l...
void set_LevelingOrder(Aspose::Tasks::Leveling::LevelingOrder value)
Gets the order in which the leveling algorithm delays tasks that have overallocations....
Aspose::Tasks::Leveling::LevelingOrder get_LevelingOrder() const
Gets the order in which the leveling algorithm delays tasks that have overallocations....
void set_FinishDate(System::Nullable< System::DateTime > value)
Sets leveling period end date. The default value is the project`s finish date.
const System::SharedPtr< IMessageHandler > & get_MessageHandler() const
Gets message handler callback which can be used to intercept log messages produced by Aspose....
System::Nullable< System::DateTime > get_FinishDate() const
Gets leveling period end date. The default value is the project`s finish date.
void set_StartDate(System::Nullable< System::DateTime > value)
Sets leveling period start date. The default value is the project`s start date.
LevelingOptions()
Initializes a new instance of the LevelingOptions class.
void set_MessageLevel(Aspose::Tasks::MessageLevel value)
Sets level of log messages emitted by Aspose.Tasks during resource leveling.
void set_MessageHandler(const System::SharedPtr< IMessageHandler > &value)
Sets message handler callback which can be used to intercept log messages produced by Aspose....
Aspose::Tasks::MessageLevel get_MessageLevel() const
Gets level of log messages emitted by Aspose.Tasks during resource leveling.
System::Nullable< System::DateTime > get_StartDate() const
Gets leveling period start date. The default value is the project`s start date.