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

Represents baseline values of a resource. More...

#include <Baseline.h>

Inherits IComparable< System::SharedPtr< Aspose::Tasks::Baseline > >, and 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

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
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.
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.
BaselineType Aspose::Tasks::Baseline::get_BaselineNumber ( ) const

Gets the unique number of a baseline data record.

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

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

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

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

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

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

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.

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.
void Aspose::Tasks::Baseline::set_BaselineNumber ( BaselineType  value)

Sets the unique number of a baseline data record.

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

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

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

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

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

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

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.