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

Represents a resource in a project. More...

#include <Resource.h>

Inherits Aspose::Tasks::IContainer< K >, System::IEquatable< System::SharedPtr< Aspose::Tasks::Resource > >, Aspose::Tasks::IExtendedAttributeParent, Aspose::Tasks::IEntityWithNotes, and Aspose::Tasks::IEntityWithHyperlink.

Public Member Functions

const System::SharedPtr< Project > & get_ParentProject () const override
 Gets parent project for this container. More...
 
System::SharedPtr< ExtendedAttributeCollectionget_ExtendedAttributes () override
 Gets the values of an extended attribute. More...
 
const System::SharedPtr< BaselineCollection > & get_Baselines () const
 Gets a BaselineCollection instance for this object. The baseline values for a resource. More...
 
System::SharedPtr< OutlineCodeCollectionget_OutlineCode () const
 Gets an OutlineCodeCollection object. The value of an outline code. More...
 
const System::SharedPtr< AvailabilityPeriodCollection > & get_AvailabilityPeriods () const
 Gets a the instance of the AvailabilityPeriodCollection class. The collection of periods during which a resource is available. More...
 
const System::SharedPtr< RateCollection > & get_Rates () const
 Gets a the instance of the RateCollection class for this object. The collection of periods and rates associated with each one. More...
 
const System::SharedPtr< ResourceAssignmentCollection > & get_Assignments () const
 Gets a collection of resource assignments for this object. More...
 
System::SharedPtr< TimephasedDataCollectionget_TimephasedData ()
 Gets an instance of TimephasedDataCollection class for this object. More...
 
void set_TimephasedData (const System::SharedPtr< TimephasedDataCollection > &value)
 Sets an instance of TimephasedDataCollection class for this object. More...
 
virtual bool get_IsRoot ()
 Gets the flag indicating whether resource is a root resource. Root resource is a special resource which is intended to support internals of MS Project's formats and is not intended to be used directly from the user's code. More...
 
CostAccrualType get_AccrueAt ()
 Gets a value of AccrueAt. More...
 
void set_AccrueAt (CostAccrualType value)
 Sets a value of AccrueAt. More...
 
System::String get_ActiveDirectoryGuid ()
 Gets a value of ActiveDirectoryGuid. More...
 
void set_ActiveDirectoryGuid (const System::String &value)
 Sets a value of ActiveDirectoryGuid. More...
 
System::Decimal get_ActualCost ()
 Gets a value of ActualCost. More...
 
void set_ActualCost (System::Decimal value)
 Sets a value of ActualCost. More...
 
System::Decimal get_ActualOvertimeCost ()
 Gets a value of ActualOvertimeCost. More...
 
void set_ActualOvertimeCost (System::Decimal value)
 Sets a value of ActualOvertimeCost. More...
 
Duration get_ActualOvertimeWork ()
 Gets a value of ActualOvertimeWork. More...
 
void set_ActualOvertimeWork (Duration value)
 Sets a value of ActualOvertimeWork. More...
 
Duration get_ActualOvertimeWorkProtected ()
 Gets a value of ActualOvertimeWorkProtected. More...
 
void set_ActualOvertimeWorkProtected (Duration value)
 Sets a value of ActualOvertimeWorkProtected. More...
 
Duration get_ActualWork ()
 Gets a value of ActualWork. More...
 
void set_ActualWork (Duration value)
 Sets a value of ActualWork. More...
 
Duration get_ActualWorkProtected ()
 Gets a value of ActualWorkProtected. More...
 
void set_ActualWorkProtected (Duration value)
 Sets a value of ActualWorkProtected. More...
 
double get_ACWP ()
 Gets a value of ACWP. More...
 
void set_ACWP (double value)
 Sets a value of ACWP. More...
 
System::String get_AssignmentOwner ()
 Gets a value of AssignmentOwner. More...
 
void set_AssignmentOwner (const System::String &value)
 Sets a value of AssignmentOwner. More...
 
System::String get_AssignmentOwnerGuid ()
 Gets a value of AssignmentOwnerGuid. More...
 
void set_AssignmentOwnerGuid (const System::String &value)
 Sets a value of AssignmentOwnerGuid. More...
 
System::DateTime get_AvailableFrom ()
 Gets a value of AvailableFrom. More...
 
void set_AvailableFrom (System::DateTime value)
 Sets a value of AvailableFrom. More...
 
System::DateTime get_AvailableTo ()
 Gets a value of AvailableTo. More...
 
void set_AvailableTo (System::DateTime value)
 Sets a value of AvailableTo. More...
 
double get_BCWP ()
 Gets a value of BCWP. More...
 
void set_BCWP (double value)
 Sets a value of BCWP. More...
 
double get_BCWS ()
 Gets a value of BCWS. More...
 
void set_BCWS (double value)
 Sets a value of BCWS. More...
 
Aspose::Tasks::BookingType get_BookingType ()
 Gets a value of BookingType. More...
 
void set_BookingType (Aspose::Tasks::BookingType value)
 Sets a value of BookingType. More...
 
System::Decimal get_BudgetCost ()
 Gets a value of BudgetCost. More...
 
void set_BudgetCost (System::Decimal value)
 Sets a value of BudgetCost. More...
 
Duration get_BudgetWork ()
 Gets a value of BudgetWork. More...
 
void set_BudgetWork (Duration value)
 Sets a value of BudgetWork. More...
 
