Aspose.Tasks for C++
Aspose::Tasks::AssignmentBaseline Class Reference

Represents Baseline of a resource assignment. More...

#include <AssignmentBaseline.h>

Inherits Aspose::Tasks::Baseline, System::IEquatable< System::SharedPtr< Aspose::Tasks::AssignmentBaseline > >, and System::IComparable< System::SharedPtr< Aspose::Tasks::AssignmentBaseline > >.

Public Member Functions

System::SharedPtr< TimephasedDataCollectionget_TimephasedData ()
 Gets the TimephasedDataCollection instance for this object. The time phased data associated with the resource assignment baseline.
Returns
returns TimephasedDataCollection instance for this object.
The collection of Time phased data associated with this baseline. More...
 
void set_TimephasedData (const System::SharedPtr< TimephasedDataCollection > &value)
 Sets the TimephasedDataCollection instance for this object. The time phased data associated with the resource assignment baseline.
Parameters
valuereturns TimephasedDataCollection instance for this object.
The collection of Time phased data associated with this baseline. More...
 
System::Nullable< System::DateTime > get_Start () const
 Gets the scheduled start date of the resource assignment when the baseline was saved. The start date of the resource assignment when this baseline was saved. More...
 
void set_Start (System::Nullable< System::DateTime > value)
 Sets the scheduled start date of the resource assignment when the baseline was saved. The start date of the resource assignment when this baseline was saved. More...
 
System::Nullable< System::DateTime > get_Finish () const
 Gets the scheduled finish date of the resource assignment when the baseline was saved. The finish date of the resource assignment when this baseline was saved. More...
 
void set_Finish (System::Nullable< System::DateTime > value)
 Sets the scheduled finish date of the resource assignment when the baseline was saved. The finish date of the resource assignment when this baseline was saved. More...
 
int32_t CompareTo (System::SharedPtr< AssignmentBaseline > other) override
 IComparable interface implementation. Compares this instance to the specified Baseline object. More...
 
bool Equals (System::SharedPtr< System::Object > obj) override
 Returns a value indicating whether this instance is equal to a specified object. More...
 
bool Equals (System::SharedPtr< AssignmentBaseline > other) override
 Returns a value indicating whether this instance is equal to the specified AssignmentBaseline object. More...
 
int32_t GetHashCode () const override
 
- Public Member Functions inherited from Aspose::Tasks::Baseline
BaselineType get_BaselineNumber () const
 Gets the unique number of a baseline data record. More...
 
void set_BaselineNumber (BaselineType value)
 Sets the unique number of a baseline data record. More...
 
Duration get_Work () const
 Gets the work assigned to a resource when the baseline is saved. The amount of assigned work to a resource when the baseline was saved. More...
 
void set_Work (Duration value)
 Sets the work assigned to a resource when the baseline is saved. The amount of assigned work to a resource when the baseline was saved. More...
 
System::Decimal get_Cost () const
 Gets the projected cost of a resource when the baseline is saved. More...
 
void set_Cost (System::Decimal value)
 Sets the projected cost of a resource when the baseline is saved. More...
 
double get_Bcws () const
 Gets the budget cost of a work scheduled for a resource. More...
 
void set_Bcws (double value)
 Sets the budget cost of a work scheduled for a resource. More...
 
double get_Bcwp () const
 Gets the budgeted cost of a work performed by a resource for a project to-date. More...
 
void set_Bcwp (double value)
 Sets the budgeted cost of a work performed by a resource for a project to-date. More...
 
bool Equals (System::SharedPtr< Baseline > other) override
 Returns a value indicating whether this instance is equal to a specified object. More...
 
bool Equals (System::SharedPtr< System::Object > obj) override
 Returns a value indicating whether this instance is equal to a specified object. More...
 
int32_t GetHashCode () const override
 Returns a hash code value for the baseline. More...
 
int32_t CompareTo (System::SharedPtr< Baseline > other) override
 IComparable interface implementation. Compares this instance to the specified Baseline object. More...
 

Detailed Description

Represents Baseline of a resource assignment.

Member Function Documentation

◆ CompareTo()

int32_t Aspose::Tasks::AssignmentBaseline::CompareTo ( System::SharedPtr< AssignmentBaseline other)
override

IComparable interface implementation. Compares this instance to the specified Baseline object.

Parameters
otherthe specified Baseline object to compare this instance to.
Returns
returns -1 if this instance is less than the specified object, 1 if this instance is greater than the specified object; otherwise returns 0

◆ Equals() [1/2]

bool Aspose::Tasks::AssignmentBaseline::Equals ( System::SharedPtr< AssignmentBaseline other)
override

Returns a value indicating whether this instance is equal to the specified AssignmentBaseline object.

Parameters
otherthe specified AssignmentBaseline object to compare with this instance.
Returns
returns true if this instance is equal to the specified AssignmentBaseline object; otherwise, false.

◆ Equals() [2/2]

bool Aspose::Tasks::AssignmentBaseline::Equals ( System::SharedPtr< System::Object >  obj)
override

Returns a value indicating whether this instance is equal to a specified object.

Parameters
objthe specified object to compare with this instance.
Returns
returns true if this instance is equal to the specified object; otherwise, false.

◆ get_Finish()

System::Nullable<System::DateTime> Aspose::Tasks::AssignmentBaseline::get_Finish ( ) const

Gets the scheduled finish date of the resource assignment when the baseline was saved. The finish date of the resource assignment when this baseline was saved.

◆ get_Start()

System::Nullable<System::DateTime> Aspose::Tasks::AssignmentBaseline::get_Start ( ) const

Gets the scheduled start date of the resource assignment when the baseline was saved. The start date of the resource assignment when this baseline was saved.

◆ get_TimephasedData()

System::SharedPtr<TimephasedDataCollection> Aspose::Tasks::AssignmentBaseline::get_TimephasedData ( )

Gets the TimephasedDataCollection instance for this object. The time phased data associated with the resource assignment baseline.

Returns
returns TimephasedDataCollection instance for this object.
The collection of Time phased data associated with this baseline.

◆ set_Finish()

void Aspose::Tasks::AssignmentBaseline::set_Finish ( System::Nullable< System::DateTime >  value)

Sets the scheduled finish date of the resource assignment when the baseline was saved. The finish date of the resource assignment when this baseline was saved.

◆ set_Start()

void Aspose::Tasks::AssignmentBaseline::set_Start ( System::Nullable< System::DateTime >  value)

Sets the scheduled start date of the resource assignment when the baseline was saved. The start date of the resource assignment when this baseline was saved.

◆ set_TimephasedData()

void Aspose::Tasks::AssignmentBaseline::set_TimephasedData ( const System::SharedPtr< TimephasedDataCollection > &  value)

Sets the TimephasedDataCollection instance for this object. The time phased data associated with the resource assignment baseline.

Parameters
valuereturns TimephasedDataCollection instance for this object.
The collection of Time phased data associated with this baseline.