Aspose.Tasks for C++
Aspose::Tasks::TaskBaseline Class Referencefinal

Represents Baseline of a Task. More...

#include <TaskBaseline.h>

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

Public Member Functions

System::SharedPtr< TimephasedDataCollectionget_TimephasedData ()
 Gets a TimephasedDataCollection instance for this object. The time phased data associated with the task baseline. More...
 
void set_TimephasedData (const System::SharedPtr< TimephasedDataCollection > &value)
 Sets a TimephasedDataCollection instance for this object. The time phased data associated with the task baseline. More...
 
bool get_Interim ()
 Gets a value indicating whether this is an Interim Baseline. More...
 
void set_Interim (bool value)
 Sets a value indicating whether this is an Interim Baseline. More...
 
System::DateTime get_Start () const
 Gets the scheduled start date of the task when the baseline was saved. More...
 
void set_Start (System::DateTime value)
 Sets the scheduled start date of the task when the baseline was saved. More...
 
System::DateTime get_Finish () const
 Gets the scheduled finish date of the task when the baseline was saved. More...
 
void set_Finish (System::DateTime value)
 Sets the scheduled finish date of the task when the baseline was saved. More...
 
Aspose::Tasks::Duration get_Duration () const
 Gets the scheduled duration of the task when the baseline was saved. More...
 
void set_Duration (Aspose::Tasks::Duration value)
 Sets the scheduled duration of the task when the baseline was saved. More...
 
bool get_EstimatedDuration ()
 Gets a value indicating whether the baseline duration of the task was estimated. More...
 
void set_EstimatedDuration (bool value)
 Sets a value indicating whether the baseline duration of the task was estimated. More...
 
double get_FixedCost () const
 Gets a fixed cost of the task when the baseline was saved. More...
 
void set_FixedCost (double value)
 Sets a fixed cost of the task when the baseline was saved. More...
 
 TaskBaseline (const System::SharedPtr< Aspose::Tasks::Task > &task)
 Initializes a new instance of the TaskBaseline class. More...
 
int32_t CompareTo (System::SharedPtr< TaskBaseline > other) override
 IComparable interface implementation. Compares this instance to the specified Baseline object. More...
 
bool Equals (System::SharedPtr< TaskBaseline > other) override
 Returns a value indicating whether this instance is equal to the specified TaskBaseline 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 instance of the TaskBaseline class. More...
 
- 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 Task.

Constructor & Destructor Documentation

◆ TaskBaseline()

Aspose::Tasks::TaskBaseline::TaskBaseline ( const System::SharedPtr< Aspose::Tasks::Task > &  task)

Initializes a new instance of the TaskBaseline class.

Parameters
taskBaseline's parent task.

Member Function Documentation

◆ CompareTo()

int32_t Aspose::Tasks::TaskBaseline::CompareTo ( System::SharedPtr< TaskBaseline 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::TaskBaseline::Equals ( System::SharedPtr< System::Object >  obj)
override

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

Parameters
objThe object to compare with this instance.
Returns
True if the specified object is a TaskBaseline that has the same UID value as this instance; otherwise, false.

◆ Equals() [2/2]

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

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

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

◆ get_Duration()

Aspose::Tasks::Duration Aspose::Tasks::TaskBaseline::get_Duration ( ) const

Gets the scheduled duration of the task when the baseline was saved.

◆ get_EstimatedDuration()

bool Aspose::Tasks::TaskBaseline::get_EstimatedDuration ( )

Gets a value indicating whether the baseline duration of the task was estimated.

◆ get_Finish()

System::DateTime Aspose::Tasks::TaskBaseline::get_Finish ( ) const

Gets the scheduled finish date of the task when the baseline was saved.

◆ get_FixedCost()

double Aspose::Tasks::TaskBaseline::get_FixedCost ( ) const

Gets a fixed cost of the task when the baseline was saved.

◆ get_Interim()

bool Aspose::Tasks::TaskBaseline::get_Interim ( )

Gets a value indicating whether this is an Interim Baseline.

◆ get_Start()

System::DateTime Aspose::Tasks::TaskBaseline::get_Start ( ) const

Gets the scheduled start date of the task when the baseline was saved.

◆ get_TimephasedData()

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

Gets a TimephasedDataCollection instance for this object. The time phased data associated with the task baseline.

◆ GetHashCode()

int32_t Aspose::Tasks::TaskBaseline::GetHashCode ( ) const
override

Returns a hash code value for the instance of the TaskBaseline class.

Returns
returns a hash code value for this object.

◆ set_Duration()

void Aspose::Tasks::TaskBaseline::set_Duration ( Aspose::Tasks::Duration  value)

Sets the scheduled duration of the task when the baseline was saved.

◆ set_EstimatedDuration()

void Aspose::Tasks::TaskBaseline::set_EstimatedDuration ( bool  value)

Sets a value indicating whether the baseline duration of the task was estimated.

◆ set_Finish()

void Aspose::Tasks::TaskBaseline::set_Finish ( System::DateTime  value)

Sets the scheduled finish date of the task when the baseline was saved.

◆ set_FixedCost()

void Aspose::Tasks::TaskBaseline::set_FixedCost ( double  value)

Sets a fixed cost of the task when the baseline was saved.

◆ set_Interim()

void Aspose::Tasks::TaskBaseline::set_Interim ( bool  value)

Sets a value indicating whether this is an Interim Baseline.

◆ set_Start()

void Aspose::Tasks::TaskBaseline::set_Start ( System::DateTime  value)

Sets the scheduled start date of the task when the baseline was saved.

◆ set_TimephasedData()

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

Sets a TimephasedDataCollection instance for this object. The time phased data associated with the task baseline.