System::SharedPtr< Aspose::Tasks::Calendarget_Calendar ()
 Gets a value of Calendar. More...
 
void set_Calendar (const System::SharedPtr< Aspose::Tasks::Calendar > &value)
 Sets a value of Calendar. More...
 
NullableBool get_CanLevel ()
 Gets a value indicating whether CanLevel is set or not. More...
 
void set_CanLevel (NullableBool value)
 Sets a value indicating whether CanLevel is set or not. More...
 
System::String get_Code ()
 Gets a value of Code. More...
 
void set_Code (const System::String &value)
 Sets a value of Code. More...
 
System::Decimal get_Cost ()
 Gets a value of Cost. More...
 
void set_Cost (System::Decimal value)
 Sets a value of Cost. More...
 
System::String get_CostCenter ()
 Gets a value of CostCenter. More...
 
void set_CostCenter (const System::String &value)
 Sets a value of CostCenter. More...
 
System::Decimal get_CostPerUse ()
 Gets a value of CostPerUse. More...
 
void set_CostPerUse (System::Decimal value)
 Sets a value of CostPerUse. More...
 
double get_CostVariance ()
 Gets a value of CostVariance. More...
 
void set_CostVariance (double value)
 Sets a value of CostVariance. More...
 
System::DateTime get_Created ()
 Gets a value of Created. More...
 
void set_Created (System::DateTime value)
 Sets a value of Created. More...
 
double get_CV ()
 Gets a value of CV. More...
 
void set_CV (double value)
 Sets a value of CV. More...
 
System::String get_EMailAddress ()
 Gets a value of EMailAddress. More...
 
void set_EMailAddress (const System::String &value)
 Sets a value of EMailAddress. More...
 
System::DateTime get_Finish ()
 Gets a value of Finish. More...
 
void set_Finish (System::DateTime value)
 Sets a value of Finish. More...
 
System::String get_Group ()
 Gets a value of Group. More...
 
void set_Group (const System::String &value)
 Sets a value of Group. More...
 
System::String get_Guid ()
 Gets a value of Guid. More...
 
void set_Guid (const System::String &value)
 Sets a value of Guid. More...
 
System::String get_Hyperlink () override
 Gets the title or explanatory text of a hyperlink associated with a resource. More...
 
void set_Hyperlink (System::String value) override
 Sets the title or explanatory text of a hyperlink associated with a resource. More...
 
System::String get_HyperlinkAddress () override
 Gets the address for a hyperlink associated with a resource. More...
 
void set_HyperlinkAddress (System::String value) override
 Sets the address for a hyperlink associated with a resource. More...
 
System::String get_HyperlinkSubAddress () override
 Gets the specific location in a document in a hyperlink associated with a resource. More...
 
void set_HyperlinkSubAddress (System::String value) override
 Sets the specific location in a document in a hyperlink associated with a resource. More...
 
int32_t get_Id ()
 Gets a value of Id. More...
 
void set_Id (int32_t value)
 Sets a value of Id. More...
 
NullableBool get_Inactive ()
 Gets a value indicating whether Inactive is set or not. More...
 
void set_Inactive (NullableBool value)
 Sets a value indicating whether Inactive is set or not. More...
 
System::String get_Initials ()
 Gets a value of Initials. More...
 
void set_Initials (const System::String &value)
 Sets a value of Initials. More...
 
NullableBool get_IsBudget ()
 Gets a value indicating whether IsBudget is set or not. More...
 
void set_IsBudget (NullableBool value)
 Sets a value indicating whether IsBudget is set or not. More...
 
NullableBool get_IsCostResource ()
 Gets a value indicating whether IsCostResource is set or not. More...
 
void set_IsCostResource (NullableBool value)
 Sets a value indicating whether IsCostResource is set or not. More...
 
NullableBool get_IsEnterprise ()
 Gets a value indicating whether IsEnterprise is set or not. More...
 
void set_IsEnterprise (NullableBool value)
 Sets a value indicating whether IsEnterprise is set or not. More...
 
NullableBool get_IsGeneric ()
 Gets a value indicating whether IsGeneric is set or not. More...
 
void set_IsGeneric (NullableBool value)
 Sets a value indicating whether IsGeneric is set or not. More...
 
NullableBool get_IsNull ()
 Gets a value indicating whether IsNull is set or not. More...
 
void set_IsNull (NullableBool value)
 Sets a value indicating whether IsNull is set or not. More...
 
bool get_IsTeamAssignmentPool ()
 Gets a value indicating whether IsTeamAssignmentPool is set or not. More...
 
void set_IsTeamAssignmentPool (bool value)
 Sets a value indicating whether IsTeamAssignmentPool is set or not. More...
 
System::String get_MaterialLabel ()
 Gets a value of MaterialLabel. More...
 
void set_MaterialLabel (const System::String &value)
 Sets a value of MaterialLabel. More...
 
double get_MaxUnits ()
 Gets a value of MaxUnits. More...
 
void set_MaxUnits (double value)
 Sets a value of MaxUnits. More...
 
System::String get_Name ()
 Gets a value of Name. More...
 
void set_Name (const System::String &value)
 Sets a value of Name. More...
 
System::String get_NotesRTF () override
 Gets a value of NotesRTF. More...
 
void set_NotesRTF (System::String value) override
 Sets a value of NotesRTF. More...
 
System::String get_NotesText () override
 Gets a value of NotesText. More...
 
