8 #include <system/iequatable.h>
9 #include <system/icomparable.h>
10 #include <system/decimal.h>
11 #include <system/array.h>
14 #include "aspose.tasks.cpp/Duration.h"
15 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
21 class AssignmentBaseline;
22 enum class BaselineType;
24 class EvaluationModeDatesResetter;
34 class ResourceAssignment;
37 class TimephasedWorkCostSelector;
38 class TimeScaledParentCostUnit;
39 class TimeScaledParentWorkUnit;
54 class ASPOSE_TASKS_SHARED_CLASS
Baseline :
public virtual System::IComparable<System::SharedPtr<Aspose::Tasks::Baseline>>,
public virtual System::IEquatable<System::SharedPtr<Aspose::Tasks::Baseline>>
57 typedef System::IComparable<System::SharedPtr<Aspose::Tasks::Baseline>> BaseType;
58 typedef System::IEquatable<System::SharedPtr<Aspose::Tasks::Baseline>> BaseType1;
60 typedef ::System::BaseTypesInfo<BaseType, BaseType1> ThisTypeBaseTypesInfo;
61 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
67 friend class Aspose::Tasks::Util::BaselineHelper;
68 friend class Aspose::Tasks::EVCalculator;
69 friend class Aspose::Tasks::IO::MSProject::MPPTaskReader;
70 friend class Aspose::Tasks::EvaluationModeDatesResetter;
72 friend class Aspose::Tasks::TimephasedWorkCostSelector;
73 friend ASPOSE_TASKS_SHARED_API
bool operator ==(
const System::SharedPtr<Baseline>& a,
const System::SharedPtr<Baseline>& b);
74 friend ASPOSE_TASKS_SHARED_API
bool operator !=(
const System::SharedPtr<Baseline>& a,
const System::SharedPtr<Baseline>& b);
75 friend ASPOSE_TASKS_SHARED_API
bool operator <(
const System::SharedPtr<Baseline>& a,
const System::SharedPtr<Baseline>& b);
76 friend ASPOSE_TASKS_SHARED_API
bool operator >(
const System::SharedPtr<Baseline>& a,
const System::SharedPtr<Baseline>& b);
77 friend ASPOSE_TASKS_SHARED_API
bool operator >=(
const System::SharedPtr<Baseline>& a,
const System::SharedPtr<Baseline>& b);
78 friend ASPOSE_TASKS_SHARED_API
bool operator <=(
const System::SharedPtr<Baseline>& a,
const System::SharedPtr<Baseline>& b);
85 ASPOSE_TASKS_SHARED_API BaselineType get_BaselineNumber()
const;
89 ASPOSE_TASKS_SHARED_API
void set_BaselineNumber(BaselineType value);
94 ASPOSE_TASKS_SHARED_API
Duration get_Work()
const;
99 ASPOSE_TASKS_SHARED_API
void set_Work(
Duration value);
103 ASPOSE_TASKS_SHARED_API System::Decimal get_Cost()
const;
107 ASPOSE_TASKS_SHARED_API
void set_Cost(System::Decimal value);
111 ASPOSE_TASKS_SHARED_API
double get_Bcws()
const;
115 ASPOSE_TASKS_SHARED_API
void set_Bcws(
double value);
119 ASPOSE_TASKS_SHARED_API
double get_Bcwp()
const;
123 ASPOSE_TASKS_SHARED_API
void set_Bcwp(
double value);
130 ASPOSE_TASKS_SHARED_API
bool Equals(System::SharedPtr<Baseline> other)
override;
136 ASPOSE_TASKS_SHARED_API
bool Equals(System::SharedPtr<System::Object> obj)
override;
141 ASPOSE_TASKS_SHARED_API int32_t GetHashCode()
const override;
148 ASPOSE_TASKS_SHARED_API int32_t CompareTo(System::SharedPtr<Baseline> other)
override;
154 ASPOSE_TASKS_SHARED_API
const System::SharedPtr<TimeScaledParentCostUnit>& get_ScaledCost()
const;
155 ASPOSE_TASKS_SHARED_API
void set_ScaledCost(
const System::SharedPtr<TimeScaledParentCostUnit>& value);
156 ASPOSE_TASKS_SHARED_API
const System::SharedPtr<TimeScaledParentWorkUnit>& get_ScaledWork()
const;
157 ASPOSE_TASKS_SHARED_API
void set_ScaledWork(
const System::SharedPtr<TimeScaledParentWorkUnit>& value);
158 ASPOSE_TASKS_SHARED_API
const System::ArrayPtr<uint8_t>& get_WorkRawTD()
const;
159 ASPOSE_TASKS_SHARED_API
void set_WorkRawTD(
const System::ArrayPtr<uint8_t>& value);
160 ASPOSE_TASKS_SHARED_API
const System::ArrayPtr<uint8_t>& get_CostRawTD()
const;
161 ASPOSE_TASKS_SHARED_API
void set_CostRawTD(
const System::ArrayPtr<uint8_t>& value);
163 ASPOSE_TASKS_SHARED_API
void CalculateTimeScaledData();
165 virtual ASPOSE_TASKS_SHARED_API ~
Baseline();
167 #ifdef ASPOSE_GET_SHARED_MEMBERS
168 ASPOSE_TASKS_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
174 BaselineType pr_BaselineNumber;
176 System::Decimal pr_Cost;
179 System::SharedPtr<TimeScaledParentCostUnit> pr_ScaledCost;
180 System::SharedPtr<TimeScaledParentWorkUnit> pr_ScaledWork;
181 System::ArrayPtr<uint8_t> pr_WorkRawTD;
182 System::ArrayPtr<uint8_t> pr_CostRawTD;
184 System::String get_DebuggerDisplay();
188 ASPOSE_TASKS_SHARED_API
bool operator ==(
const System::SharedPtr<Baseline>& a,
const System::SharedPtr<Baseline>& b);
189 ASPOSE_TASKS_SHARED_API
bool operator !=(
const System::SharedPtr<Baseline>& a,
const System::SharedPtr<Baseline>& b);
190 ASPOSE_TASKS_SHARED_API
bool operator <(
const System::SharedPtr<Baseline>& a,
const System::SharedPtr<Baseline>& b);
191 ASPOSE_TASKS_SHARED_API
bool operator >(
const System::SharedPtr<Baseline>& a,
const System::SharedPtr<Baseline>& b);
192 ASPOSE_TASKS_SHARED_API
bool operator >=(
const System::SharedPtr<Baseline>& a,
const System::SharedPtr<Baseline>& b);
193 ASPOSE_TASKS_SHARED_API
bool operator <=(
const System::SharedPtr<Baseline>& a,
const System::SharedPtr<Baseline>& b);