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

Represents baseline values of a resource. More...

#include <Baseline.h>

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

Inherited by Aspose::Tasks::AssignmentBaseline, and Aspose::Tasks::TaskBaseline.

Public Member Functions

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 values of a resource.

Member Function Documentation

◆ CompareTo()

int32_t Aspose::Tasks::Baseline::CompareTo ( System::SharedPtr< Baseline 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::Baseline::Equals ( System::SharedPtr< Baseline other)
override

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

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

◆ Equals() [2/2]

bool Aspose::Tasks::Baseline::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_BaselineNumber()

BaselineType Aspose::Tasks::Baseline::get_BaselineNumber ( ) const

Gets the unique number of a baseline data record.

◆ get_Bcwp()

double Aspose::Tasks::Baseline::get_Bcwp ( ) const

Gets the budgeted cost of a work performed by a resource for a project to-date.

◆ get_Bcws()

double Aspose::Tasks::Baseline::get_Bcws ( ) const

Gets the budget cost of a work scheduled for a resource.

◆ get_Cost()

System::Decimal Aspose::Tasks::Baseline::get_Cost ( ) const

Gets the projected cost of a resource when the baseline is saved.

◆ get_Work()

Duration Aspose::Tasks::Baseline::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.

◆ GetHashCode()

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

Returns a hash code value for the baseline.

Returns
returns a hash code value for this object.

◆ set_BaselineNumber()

void Aspose::Tasks::Baseline::set_BaselineNumber ( BaselineType  value)

Sets the unique number of a baseline data record.

◆ set_Bcwp()

void Aspose::Tasks::Baseline::set_Bcwp ( double  value)

Sets the budgeted cost of a work performed by a resource for a project to-date.

◆ set_Bcws()

void Aspose::Tasks::Baseline::set_Bcws ( double  value)

Sets the budget cost of a work scheduled for a resource.

◆ set_Cost()

void Aspose::Tasks::Baseline::set_Cost ( System::Decimal  value)

Sets the projected cost of a resource when the baseline is saved.

◆ set_Work()

void Aspose::Tasks::Baseline::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.