void set_NotesText (System::String value) override
 Sets a value of NotesText. More...
 
NullableBool get_Overallocated ()
 Gets a value indicating whether Overallocated is set or not. More...
 
void set_Overallocated (NullableBool value)
 Sets a value indicating whether Overallocated is set or not. More...
 
System::Decimal get_OvertimeCost ()
 Gets a value of OvertimeCost. More...
 
void set_OvertimeCost (System::Decimal value)
 Sets a value of OvertimeCost. More...
 
System::Decimal get_OvertimeRate ()
 Gets a value of OvertimeRate. More...
 
void set_OvertimeRate (System::Decimal value)
 Sets a value of OvertimeRate. More...
 
RateFormatType get_OvertimeRateFormat ()
 Gets a value of OvertimeRateFormat. More...
 
void set_OvertimeRateFormat (RateFormatType value)
 Sets a value of OvertimeRateFormat. More...
 
Duration get_OvertimeWork ()
 Gets a value of OvertimeWork. More...
 
void set_OvertimeWork (Duration value)
 Sets a value of OvertimeWork. More...
 
double get_PeakUnits ()
 Gets a value of PeakUnits. More...
 
void set_PeakUnits (double value)
 Sets a value of PeakUnits. More...
 
int32_t get_PercentWorkComplete ()
 Gets a value of PercentWorkComplete. More...
 
void set_PercentWorkComplete (int32_t value)
 Sets a value of PercentWorkComplete. More...
 
System::String get_Phonetics ()
 Gets a value of Phonetics. More...
 
void set_Phonetics (const System::String &value)
 Sets a value of Phonetics. More...
 
Duration get_RegularWork ()
 Gets a value of RegularWork. More...
 
void set_RegularWork (Duration value)
 Sets a value of RegularWork. More...
 
System::Decimal get_RemainingCost ()
 Gets a value of RemainingCost. More...
 
void set_RemainingCost (System::Decimal value)
 Sets a value of RemainingCost. More...
 
System::Decimal get_RemainingOvertimeCost ()
 Gets a value of RemainingOvertimeCost. More...
 
void set_RemainingOvertimeCost (System::Decimal value)
 Sets a value of RemainingOvertimeCost. More...
 
Duration get_RemainingOvertimeWork ()
 Gets a value of RemainingOvertimeWork. More...
 
void set_RemainingOvertimeWork (Duration value)
 Sets a value of RemainingOvertimeWork. More...
 
Duration get_RemainingWork ()
 Gets a value of RemainingWork. More...
 
void set_RemainingWork (Duration value)
 Sets a value of RemainingWork. More...
 
System::Decimal get_StandardRate ()
 Gets a value of StandardRate. More...
 
void set_StandardRate (System::Decimal value)
 Sets a value of StandardRate. More...
 
RateFormatType get_StandardRateFormat ()
 Gets a value of StandardRateFormat. More...
 
void set_StandardRateFormat (RateFormatType value)
 Sets a value of StandardRateFormat. More...
 
System::DateTime get_Start ()
 Gets a value of Start. More...
 
void set_Start (System::DateTime value)
 Sets a value of Start. More...
 
double get_SV ()
 Gets a value of SV. More...
 
void set_SV (double value)
 Sets a value of SV. More...
 
ResourceType get_Type ()
 Gets a value of Type. More...
 
void set_Type (ResourceType value)
 Sets a value of Type. More...
 
int32_t get_Uid ()
 Gets a value of Uid. More...
 
void set_Uid (int32_t value)
 Sets a value of Uid. More...
 
System::String get_WindowsUserAccount ()
 Gets a value of WindowsUserAccount. More...
 
void set_WindowsUserAccount (const System::String &value)
 Sets a value of WindowsUserAccount. More...
 
Duration get_Work ()
 Gets a value of Work. More...
 
void set_Work (Duration value)
 Sets a value of Work. More...
 
WorkGroupType get_Workgroup ()
 Gets a value of Workgroup. More...
 
void set_Workgroup (WorkGroupType value)
 Sets a value of Workgroup. More...
 
double get_WorkVariance ()
 Gets a value of WorkVariance. More...
 
void set_WorkVariance (double value)
 Sets a value of WorkVariance. More...
 
bool Equals (System::SharedPtr< Resource > other) override
 Returns a value indicating whether this instance is equal to a specified instance of the Resource class. 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 Resource class. More...
 
System::String ToString () const override
 Returns short string representation of the instance of the Resource class. The exact details of the representation are unspecified and subject to change. More...
 
template<typename T >
Get (const Key< T, RscKey > &key) const
 Returns the value to which the property is mapped in this container. More...
 
template<typename T >
void Set (const Key< T, RscKey > &key, const T &val)
 Maps the specified property to the specified value in this container. More...
 
void Set (const Key< System::DateTime, RscKey > &key, const System::DateTime &val)
 Maps the specified property to the specified value in this container. More...
 
void Delete ()
 Deletes a resource and its assignments from project. More...
 
System::SharedPtr< TimephasedDataCollectionGetTimephasedData (System::DateTime start, System::DateTime end, TimephasedDataType timephasedType)
 Returns an instance of the TimephasedDataCollection class for this object with the TimephasedData values within given start and end dates of specified TimephasedDataType. More...
 
System::SharedPtr< TimephasedDataCollectionGetTimephasedData (System::DateTime start, System::DateTime end)
 Returns TimephasedDataCollection for this object with TimephasedDatavalues within given start and end dates. More...
 

