8 #include <system/timespan.h>
9 #include <system/object.h>
10 #include <system/date_time.h>
13 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
19 namespace Calculations
21 class ResourceAssignmentCalculator;
22 class ResourceAssignmentRateByDateEnumerator;
23 class ResourceAssignmentWorkCalculator;
24 class TimephasedDataCalculator;
25 class TimeScaledCalculator;
27 class CalendarTDMaker;
32 class MPP14ResourceAssignmentWriter;
33 class MPP9ResourceAssignmentReader;
34 class MppTimephasedDataWriter;
38 class TimephasedDataNodeReader;
41 namespace Recalculation
43 class TaskSplitCalculator;
44 class TimephasedDataCalculationUtil;
47 class ResourceAssignment;
48 class ResourceAssignmentTimephasedDataCollection;
49 class SplitsCalculator;
52 class TimephasedDataCollection;
53 class TimephasedDataMaker;
54 enum class TimephasedDataType : int8_t;
55 class TimephasedWorkCostSelector;
56 enum class TimeUnitType : int8_t;
57 namespace Visualization
79 typedef System::Object BaseType;
81 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
82 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
84 friend class Aspose::Tasks::Calculations::TimeScaledCalculator;
85 friend class Aspose::Tasks::Calculations::ResourceAssignmentRateByDateEnumerator;
86 friend class Aspose::Tasks::Calculations::ResourceAssignmentCalculator;
87 friend class Aspose::Tasks::Calculations::ResourceAssignmentWorkCalculator;
88 friend class Aspose::Tasks::Calculations::TimephasedDataCalculator;
92 friend class Aspose::Tasks::Recalculation::TimephasedDataCalculationUtil;
93 friend class Aspose::Tasks::IO::MSProject::MPP9ResourceAssignmentReader;
94 friend class Aspose::Tasks::IO::MSProject::MPP14ResourceAssignmentWriter;
95 friend class Aspose::Tasks::IO::MSProject::MppTimephasedDataWriter;
96 friend class Aspose::Tasks::IO::Xml::TimephasedDataNodeReader;
97 friend class Aspose::Tasks::SplitsCalculator;
98 friend class Aspose::Tasks::Recalculation::TaskSplitCalculator;
99 friend class Aspose::Tasks::ResourceAssignmentTimephasedDataCollection;
101 friend class Aspose::Tasks::CalendarTDMaker;
102 friend class Aspose::Tasks::TimephasedDataMaker;
103 friend class Aspose::Tasks::TimephasedWorkCostSelector;
104 friend class Aspose::Tasks::Visualization::UsageCostCell;
105 friend class Aspose::Tasks::Visualization::UsageWorkCell;
106 friend class Aspose::Tasks::TaskPlanner;
118 ASPOSE_TASKS_SHARED_API int32_t
get_Uid()
const;
122 ASPOSE_TASKS_SHARED_API
void set_Uid(int32_t value);
126 ASPOSE_TASKS_SHARED_API System::DateTime
get_Start()
const;
130 ASPOSE_TASKS_SHARED_API
void set_Start(System::DateTime value);
138 ASPOSE_TASKS_SHARED_API
void set_Finish(System::DateTime value);
142 ASPOSE_TASKS_SHARED_API TimeUnitType
get_Unit()
const;
146 ASPOSE_TASKS_SHARED_API
void set_Unit(TimeUnitType value);
166 ASPOSE_TASKS_SHARED_API
void set_Value(
const System::String& value);
199 static ASPOSE_TASKS_SHARED_API System::SharedPtr<TimephasedData>
CreateWorkTimephased(int32_t uid, System::DateTime start, System::DateTime finish, System::TimeSpan value, TimeUnitType timeUnit, Aspose::Tasks::TimephasedDataType type);
211 static ASPOSE_TASKS_SHARED_API System::SharedPtr<TimephasedData>
CreateCostTimephased(int32_t uid, System::DateTime start, System::DateTime finish,
double value, TimeUnitType timeUnit, Aspose::Tasks::TimephasedDataType type);
222 static ASPOSE_TASKS_SHARED_API System::SharedPtr<TimephasedData>
CreateCostTimephased(int32_t uid, System::DateTime start, System::DateTime finish,
double value, Aspose::Tasks::TimephasedDataType type);
233 static ASPOSE_TASKS_SHARED_API System::SharedPtr<TimephasedData>
CreateUnitTimephased(int32_t uid, System::DateTime start, System::DateTime finish,
double units, Aspose::Tasks::TimephasedDataType type);
241 ASPOSE_TASKS_SHARED_API
void set_ValueToDuration(System::TimeSpan value);
245 ASPOSE_TASKS_SHARED_API
bool get_IsCustom()
const;
249 ASPOSE_TASKS_SHARED_API
void set_IsCustom(
bool value);
250 ASPOSE_TASKS_SHARED_API
const System::SharedPtr<TimephasedDataCollection>& get_Parent()
const;
251 ASPOSE_TASKS_SHARED_API
void set_Parent(
const System::SharedPtr<TimephasedDataCollection>& value);
252 ASPOSE_TASKS_SHARED_API
bool get_IsEmptyValue();
254 ASPOSE_TASKS_SHARED_API
TimephasedData(int32_t uid, Aspose::Tasks::TimephasedDataType type,
const System::SharedPtr<TimephasedData>& originalTd);
256 ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(
TimephasedData, CODEPORTING_ARGS(int32_t uid, Aspose::Tasks::TimephasedDataType type,
const System::SharedPtr<TimephasedData>& originalTd));
267 ASPOSE_TASKS_SHARED_API
TimephasedData(int32_t uid, System::DateTime start, System::DateTime finish, System::TimeSpan value, TimeUnitType timeUnit, Aspose::Tasks::TimephasedDataType type);
269 ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(
TimephasedData, CODEPORTING_ARGS(int32_t uid, System::DateTime start, System::DateTime finish, System::TimeSpan value, TimeUnitType timeUnit, Aspose::Tasks::TimephasedDataType type));
280 ASPOSE_TASKS_SHARED_API
TimephasedData(int32_t uid, System::DateTime start, System::DateTime finish,
double value, TimeUnitType timeUnit, Aspose::Tasks::TimephasedDataType type);
282 ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(
TimephasedData, CODEPORTING_ARGS(int32_t uid, System::DateTime start, System::DateTime finish,
double value, TimeUnitType timeUnit, Aspose::Tasks::TimephasedDataType type));
283 static ASPOSE_TASKS_SHARED_API System::SharedPtr<TimephasedData> ChangeType(
const System::SharedPtr<TimephasedData>& timephasedDataItem, Aspose::Tasks::TimephasedDataType type);
284 static ASPOSE_TASKS_SHARED_API System::SharedPtr<TimephasedData> ChangeValue(
const System::SharedPtr<TimephasedData>& timephasedDataItem, System::TimeSpan newValue);
285 #ifdef ASPOSE_GET_SHARED_MEMBERS
286 ASPOSE_TASKS_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
292 Aspose::Tasks::TimephasedDataType timephasedDataType;
293 System::TimeSpan durationValue;
294 System::DateTime start;
295 System::DateTime finish;
297 TimeUnitType pr_Unit;
299 System::WeakPtr<TimephasedDataCollection> pr_Parent;
301 System::String get_DebuggerDisplay();
Represents a resource assignment in a project.
Definition: ResourceAssignment.h:219
Represents a resource in a project.
Definition: Resource.h:206
Represents a task in a project.
Definition: Task.h:383
Represents a collection of TimephasedData objects.
Definition: TimephasedDataCollection.h:86
Represents a time phased data.
Definition: TimephasedData.h:77
System::DateTime get_Finish() const
Gets the finish date of a time phased data period.
void set_Finish(System::DateTime value)
Sets the finish date of a time phased data period.
TimephasedData()
Initializes a new instance of the Aspose::Tasks::TimephasedData class.
double get_ValueToUnits()
Gets double instance which represents string value of this object for unit-based time phased data.
void set_Start(System::DateTime value)
Sets the start date of a time phased data period.
void set_TimephasedDataType(Aspose::Tasks::TimephasedDataType value)
Sets the type of a time phased data.
static System::SharedPtr< TimephasedData > CreateCostTimephased(int32_t uid, System::DateTime start, System::DateTime finish, double value, Aspose::Tasks::TimephasedDataType type)
Creates and initializes a new instance of the Aspose::Tasks::TimephasedData class for cost-based time...
void set_Uid(int32_t value)
Sets the unique identifier of a time phased data
System::String get_Value()
Gets the value per unit of time for a time phased data period.
int32_t get_Uid() const
Gets the unique identifier of a time phased data
Aspose::Tasks::TimephasedDataType get_TimephasedDataType() const
Gets the type of a time phased data.
static System::SharedPtr< TimephasedData > CreateUnitTimephased(int32_t uid, System::DateTime start, System::DateTime finish, double units, Aspose::Tasks::TimephasedDataType type)
Creates and initializes a new instance of the Aspose::Tasks::TimephasedData class for unit-based time...
System::DateTime get_Start() const
Gets the start date of a time phased data period.
TimeUnitType get_Unit() const
Gets the time unit of a time phased data period.
void set_ValueToCost(double value)
Gets double instance which represents string value of this object.
System::TimeSpan get_ValueToDuration() const
Gets TimeSpan instance which represents string value of this object.
void set_Unit(TimeUnitType value)
Sets the time unit of a time phased data period.
static System::SharedPtr< TimephasedData > CreateWorkTimephased(int32_t uid, System::DateTime start, System::DateTime finish, System::TimeSpan value, TimeUnitType timeUnit, Aspose::Tasks::TimephasedDataType type)
Creates and initializes a new instance of the Aspose::Tasks::TimephasedData class for work-based time...
void set_Value(const System::String &value)
Sets the value per unit of time for a time phased data period.
static System::SharedPtr< TimephasedData > CreateCostTimephased(int32_t uid, System::DateTime start, System::DateTime finish, double value, TimeUnitType timeUnit, Aspose::Tasks::TimephasedDataType type)
Creates and initializes a new instance of the Aspose::Tasks::TimephasedData class for cost-based time...
double get_ValueToCost()
Gets double instance which represents string value of this object.