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;
30 class MPPResourceWriter;
36 class TimeScaledParentCostUnit;
37 class TimeScaledParentWorkUnit;
52 class ASPOSE_TASKS_SHARED_CLASS
Baseline :
public virtual System::IComparable<System::SharedPtr<Aspose::Tasks::Baseline>>,
public virtual System::IEquatable<System::SharedPtr<Aspose::Tasks::Baseline>>
55 typedef System::IComparable<System::SharedPtr<Aspose::Tasks::Baseline>> BaseType;
56 typedef System::IEquatable<System::SharedPtr<Aspose::Tasks::Baseline>> BaseType1;
58 typedef ::System::BaseTypesInfo<BaseType, BaseType1> ThisTypeBaseTypesInfo;
59 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
63 friend class Aspose::Tasks::Util::BaselineHelper;
64 friend class Aspose::Tasks::EVCalculator;
65 friend class Aspose::Tasks::IO::MSProject::MPPTaskReader;
66 friend class Aspose::Tasks::IO::MSProject::MPPResourceWriter;
67 friend class Aspose::Tasks::EvaluationModeDatesResetter;
69 friend ASPOSE_TASKS_SHARED_API
bool operator ==(
const System::SharedPtr<Baseline>& a,
const System::SharedPtr<Baseline>& b);
70 friend ASPOSE_TASKS_SHARED_API
bool operator !=(
const System::SharedPtr<Baseline>& a,
const System::SharedPtr<Baseline>& b);
71 friend ASPOSE_TASKS_SHARED_API
bool operator <(const System::SharedPtr<Baseline>& a,
const System::SharedPtr<Baseline>& b);
72 friend ASPOSE_TASKS_SHARED_API
bool operator >(
const System::SharedPtr<Baseline>& a,
const System::SharedPtr<Baseline>& b);
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);
99 ASPOSE_TASKS_SHARED_API System::Decimal
get_Cost()
const;
103 ASPOSE_TASKS_SHARED_API
void set_Cost(System::Decimal value);
107 ASPOSE_TASKS_SHARED_API
double get_Bcws()
const;
111 ASPOSE_TASKS_SHARED_API
void set_Bcws(
double value);
115 ASPOSE_TASKS_SHARED_API
double get_Bcwp()
const;
119 ASPOSE_TASKS_SHARED_API
void set_Bcwp(
double value);
126 ASPOSE_TASKS_SHARED_API
bool Equals(System::SharedPtr<Baseline> other)
override;
132 ASPOSE_TASKS_SHARED_API
bool Equals(System::SharedPtr<System::Object> obj)
override;
137 ASPOSE_TASKS_SHARED_API int32_t
GetHashCode()
const override;
144 ASPOSE_TASKS_SHARED_API int32_t
CompareTo(System::SharedPtr<Baseline> other)
override;
150 ASPOSE_TASKS_SHARED_API
const System::SharedPtr<TimeScaledParentCostUnit>& get_ScaledCost()
const;
151 ASPOSE_TASKS_SHARED_API
void set_ScaledCost(
const System::SharedPtr<TimeScaledParentCostUnit>& value);
152 ASPOSE_TASKS_SHARED_API
const System::SharedPtr<TimeScaledParentWorkUnit>& get_ScaledWork()
const;
153 ASPOSE_TASKS_SHARED_API
void set_ScaledWork(
const System::SharedPtr<TimeScaledParentWorkUnit>& value);
154 ASPOSE_TASKS_SHARED_API
const System::ArrayPtr<uint8_t>& get_WorkRawTD()
const;
155 ASPOSE_TASKS_SHARED_API
void set_WorkRawTD(
const System::ArrayPtr<uint8_t>& value);
156 ASPOSE_TASKS_SHARED_API
const System::ArrayPtr<uint8_t>& get_CostRawTD()
const;
157 ASPOSE_TASKS_SHARED_API
void set_CostRawTD(
const System::ArrayPtr<uint8_t>& value);
159 ASPOSE_TASKS_SHARED_API
void CalculateTimeScaledData();
161 virtual ASPOSE_TASKS_SHARED_API ~Baseline();
163 #ifdef ASPOSE_GET_SHARED_MEMBERS
164 ASPOSE_TASKS_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
170 BaselineType pr_BaselineNumber;
172 System::Decimal pr_Cost;
175 System::SharedPtr<TimeScaledParentCostUnit> pr_ScaledCost;
176 System::SharedPtr<TimeScaledParentWorkUnit> pr_ScaledWork;
177 System::ArrayPtr<uint8_t> pr_WorkRawTD;
178 System::ArrayPtr<uint8_t> pr_CostRawTD;
180 System::String get_DebuggerDisplay();
184 ASPOSE_TASKS_SHARED_API
bool operator ==(
const System::SharedPtr<Baseline>& a,
const System::SharedPtr<Baseline>& b);
185 ASPOSE_TASKS_SHARED_API
bool operator !=(
const System::SharedPtr<Baseline>& a,
const System::SharedPtr<Baseline>& b);
186 ASPOSE_TASKS_SHARED_API
bool operator <(const System::SharedPtr<Baseline>& a,
const System::SharedPtr<Baseline>& b);
187 ASPOSE_TASKS_SHARED_API
bool operator >(
const System::SharedPtr<Baseline>& a,
const System::SharedPtr<Baseline>& b);
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);
int32_t GetHashCode() const override
Returns a hash code value for the instance of the TaskBaseline class.
Represents Baseline of a Task.
Definition: TaskBaseline.h:52
void set_BaselineNumber(BaselineType value)
Sets the unique number of a baseline data record.
Represents Baseline of a resource assignment.
Definition: AssignmentBaseline.h:83
double get_Bcws() const
Gets the budget cost of a work scheduled for a resource.
void set_Bcws(double value)
Sets the budget cost of a work scheduled for a resource.
void set_Bcwp(double value)
Sets the budgeted cost of a work performed by a resource for a project to-date.
Represents duration in a project.
Definition: Duration.h:162
int32_t CompareTo(System::SharedPtr< TaskBaseline > other) override
IComparable interface implementation. Compares this instance to the specified Baseline object...
void set_Cost(System::Decimal value)
Sets the projected cost of a resource when the baseline is saved.
System::Decimal get_Cost() const
Gets the projected cost of a resource when the baseline is saved.
void set_Work(Duration value)
Sets the work assigned to a resource when the baseline is saved. The amount of assigned work to a res...
Represents baseline values of a resource.
Definition: Baseline.h:52
Duration get_Work() const
Gets the work assigned to a resource when the baseline is saved. The amount of assigned work to a res...
BaselineType get_BaselineNumber() const
Gets the unique number of a baseline data record.
bool Equals(System::SharedPtr< TaskBaseline > other) override
Returns a value indicating whether this instance is equal to the specified TaskBaseline object...
double get_Bcwp() const
Gets the budgeted cost of a work performed by a resource for a project to-date.
Represents a resource in a project.
Definition: Resource.h:206