Detailed Description

Represents a resource in a project.

Member Function Documentation

◆ Delete()

void Aspose::Tasks::Resource::Delete ( )

Deletes a resource and its assignments from project.

◆ Equals() [1/2]

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

Returns a value indicating whether this instance is equal to a specified instance of the Resource class.

Parameters
otherThe specified instance of the Resource class to compare with this instance.
Returns
True if the specified instance of the Resource class has the same Uid value as this instance; otherwise, false.

◆ Equals() [2/2]

bool Aspose::Tasks::Resource::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 Resource that has the same Uid value as this instance; otherwise, false.

◆ Get()

template<typename T >
T Aspose::Tasks::Resource::Get ( const Key< T, RscKey > &  key) const
inline

Returns the value to which the property is mapped in this container.

Parameters
keythe specified property key. Rsc for getting the property key.
Template Parameters
Tthe type of the mapped value.
Returns
the value to which the property is mapped in this container.

◆ get_AccrueAt()

CostAccrualType Aspose::Tasks::Resource::get_AccrueAt ( )

Gets a value of AccrueAt.

◆ get_ActiveDirectoryGuid()

System::String Aspose::Tasks::Resource::get_ActiveDirectoryGuid ( )

Gets a value of ActiveDirectoryGuid.

◆ get_ActualCost()

System::Decimal Aspose::Tasks::Resource::get_ActualCost ( )

Gets a value of ActualCost.

◆ get_ActualOvertimeCost()

System::Decimal Aspose::Tasks::Resource::get_ActualOvertimeCost ( )

Gets a value of ActualOvertimeCost.

◆ get_ActualOvertimeWork()

Duration Aspose::Tasks::Resource::get_ActualOvertimeWork ( )

Gets a value of ActualOvertimeWork.

◆ get_ActualOvertimeWorkProtected()

Duration Aspose::Tasks::Resource::get_ActualOvertimeWorkProtected ( )

Gets a value of ActualOvertimeWorkProtected.

◆ get_ActualWork()

Duration Aspose::Tasks::Resource::get_ActualWork ( )

Gets a value of ActualWork.

◆ get_ActualWorkProtected()

Duration Aspose::Tasks::Resource::get_ActualWorkProtected ( )

Gets a value of ActualWorkProtected.

◆ get_ACWP()

double Aspose::Tasks::Resource::get_ACWP ( )

Gets a value of ACWP.

◆ get_AssignmentOwner()

System::String Aspose::Tasks::Resource::get_AssignmentOwner ( )

Gets a value of AssignmentOwner.

◆ get_AssignmentOwnerGuid()

System::String Aspose::Tasks::Resource::get_AssignmentOwnerGuid ( )

Gets a value of AssignmentOwnerGuid.

◆ get_Assignments()

const System::SharedPtr<ResourceAssignmentCollection>& Aspose::Tasks::Resource::get_Assignments ( ) const

Gets a collection of resource assignments for this object.

◆ get_AvailabilityPeriods()

const System::SharedPtr<AvailabilityPeriodCollection>& Aspose::Tasks::Resource::get_AvailabilityPeriods ( ) const

Gets a the instance of the AvailabilityPeriodCollection class. The collection of periods during which a resource is available.

◆ get_AvailableFrom()

System::DateTime Aspose::Tasks::Resource::get_AvailableFrom ( )

Gets a value of AvailableFrom.

◆ get_AvailableTo()

System::DateTime Aspose::Tasks::Resource::get_AvailableTo ( )

Gets a value of AvailableTo.

◆ get_Baselines()

const System::SharedPtr<BaselineCollection>& Aspose::Tasks::Resource::get_Baselines ( ) const

Gets a BaselineCollection instance for this object. The baseline values for a resource.

◆ get_BCWP()

double Aspose::Tasks::Resource::get_BCWP ( )

Gets a value of BCWP.

◆ get_BCWS()

double Aspose::Tasks::Resource::get_BCWS ( )

Gets a value of BCWS.

◆ get_BookingType()

Aspose::Tasks::BookingType Aspose::Tasks::Resource::get_BookingType ( )

Gets a value of BookingType.

◆ get_BudgetCost()

System::Decimal Aspose::Tasks::Resource::get_BudgetCost ( )

Gets a value of BudgetCost.

◆ get_BudgetWork()

Duration Aspose::Tasks::Resource::get_BudgetWork ( )

Gets a value of BudgetWork.

◆ get_Calendar()

System::SharedPtr<Aspose::Tasks::Calendar> Aspose::Tasks::Resource::get_Calendar ( )

Gets a value of Calendar.

◆ get_CanLevel()

NullableBool Aspose::Tasks::Resource::get_CanLevel ( )

Gets a value indicating whether CanLevel is set or not.

◆ get_Code()

System::String Aspose::Tasks::Resource::get_Code ( )

Gets a value of Code.

◆ get_Cost()

System::Decimal Aspose::Tasks::Resource::get_Cost ( )

Gets a value of Cost.

◆ get_CostCenter()

System::String Aspose::Tasks::Resource::get_CostCenter ( )

Gets a value of CostCenter.

◆ get_CostPerUse()

System::Decimal Aspose::Tasks::Resource::get_CostPerUse ( )

Gets a value of CostPerUse.

◆ get_CostVariance()

double Aspose::Tasks::Resource::get_CostVariance ( )

Gets a value of CostVariance.

