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 class BaselineTimephasedDataMaker;
20 namespace Calculations
22 class ResourceAssignmentCalculator;
23 class ResourceAssignmentRateByDateEnumerator;
24 class ResourceAssignmentWorkCalculator;
25 class TimephasedDataCalculator;
26 class TimephasedIterator;
27 class TimeScaledCalculator;
33 class MPP14ResourceAssignmentWriter;
34 class MPP9ResourceAssignmentReader;
35 class MppTimephasedDataWriter;
39 class TimephasedDataNodeReader;
42 namespace Recalculation
44 class TaskSplitCalculator;
47 class ResourceAssignment;
48 class ResourceAssignmentTimephasedDataCollection;
49 class SplitsCalculator;
52 class TimephasedDataCalculationUtil;
53 class TimephasedDataCollection;
54 class TimephasedDataMaker;
55 enum class TimephasedDataType : int8_t;
56 class TimephasedWorkCostSelector;
57 enum class TimeUnitType : int8_t;
58 namespace Visualization
80 typedef System::Object BaseType;
82 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
83 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
85 friend class Aspose::Tasks::Calculations::TimephasedIterator;
86 friend class Aspose::Tasks::Calculations::TimeScaledCalculator;
87 friend class Aspose::Tasks::Calculations::ResourceAssignmentRateByDateEnumerator;
88 friend class Aspose::Tasks::Calculations::ResourceAssignmentCalculator;
89 friend class Aspose::Tasks::Calculations::ResourceAssignmentWorkCalculator;
90 friend class Aspose::Tasks::Calculations::TimephasedDataCalculator;
94 friend class Aspose::Tasks::BaselineTimephasedDataMaker;
95 friend class Aspose::Tasks::TimephasedDataCalculationUtil;
96 friend class Aspose::Tasks::IO::MSProject::MPP9ResourceAssignmentReader;
97 friend class Aspose::Tasks::IO::MSProject::MPP14ResourceAssignmentWriter;
98 friend class Aspose::Tasks::IO::MSProject::MppTimephasedDataWriter;
99 friend class Aspose::Tasks::IO::Xml::TimephasedDataNodeReader;
100 friend class Aspose::Tasks::SplitsCalculator;
101 friend class Aspose::Tasks::Recalculation::TaskSplitCalculator;
102 friend class Aspose::Tasks::ResourceAssignmentTimephasedDataCollection;
104 friend class Aspose::Tasks::TimephasedDataMaker;
105 friend class Aspose::Tasks::TimephasedWorkCostSelector;
106 friend class Aspose::Tasks::Visualization::UsageCostCell;
107 friend class Aspose::Tasks::Visualization::UsageWorkCell;
108 friend class Aspose::Tasks::TaskPlanner;
116 ASPOSE_TASKS_SHARED_API
double get_ValueToUnits();
120 ASPOSE_TASKS_SHARED_API int32_t get_Uid()
const;
124 ASPOSE_TASKS_SHARED_API
void set_Uid(int32_t value);
128 ASPOSE_TASKS_SHARED_API System::DateTime get_Start()
const;
132 ASPOSE_TASKS_SHARED_API
void set_Start(System::DateTime value);
136 ASPOSE_TASKS_SHARED_API System::DateTime get_Finish()
const;
140 ASPOSE_TASKS_SHARED_API
void set_Finish(System::DateTime value);
144 ASPOSE_TASKS_SHARED_API TimeUnitType get_Unit()
const;
148 ASPOSE_TASKS_SHARED_API
void set_Unit(TimeUnitType value);
153 ASPOSE_TASKS_SHARED_API Aspose::Tasks::TimephasedDataType get_TimephasedDataType()
const;
158 ASPOSE_TASKS_SHARED_API
void set_TimephasedDataType(Aspose::Tasks::TimephasedDataType value);
163 ASPOSE_TASKS_SHARED_API System::String get_Value();
168 ASPOSE_TASKS_SHARED_API
void set_Value(
const System::String& value);
173 ASPOSE_TASKS_SHARED_API System::TimeSpan get_ValueToDuration()
const;
178 ASPOSE_TASKS_SHARED_API
double get_ValueToCost();
183 ASPOSE_TASKS_SHARED_API
void set_ValueToCost(
double value);
201 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);
213 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);
224 static ASPOSE_TASKS_SHARED_API System::SharedPtr<TimephasedData> CreateCostTimephased(int32_t uid, System::DateTime start, System::DateTime finish,
double value, Aspose::Tasks::TimephasedDataType type);
235 static ASPOSE_TASKS_SHARED_API System::SharedPtr<TimephasedData> CreateUnitTimephased(int32_t uid, System::DateTime start, System::DateTime finish,
double units, Aspose::Tasks::TimephasedDataType type);
243 ASPOSE_TASKS_SHARED_API
void set_ValueToDuration(System::TimeSpan value);
247 ASPOSE_TASKS_SHARED_API
bool get_IsCustom()
const;
251 ASPOSE_TASKS_SHARED_API
void set_IsCustom(
bool value);
252 ASPOSE_TASKS_SHARED_API
const System::SharedPtr<TimephasedDataCollection>& get_Parent()
const;
253 ASPOSE_TASKS_SHARED_API
void set_Parent(
const System::SharedPtr<TimephasedDataCollection>& value);
254 ASPOSE_TASKS_SHARED_API
bool get_IsEmptyValue();
256 ASPOSE_TASKS_SHARED_API TimephasedData(int32_t uid, Aspose::Tasks::TimephasedDataType type,
const System::SharedPtr<TimephasedData>& originalTd);
258 ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(TimephasedData, CODEPORTING_ARGS(int32_t uid, Aspose::Tasks::TimephasedDataType type,
const System::SharedPtr<TimephasedData>& originalTd));
269 ASPOSE_TASKS_SHARED_API TimephasedData(int32_t uid, System::DateTime start, System::DateTime finish, System::TimeSpan value, TimeUnitType timeUnit, Aspose::Tasks::TimephasedDataType type);
271 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));
282 ASPOSE_TASKS_SHARED_API TimephasedData(int32_t uid, System::DateTime start, System::DateTime finish,
double value, TimeUnitType timeUnit, Aspose::Tasks::TimephasedDataType type);
284 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));
285 static ASPOSE_TASKS_SHARED_API System::SharedPtr<TimephasedData> ChangeType(
const System::SharedPtr<TimephasedData>& timephasedDataItem, Aspose::Tasks::TimephasedDataType type);
286 static ASPOSE_TASKS_SHARED_API System::SharedPtr<TimephasedData> ChangeValue(
const System::SharedPtr<TimephasedData>& timephasedDataItem, System::TimeSpan newValue);
287 #ifdef ASPOSE_GET_SHARED_MEMBERS
288 ASPOSE_TASKS_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
294 Aspose::Tasks::TimephasedDataType timephasedDataType;
295 System::TimeSpan durationValue;
296 System::DateTime start;
297 System::DateTime finish;
299 TimeUnitType pr_Unit;
301 System::WeakPtr<TimephasedDataCollection> pr_Parent;
303 System::String get_DebuggerDisplay();
Represents a collection of TimephasedData objects.
Definition: TimephasedDataCollection.h:90
Represents a task in a project.
Definition: Task.h:383
Represents a time phased data.
Definition: TimephasedData.h:77
Represents a resource assignment in a project.
Definition: ResourceAssignment.h:221
Represents a resource in a project.
Definition: Resource.h:206