◆ get_Created()

System::DateTime Aspose::Tasks::Resource::get_Created ( )

Gets a value of Created.

◆ get_CV()

double Aspose::Tasks::Resource::get_CV ( )

Gets a value of CV.

◆ get_EMailAddress()

System::String Aspose::Tasks::Resource::get_EMailAddress ( )

Gets a value of EMailAddress.

◆ get_ExtendedAttributes()

System::SharedPtr<ExtendedAttributeCollection> Aspose::Tasks::Resource::get_ExtendedAttributes ( )
override

Gets the values of an extended attribute.

Two pieces of data are necessary - a pointer back to the extended attribute table which is specified either by the unique ID or the Field ID, and the value which is specified either with the value, or a pointer back to the value list.

◆ get_Finish()

System::DateTime Aspose::Tasks::Resource::get_Finish ( )

Gets a value of Finish.

◆ get_Group()

System::String Aspose::Tasks::Resource::get_Group ( )

Gets a value of Group.

◆ get_Guid()

System::String Aspose::Tasks::Resource::get_Guid ( )

Gets a value of Guid.

◆ get_Hyperlink()

System::String Aspose::Tasks::Resource::get_Hyperlink ( )
override

Gets the title or explanatory text of a hyperlink associated with a resource.

◆ get_HyperlinkAddress()

System::String Aspose::Tasks::Resource::get_HyperlinkAddress ( )
override

Gets the address for a hyperlink associated with a resource.

The full address (Hyperlink Href in Microsoft Project) of the hyperlink is a concatenation of HyperlinkAddress and HyperlinkSubAddress.

◆ get_HyperlinkSubAddress()

System::String Aspose::Tasks::Resource::get_HyperlinkSubAddress ( )
override

Gets the specific location in a document in a hyperlink associated with a resource.

The full address (Hyperlink Href in Microsoft Project) of the hyperlink is a concatenation of HyperlinkAddress and HyperlinkSubAddress.

◆ get_Id()

int32_t Aspose::Tasks::Resource::get_Id ( )

Gets a value of Id.

◆ get_Inactive()

NullableBool Aspose::Tasks::Resource::get_Inactive ( )

Gets a value indicating whether Inactive is set or not.

◆ get_Initials()

System::String Aspose::Tasks::Resource::get_Initials ( )

Gets a value of Initials.

◆ get_IsBudget()

NullableBool Aspose::Tasks::Resource::get_IsBudget ( )

Gets a value indicating whether IsBudget is set or not.

◆ get_IsCostResource()

NullableBool Aspose::Tasks::Resource::get_IsCostResource ( )

Gets a value indicating whether IsCostResource is set or not.

◆ get_IsEnterprise()

NullableBool Aspose::Tasks::Resource::get_IsEnterprise ( )

Gets a value indicating whether IsEnterprise is set or not.

◆ get_IsGeneric()

NullableBool Aspose::Tasks::Resource::get_IsGeneric ( )

Gets a value indicating whether IsGeneric is set or not.

◆ get_IsNull()

NullableBool Aspose::Tasks::Resource::get_IsNull ( )

Gets a value indicating whether IsNull is set or not.

◆ get_IsRoot()

virtual bool Aspose::Tasks::Resource::get_IsRoot ( )
virtual

Gets the flag indicating whether resource is a root resource. Root resource is a special resource which is intended to support internals of MS Project's formats and is not intended to be used directly from the user's code.

◆ get_IsTeamAssignmentPool()

bool Aspose::Tasks::Resource::get_IsTeamAssignmentPool ( )

Gets a value indicating whether IsTeamAssignmentPool is set or not.

◆ get_MaterialLabel()

System::String Aspose::Tasks::Resource::get_MaterialLabel ( )

Gets a value of MaterialLabel.

◆ get_MaxUnits()

double Aspose::Tasks::Resource::get_MaxUnits ( )

Gets a value of MaxUnits.

◆ get_Name()

System::String Aspose::Tasks::Resource::get_Name ( )

Gets a value of Name.

◆ get_NotesRTF()

System::String Aspose::Tasks::Resource::get_NotesRTF ( )
override

Gets a value of NotesRTF.

◆ get_NotesText()

System::String Aspose::Tasks::Resource::get_NotesText ( )
override

Gets a value of NotesText.

◆ get_OutlineCode()

System::SharedPtr<OutlineCodeCollection> Aspose::Tasks::Resource::get_OutlineCode ( ) const

Gets an OutlineCodeCollection object. The value of an outline code.

Two pieces of data are necessary - a pointer to the outline code table that is specified by the FieldID, and the value that is specified either by the ValueID or ValueGUID pointer to the value list.

◆ get_Overallocated()

NullableBool Aspose::Tasks::Resource::get_Overallocated ( )

Gets a value indicating whether Overallocated is set or not.

◆ get_OvertimeCost()

System::Decimal Aspose::Tasks::Resource::get_OvertimeCost ( )

Gets a value of OvertimeCost.

◆ get_OvertimeRate()

System::Decimal Aspose::Tasks::Resource::get_OvertimeRate ( )

Gets a value of OvertimeRate.

◆ get_OvertimeRateFormat()

RateFormatType Aspose::Tasks::Resource::get_OvertimeRateFormat ( )

Gets a value of OvertimeRateFormat.

◆ get_OvertimeWork()

Duration Aspose::Tasks::Resource::get_OvertimeWork ( )

Gets a value of OvertimeWork.

◆ get_ParentProject()

const System::SharedPtr<Project>& Aspose::Tasks::Resource::get_ParentProject ( ) const
override

Gets parent project for this container.

◆ get_PeakUnits()

double Aspose::Tasks::Resource::get_PeakUnits ( )

Gets a value of PeakUnits.

◆ get_PercentWorkComplete()

int32_t Aspose::Tasks::Resource::get_PercentWorkComplete ( )

Gets a value of PercentWorkComplete.

◆ get_Phonetics()

System::String Aspose::Tasks::Resource::get_Phonetics ( )

Gets a value of Phonetics.

◆ get_Rates()

const System::SharedPtr<RateCollection>& Aspose::Tasks::Resource::get_Rates ( ) const

Gets a the instance of the RateCollection class for this object. The collection of periods and rates associated with each one.

◆ get_RegularWork()

Duration Aspose::Tasks::Resource::get_RegularWork ( )

Gets a value of RegularWork.

◆ get_RemainingCost()

System::Decimal Aspose::Tasks::Resource::get_RemainingCost ( )

Gets a value of RemainingCost.

◆ get_RemainingOvertimeCost()

System::Decimal Aspose::Tasks::Resource::get_RemainingOvertimeCost ( )

Gets a value of RemainingOvertimeCost.

◆ get_RemainingOvertimeWork()

Duration Aspose::Tasks::Resource::get_RemainingOvertimeWork ( )

Gets a value of RemainingOvertimeWork.

◆ get_RemainingWork()

Duration Aspose::Tasks::Resource::get_RemainingWork ( )

Gets a value of RemainingWork.

◆ get_StandardRate()

System::Decimal Aspose::Tasks::Resource::get_StandardRate ( )

Gets a value of StandardRate.

◆ get_StandardRateFormat()

RateFormatType Aspose::Tasks::Resource::get_StandardRateFormat ( )

Gets a value of StandardRateFormat.

◆ get_Start()

System::DateTime Aspose::Tasks::Resource::get_Start ( )

Gets a value of Start.

◆ get_SV()

double Aspose::Tasks::Resource::get_SV ( )

Gets a value of SV.

◆ get_TimephasedData()

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

Gets an instance of TimephasedDataCollection class for this object.

Reading supported for XML format only.

◆ get_Type()

ResourceType Aspose::Tasks::Resource::get_Type ( )

Gets a value of Type.

◆ get_Uid()

int32_t Aspose::Tasks::Resource::get_Uid ( )

Gets a value of Uid.

◆ get_WindowsUserAccount()

System::String Aspose::Tasks::Resource::get_WindowsUserAccount ( )

Gets a value of WindowsUserAccount.

◆ get_Work()

Duration Aspose::Tasks::Resource::get_Work ( )

Gets a value of Work.

◆ get_Workgroup()

WorkGroupType Aspose::Tasks::Resource::get_Workgroup ( )

Gets a value of Workgroup.

◆ get_WorkVariance()

double Aspose::Tasks::Resource::get_WorkVariance ( )

Gets a value of WorkVariance.

◆ GetHashCode()

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

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

Returns
returns a hash code value for this object.

◆ GetTimephasedData() [1/2]

System::SharedPtr<TimephasedDataCollection> Aspose::Tasks::Resource::GetTimephasedData ( System::DateTime  start,
System::DateTime  end 
)

Returns TimephasedDataCollection for this object with TimephasedDatavalues within given start and end dates.

Parameters
startThe start date for the time phased data.
endThe end date for the time phased data.
Returns
List of Aspose::Tasks::TimephasedData.

◆ GetTimephasedData() [2/2]

System::SharedPtr<TimephasedDataCollection> Aspose::Tasks::Resource::GetTimephasedData ( System::DateTime  start,
System::DateTime  end,
TimephasedDataType  timephasedType 
)

Returns an instance of the TimephasedDataCollection class for this object with the TimephasedData values within given start and end dates of specified TimephasedDataType.

Parameters
startThe start date for the time phased data.
endThe end date for the time phased data.
timephasedTypeThe type of time phased data (Aspose::Tasks::TimephasedDataType).
Returns
List of TimephasedData.

◆ Set() [1/2]

void Aspose::Tasks::Resource::Set ( const Key< System::DateTime, RscKey > &  key,
const System::DateTime &  val 
)

Maps the specified property to the specified value in this container.

Parameters
keythe specified property key. Rsc for getting the property key.
valthe value.

◆ Set() [2/2]

template<typename T >
void Aspose::Tasks::Resource::Set ( const Key< T, RscKey > &  key,
const T &  val 
)
inline

Maps the specified property to the specified value in this container.

Parameters
keythe specified property key. Rsc for getting the property key.
valthe value.
Template Parameters
Tthe type of the mapped value.

◆ set_AccrueAt()

void Aspose::Tasks::Resource::set_AccrueAt ( CostAccrualType  value)

Sets a value of AccrueAt.

◆ set_ActiveDirectoryGuid()

void Aspose::Tasks::Resource::set_ActiveDirectoryGuid ( const System::String &  value)

Sets a value of ActiveDirectoryGuid.

◆ set_ActualCost()

void Aspose::Tasks::Resource::set_ActualCost ( System::Decimal  value)

Sets a value of ActualCost.

◆ set_ActualOvertimeCost()

void Aspose::Tasks::Resource::set_ActualOvertimeCost ( System::Decimal  value)

Sets a value of ActualOvertimeCost.

◆ set_ActualOvertimeWork()

void Aspose::Tasks::Resource::set_ActualOvertimeWork ( Duration  value)

Sets a value of ActualOvertimeWork.

◆ set_ActualOvertimeWorkProtected()

void Aspose::Tasks::Resource::set_ActualOvertimeWorkProtected ( Duration  value)

Sets a value of ActualOvertimeWorkProtected.

◆ set_ActualWork()

void Aspose::Tasks::Resource::set_ActualWork ( Duration  value)

Sets a value of ActualWork.

◆ set_ActualWorkProtected()

void Aspose::Tasks::Resource::set_ActualWorkProtected ( Duration  value)

Sets a value of ActualWorkProtected.

◆ set_ACWP()

void Aspose::Tasks::Resource::set_ACWP ( double  value)

Sets a value of ACWP.

◆ set_AssignmentOwner()

void Aspose::Tasks::Resource::set_AssignmentOwner ( const System::String &  value)

Sets a value of AssignmentOwner.

◆ set_AssignmentOwnerGuid()

void Aspose::Tasks::Resource::set_AssignmentOwnerGuid ( const System::String &  value)

Sets a value of AssignmentOwnerGuid.

◆ set_AvailableFrom()

void Aspose::Tasks::Resource::set_AvailableFrom ( System::DateTime  value)

Sets a value of AvailableFrom.

◆ set_AvailableTo()

void Aspose::Tasks::Resource::set_AvailableTo ( System::DateTime  value)

Sets a value of AvailableTo.

◆ set_BCWP()

void Aspose::Tasks::Resource::set_BCWP ( double  value)

Sets a value of BCWP.

◆ set_BCWS()

void Aspose::Tasks::Resource::set_BCWS ( double  value)

Sets a value of BCWS.

◆ set_BookingType()

void Aspose::Tasks::Resource::set_BookingType ( Aspose::Tasks::BookingType  value)

Sets a value of BookingType.

◆ set_BudgetCost()

void Aspose::Tasks::Resource::set_BudgetCost ( System::Decimal  value)

Sets a value of BudgetCost.

◆ set_BudgetWork()

void Aspose::Tasks::Resource::set_BudgetWork ( Duration  value)

Sets a value of BudgetWork.

◆ set_Calendar()

void Aspose::Tasks::Resource::set_Calendar ( const System::SharedPtr< Aspose::Tasks::Calendar > &  value)

Sets a value of Calendar.

◆ set_CanLevel()

void Aspose::Tasks::Resource::set_CanLevel ( NullableBool  value)

Sets a value indicating whether CanLevel is set or not.

◆ set_Code()

void Aspose::Tasks::Resource::set_Code ( const System::String &  value)

Sets a value of Code.

◆ set_Cost()

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

Sets a value of Cost.

◆ set_CostCenter()

void Aspose::Tasks::Resource::set_CostCenter ( const System::String &  value)

Sets a value of CostCenter.

◆ set_CostPerUse()

void Aspose::Tasks::Resource::set_CostPerUse ( System::Decimal  value)

Sets a value of CostPerUse.

◆ set_CostVariance()

void Aspose::Tasks::Resource::set_CostVariance ( double  value)

Sets a value of CostVariance.

◆ set_Created()

void Aspose::Tasks::Resource::set_Created ( System::DateTime  value)

Sets a value of Created.

◆ set_CV()

void Aspose::Tasks::Resource::set_CV ( double  value)

Sets a value of CV.

◆ set_EMailAddress()

void Aspose::Tasks::Resource::set_EMailAddress ( const System::String &  value)

Sets a value of EMailAddress.

◆ set_Finish()

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

Sets a value of Finish.

◆ set_Group()

void Aspose::Tasks::Resource::set_Group ( const System::String &  value)

Sets a value of Group.

◆ set_Guid()

void Aspose::Tasks::Resource::set_Guid ( const System::String &  value)

Sets a value of Guid.

◆ set_Hyperlink()

void Aspose::Tasks::Resource::set_Hyperlink ( System::String  value)
override

Sets the title or explanatory text of a hyperlink associated with a resource.

◆ set_HyperlinkAddress()

void Aspose::Tasks::Resource::set_HyperlinkAddress ( System::String  value)
override

Sets the address for a hyperlink associated with a resource.

The full address (Hyperlink Href in Microsoft Project) of the hyperlink is a concatenation of HyperlinkAddress and HyperlinkSubAddress.

◆ set_HyperlinkSubAddress()

void Aspose::Tasks::Resource::set_HyperlinkSubAddress ( System::String  value)
override

Sets the specific location in a document in a hyperlink associated with a resource.

The full address (Hyperlink Href in Microsoft Project) of the hyperlink is a concatenation of HyperlinkAddress and HyperlinkSubAddress.

◆ set_Id()

void Aspose::Tasks::Resource::set_Id ( int32_t  value)

Sets a value of Id.

◆ set_Inactive()

void Aspose::Tasks::Resource::set_Inactive ( NullableBool  value)

Sets a value indicating whether Inactive is set or not.

◆ set_Initials()

void Aspose::Tasks::Resource::set_Initials ( const System::String &  value)

Sets a value of Initials.

◆ set_IsBudget()

void Aspose::Tasks::Resource::set_IsBudget ( NullableBool  value)

Sets a value indicating whether IsBudget is set or not.

◆ set_IsCostResource()

void Aspose::Tasks::Resource::set_IsCostResource ( NullableBool  value)

Sets a value indicating whether IsCostResource is set or not.

◆ set_IsEnterprise()

void Aspose::Tasks::Resource::set_IsEnterprise ( NullableBool  value)

Sets a value indicating whether IsEnterprise is set or not.

◆ set_IsGeneric()

void Aspose::Tasks::Resource::set_IsGeneric ( NullableBool  value)

Sets a value indicating whether IsGeneric is set or not.

◆ set_IsNull()

void Aspose::Tasks::Resource::set_IsNull ( NullableBool  value)

Sets a value indicating whether IsNull is set or not.

◆ set_IsTeamAssignmentPool()

void Aspose::Tasks::Resource::set_IsTeamAssignmentPool ( bool  value)

Sets a value indicating whether IsTeamAssignmentPool is set or not.

◆ set_MaterialLabel()

void Aspose::Tasks::Resource::set_MaterialLabel ( const System::String &  value)

Sets a value of MaterialLabel.

◆ set_MaxUnits()

void Aspose::Tasks::Resource::set_MaxUnits ( double  value)

Sets a value of MaxUnits.

◆ set_Name()

void Aspose::Tasks::Resource::set_Name ( const System::String &  value)

Sets a value of Name.

◆ set_NotesRTF()

void Aspose::Tasks::Resource::set_NotesRTF ( System::String  value)
override

Sets a value of NotesRTF.

◆ set_NotesText()

void Aspose::Tasks::Resource::set_NotesText ( System::String  value)
override

Sets a value of NotesText.

◆ set_Overallocated()

void Aspose::Tasks::Resource::set_Overallocated ( NullableBool  value)

Sets a value indicating whether Overallocated is set or not.

◆ set_OvertimeCost()

void Aspose::Tasks::Resource::set_OvertimeCost ( System::Decimal  value)

Sets a value of OvertimeCost.

◆ set_OvertimeRate()

void Aspose::Tasks::Resource::set_OvertimeRate ( System::Decimal  value)

Sets a value of OvertimeRate.

◆ set_OvertimeRateFormat()

void Aspose::Tasks::Resource::set_OvertimeRateFormat ( RateFormatType  value)

Sets a value of OvertimeRateFormat.

◆ set_OvertimeWork()

void Aspose::Tasks::Resource::set_OvertimeWork ( Duration  value)

Sets a value of OvertimeWork.

◆ set_PeakUnits()

void Aspose::Tasks::Resource::set_PeakUnits ( double  value)

Sets a value of PeakUnits.

◆ set_PercentWorkComplete()

void Aspose::Tasks::Resource::set_PercentWorkComplete ( int32_t  value)

Sets a value of PercentWorkComplete.

◆ set_Phonetics()

void Aspose::Tasks::Resource::set_Phonetics ( const System::String &  value)

Sets a value of Phonetics.

◆ set_RegularWork()

void Aspose::Tasks::Resource::set_RegularWork ( Duration  value)

Sets a value of RegularWork.

◆ set_RemainingCost()

void Aspose::Tasks::Resource::set_RemainingCost ( System::Decimal  value)

Sets a value of RemainingCost.

◆ set_RemainingOvertimeCost()

void Aspose::Tasks::Resource::set_RemainingOvertimeCost ( System::Decimal  value)

Sets a value of RemainingOvertimeCost.

◆ set_RemainingOvertimeWork()

void Aspose::Tasks::Resource::set_RemainingOvertimeWork ( Duration  value)

Sets a value of RemainingOvertimeWork.

◆ set_RemainingWork()

void Aspose::Tasks::Resource::set_RemainingWork ( Duration  value)

Sets a value of RemainingWork.

◆ set_StandardRate()

void Aspose::Tasks::Resource::set_StandardRate ( System::Decimal  value)

Sets a value of StandardRate.

◆ set_StandardRateFormat()

void Aspose::Tasks::Resource::set_StandardRateFormat ( RateFormatType  value)

Sets a value of StandardRateFormat.

◆ set_Start()

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

Sets a value of Start.

◆ set_SV()

void Aspose::Tasks::Resource::set_SV ( double  value)

Sets a value of SV.

◆ set_TimephasedData()

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

Sets an instance of TimephasedDataCollection class for this object.

Reading supported for XML format only.

◆ set_Type()

void Aspose::Tasks::Resource::set_Type ( ResourceType  value)

Sets a value of Type.

◆ set_Uid()

void Aspose::Tasks::Resource::set_Uid ( int32_t  value)

Sets a value of Uid.

◆ set_WindowsUserAccount()

void Aspose::Tasks::Resource::set_WindowsUserAccount ( const System::String &  value)

Sets a value of WindowsUserAccount.

◆ set_Work()

void Aspose::Tasks::Resource::set_Work ( Duration  value)

Sets a value of Work.

◆ set_Workgroup()

void Aspose::Tasks::Resource::set_Workgroup ( WorkGroupType  value)

Sets a value of Workgroup.

◆ set_WorkVariance()

void Aspose::Tasks::Resource::set_WorkVariance ( double  value)

Sets a value of WorkVariance.

◆ ToString()

System::String Aspose::Tasks::Resource::ToString ( ) const
override

Returns short string representation of the instance of the Resource class. The exact details of the representation are unspecified and subject to change.

Returns
short string which represents resource object.