8 #include <system/iequatable.h>
9 #include <system/date_time.h>
11 #include "aspose.tasks.cpp/PropertyContainer.h"
12 #include "aspose.tasks.cpp/IEntityWithNotes.h"
13 #include "aspose.tasks.cpp/IEntityWithHyperlink.h"
14 #include "aspose.tasks.cpp/IContainer.h"
15 #include "aspose.tasks.cpp/Key.h"
16 #include "aspose.tasks.cpp/IExtendedAttributeParent.h"
17 #include "aspose.tasks.cpp/Enums/RscKey.h"
18 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
24 class AutoRecalculationState;
25 class AvailabilityPeriodCollection;
27 class BaselineCollection;
28 enum class BaselineType;
29 enum class BookingType;
30 namespace Calculations
32 class ResourceAssignmentCostCalculator;
33 class ResourceCalculator;
34 class ResourceCostCalculator;
35 class ResourceWorkCalculator;
38 namespace Connectivity
40 template <
typename>
class MpdField;
41 class MpdOutlineCodeField;
43 class MpdResourceBaselineMapper;
44 class MpdResourceMapper;
45 class MspResourceMapper;
46 class PmResourceMapper;
47 class PmResourceRateMapper;
49 enum class CostAccrualType;
51 class EvaluationModeDatesResetter;
53 class ExtendedAttributeCollection;
56 class ResourceGuidFilter;
62 class HtmlResourceBaseLineTableReader;
63 class HtmlResourceExtAttributesTableReader;
64 class HtmlResourceTableReader;
73 class MPP12ResourceReader;
74 class MPP12ResourceWriter;
75 class MPP14ResourceWriter;
76 class MPP9ResourceReader;
77 class MPP9ResourceWriter;
78 class MPPAvailabilityReader;
79 class MPPRateTableReader;
81 class MPPResourceReader;
82 class MPPResourceWriter;
84 namespace PrimaveraXml
86 class PrimaveraCalendarNodeReader;
87 class PrimaveraResourceNodeReader;
88 class PrimaveraResourceRateNodeReader;
96 class AssignmentToRawValuesMapper;
97 class CalendarToRawValuesMapper;
98 class ExtendedAttributeDefinitionToRawValuesMapper;
99 class ProjectResourcesMapper;
100 class ResourceToRawValuesMapper;
106 class XerResourceRateReader;
107 class XerResourceReader;
108 class XerRoleWithRates;
113 class ResourceNodeReader;
114 class ResourceNodeWriter;
120 class OutlineCodeCollection;
128 class ProjectIntegrityValidator;
132 class ResourcePropertyCollection;
134 class RateCollection;
135 enum class RateFormatType;
136 class ResourceAssignment;
137 class ResourceAssignmentCollection;
138 class ResourceCollection;
139 class ResourceFactory;
140 enum class ResourceType;
144 class HtmlResourceBaseLineTable;
145 class HtmlResourceExtendedAttributesTable;
146 class MpxSavingUtils;
147 class TemplateWriter;
148 class XerResourceRatesTable;
150 class TimephasedData;
151 class TimephasedDataCollection;
152 enum class TimephasedDataType : int8_t;
153 class TimephasedWorkCostSelector;
156 class CalculatedExtendedAttributeUtils;
157 class ExtendedAttributeChecker;
160 class FieldHelperInternal;
162 class RscFieldToValue;
165 namespace Visualization
167 class ApsReportBuilder;
168 class ApsReportCostOverrunsBuilder;
169 class ApsReportOverallocatedRscBuilder;
170 class ApsReportResourceCostOverviewBuilder;
171 class ApsReportRscOverviewBuilder;
172 class ApsResourceUsageBuilder;
173 class ApsResourceUsagePage;
174 class ResourceToColumnText;
176 enum class WorkGroupType;
181 namespace Collections
185 template <
typename>
class IEnumerable;
186 template <
typename>
class IList;
200 class ASPOSE_TASKS_SHARED_CLASS
Resource :
public Aspose::Tasks::IContainer<Aspose::Tasks::RscKey>,
public System::IEquatable<System::SharedPtr<Aspose::Tasks::Resource>>,
public Aspose::Tasks::IExtendedAttributeParent,
public Aspose::Tasks::IEntityWithNotes,
public Aspose::Tasks::IEntityWithHyperlink
203 typedef Aspose::Tasks::IContainer<Aspose::Tasks::RscKey> BaseType;
204 typedef System::IEquatable<System::SharedPtr<Aspose::Tasks::Resource>> BaseType1;
205 typedef Aspose::Tasks::IExtendedAttributeParent BaseType2;
206 typedef Aspose::Tasks::IEntityWithNotes BaseType3;
207 typedef Aspose::Tasks::IEntityWithHyperlink BaseType4;
209 typedef ::System::BaseTypesInfo<BaseType, BaseType1, BaseType2, BaseType3, BaseType4> ThisTypeBaseTypesInfo;
210 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
212 friend class Aspose::Tasks::Calculations::ResourceAssignmentCostCalculator;
213 friend class Aspose::Tasks::Calculations::ResourceCalculator;
214 friend class Aspose::Tasks::Calculations::ResourceCostCalculator;
215 friend class Aspose::Tasks::Calculations::ResourceWorkCalculator;
216 friend class Aspose::Tasks::IO::PrimaveraXml::PrimaveraCalendarNodeReader;
217 friend class Aspose::Tasks::IO::PrimaveraXml::PrimaveraResourceNodeReader;
218 friend class Aspose::Tasks::IO::PrimaveraXml::PrimaveraResourceRateNodeReader;
221 friend class Aspose::Tasks::Filters::ResourceGuidFilter;
222 friend class Aspose::Tasks::ResourceFactory;
223 friend class Aspose::Tasks::ResourceFactory;
224 friend class Aspose::Tasks::IO::Pwa::InternalApi::Mapping::AssignmentToRawValuesMapper;
225 friend class Aspose::Tasks::IO::Pwa::InternalApi::Mapping::CalendarToRawValuesMapper;
226 friend class Aspose::Tasks::IO::Pwa::InternalApi::Mapping::ExtendedAttributeDefinitionToRawValuesMapper;
227 friend class Aspose::Tasks::IO::Pwa::InternalApi::Mapping::ResourceToRawValuesMapper;
228 friend class Aspose::Tasks::EVCalculator;
229 friend class Aspose::Tasks::ProjDateAdd;
230 friend class Aspose::Tasks::ProjDateConv;
231 friend class Aspose::Tasks::ProjDateDiff;
232 friend class Aspose::Tasks::ProjDateSub;
233 friend class Aspose::Tasks::ProjDurConv;
234 friend class Aspose::Tasks::ProjDurValue;
235 template<
typename FT0>
friend class Aspose::Tasks::Connectivity::MpdField;
236 friend class Aspose::Tasks::Connectivity::MpdOutlineCodeField;
237 friend class Aspose::Tasks::Connectivity::MpdReader;
238 friend class Aspose::Tasks::Connectivity::MpdResourceBaselineMapper;
239 friend class Aspose::Tasks::Connectivity::MpdResourceMapper;
240 friend class Aspose::Tasks::Connectivity::MspResourceMapper;
241 friend class Aspose::Tasks::Connectivity::PmResourceMapper;
242 friend class Aspose::Tasks::Connectivity::PmResourceRateMapper;
243 friend class Aspose::Tasks::IO::Html::HtmlResourceBaseLineTableReader;
244 friend class Aspose::Tasks::IO::Html::HtmlResourceExtAttributesTableReader;
245 friend class Aspose::Tasks::IO::Html::HtmlResourceTableReader;
246 friend class Aspose::Tasks::IO::MSProject::MPPReader;
247 friend class Aspose::Tasks::IO::MSProject::MPP12ResourceReader;
248 friend class Aspose::Tasks::IO::MSProject::MPPResourceReader;
249 friend class Aspose::Tasks::IO::MSProject::MPP12ResourceWriter;
250 friend class Aspose::Tasks::IO::MSProject::MPP9ResourceReader;
251 friend class Aspose::Tasks::IO::MSProject::MPP9ResourceWriter;
252 friend class Aspose::Tasks::IO::MSProject::MPP14ResourceWriter;
253 friend class Aspose::Tasks::IO::MSProject::MPPAvailabilityReader;
254 friend class Aspose::Tasks::IO::MSProject::MPPRateTableReader;
255 friend class Aspose::Tasks::IO::MSProject::MPPResourceWriter;
256 friend class Aspose::Tasks::IO::Mpx::MpxReader;
257 friend class Aspose::Tasks::IO::Mpx::MpxUtils;
258 friend class Aspose::Tasks::IO::Xer::XerResourceRateReader;
259 friend class Aspose::Tasks::IO::Xer::XerResourceReader;
260 friend class Aspose::Tasks::IO::Xer::XerRoleWithRates;
261 friend class Aspose::Tasks::IO::Xer::XerUtils;
262 friend class Aspose::Tasks::IO::Pwa::InternalApi::Mapping::ProjectResourcesMapper;
263 friend class Aspose::Tasks::IO::Xml::ResourceNodeReader;
264 friend class Aspose::Tasks::IO::Xml::ResourceNodeWriter;
265 friend class Aspose::Tasks::IO::Xml::XmlReader;
266 friend class Aspose::Tasks::IO::Xml::XmlWriter;
267 friend class Aspose::Tasks::ProjectIntegrityValidator;
268 friend class Aspose::Tasks::AutoRecalculationState;
269 friend class Aspose::Tasks::ProjectState;
270 friend class Aspose::Tasks::EvaluationModeDatesResetter;
273 friend class Aspose::Tasks::Visualization::ApsReportBuilder;
275 friend class Aspose::Tasks::Saving::HtmlResourceBaseLineTable;
276 friend class Aspose::Tasks::Saving::HtmlResourceExtendedAttributesTable;
277 friend class Aspose::Tasks::Saving::MpxSavingUtils;
278 friend class Aspose::Tasks::Saving::XerResourceRatesTable;
279 friend class Aspose::Tasks::Saving::TemplateWriter;
280 friend class Aspose::Tasks::TimephasedWorkCostSelector;
281 friend class Aspose::Tasks::Util::CalculatedExtendedAttributeUtils;
282 friend class Aspose::Tasks::Util::ExtendedAttributeChecker;
283 friend class Aspose::Tasks::Util::Fields::FieldHelperInternal;
284 friend class Aspose::Tasks::Util::Fields::FieldToValue;
285 friend class Aspose::Tasks::Util::Fields::RscFieldToValue;
286 friend class Aspose::Tasks::Visualization::ApsResourceUsageBuilder;
287 friend class Aspose::Tasks::Visualization::ApsResourceUsagePage;
288 friend class Aspose::Tasks::Visualization::ApsReportCostOverrunsBuilder;
289 friend class Aspose::Tasks::Visualization::ApsReportOverallocatedRscBuilder;
290 friend class Aspose::Tasks::Visualization::ApsReportResourceCostOverviewBuilder;
291 friend class Aspose::Tasks::Visualization::ApsReportRscOverviewBuilder;
292 friend class Aspose::Tasks::Visualization::ResourceToColumnText;
313 ASPOSE_TASKS_SHARED_API
const System::SharedPtr<BaselineCollection>&
get_Baselines()
const;
323 ASPOSE_TASKS_SHARED_API System::SharedPtr<OutlineCodeCollection>
get_OutlineCode()
const;
333 ASPOSE_TASKS_SHARED_API
const System::SharedPtr<RateCollection>&
get_Rates()
const;
337 ASPOSE_TASKS_SHARED_API
const System::SharedPtr<ResourceAssignmentCollection>&
get_Assignments()
const;
347 ASPOSE_TASKS_SHARED_API
void set_TimephasedData(
const System::SharedPtr<TimephasedDataCollection>& value);
425 ASPOSE_TASKS_SHARED_API
void set_ACWP(
double value);
465 ASPOSE_TASKS_SHARED_API
void set_BCWP(
double value);
473 ASPOSE_TASKS_SHARED_API
void set_BCWS(
double value);
501 ASPOSE_TASKS_SHARED_API System::SharedPtr<Aspose::Tasks::Calendar>
get_Calendar();
505 ASPOSE_TASKS_SHARED_API
void set_Calendar(
const System::SharedPtr<Aspose::Tasks::Calendar>& value);
521 ASPOSE_TASKS_SHARED_API
void set_Code(
const System::String& value);
525 ASPOSE_TASKS_SHARED_API System::Decimal
get_Cost();
529 ASPOSE_TASKS_SHARED_API
void set_Cost(System::Decimal value);
569 ASPOSE_TASKS_SHARED_API
void set_CV(
double value);
585 ASPOSE_TASKS_SHARED_API
void set_Finish(System::DateTime value);
593 ASPOSE_TASKS_SHARED_API
void set_Group(
const System::String& value);
601 ASPOSE_TASKS_SHARED_API
void set_Guid(
const System::String& value);
633 ASPOSE_TASKS_SHARED_API int32_t
get_Id();
637 ASPOSE_TASKS_SHARED_API
void set_Id(int32_t value);
653 ASPOSE_TASKS_SHARED_API
void set_Initials(
const System::String& value);
725 ASPOSE_TASKS_SHARED_API
void set_Name(
const System::String& value);
733 ASPOSE_TASKS_SHARED_API
void set_NotesRTF(System::String value)
override;
869 ASPOSE_TASKS_SHARED_API
void set_Start(System::DateTime value);
877 ASPOSE_TASKS_SHARED_API
void set_SV(
double value);
885 ASPOSE_TASKS_SHARED_API
void set_Type(ResourceType value);
893 ASPOSE_TASKS_SHARED_API
void set_Uid(int32_t value);
932 ASPOSE_TASKS_SHARED_API
bool Equals(System::SharedPtr<Resource> other)
override;
938 ASPOSE_TASKS_SHARED_API
bool Equals(System::SharedPtr<System::Object> obj)
override;
949 ASPOSE_TASKS_SHARED_API System::String
ToString()
const override;
956 template <
typename T>
959 System::SharedPtr<System::Object> res;
960 if (this->GetCalculatedValue(key.
get_KeyType(), res))
962 return System::ExplicitCast<T>(res);
965 return this->container->template CheckPropAndGet<T>(key);
974 template <
typename T>
979 if (this->SetCalculatedValue(key.
get_KeyType(), System::ExplicitCast<System::Object>(val)))
984 this->container->template CheckPropAndSet<T>(key, val);
1004 ASPOSE_TASKS_SHARED_API System::SharedPtr<TimephasedDataCollection>
GetTimephasedData(System::DateTime start, System::DateTime end, TimephasedDataType timephasedType);
1011 ASPOSE_TASKS_SHARED_API System::SharedPtr<TimephasedDataCollection>
GetTimephasedData(System::DateTime start, System::DateTime end);
1015 static ASPOSE_TASKS_SHARED_API System::Guid& RootResourceGuid();
1016 static ASPOSE_TASKS_SHARED_API System::Guid& UnassignedResourceGuid();
1021 ASPOSE_TASKS_SHARED_API
void set_ParentProject(
const System::SharedPtr<Project>& value);
1030 ASPOSE_TASKS_SHARED_API
void set_ExtendedAttributes(
const System::SharedPtr<ExtendedAttributeCollection>& value);
1035 ASPOSE_TASKS_SHARED_API
void set_Baselines(
const System::SharedPtr<BaselineCollection>& value);
1045 ASPOSE_TASKS_SHARED_API
void set_OutlineCode(
const System::SharedPtr<OutlineCodeCollection>& value);
1050 ASPOSE_TASKS_SHARED_API
void set_AvailabilityPeriods(
const System::SharedPtr<AvailabilityPeriodCollection>& value);
1055 ASPOSE_TASKS_SHARED_API
void set_Rates(
const System::SharedPtr<RateCollection>& value);
1059 ASPOSE_TASKS_SHARED_API
void set_Assignments(
const System::SharedPtr<ResourceAssignmentCollection>& value);
1063 ASPOSE_TASKS_SHARED_API
const System::SharedPtr<Properties::ResourcePropertyCollection>& get_Properties()
const;
1064 ASPOSE_TASKS_SHARED_API System::Decimal get_BaselineCost();
1066 ASPOSE_TASKS_SHARED_API
Resource(
const System::SharedPtr<Project>& parentProject);
1068 ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(
Resource, CODEPORTING_ARGS(
const System::SharedPtr<Project>& parentProject));
1075 ASPOSE_TASKS_SHARED_API
Resource(
const System::String& name,
const System::SharedPtr<Project>& parentProject);
1077 ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(
Resource, CODEPORTING_ARGS(
const System::String& name,
const System::SharedPtr<Project>& parentProject));
1079 ASPOSE_TASKS_SHARED_API
Resource();
1081 ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(
Resource, CODEPORTING_ARGS());
1082 template <
typename T>
1085 this->container->template CheckPropAndSet<T>(key, val);
1091 ASPOSE_TASKS_SHARED_API
void SetAvailability(
const System::ArrayPtr<uint8_t>& value);
1092 ASPOSE_TASKS_SHARED_API
bool SetCalculatedValue(RscKey keyType,
const System::SharedPtr<System::Object>& v);
1093 ASPOSE_TASKS_SHARED_API
bool GetCalculatedValue(RscKey key, System::SharedPtr<System::Object>& res)
const;
1094 ASPOSE_TASKS_SHARED_API
void SetBaseline(BaselineType baselineType);
1095 ASPOSE_TASKS_SHARED_API
void ClearActuals();
1096 ASPOSE_TASKS_SHARED_API
double GetMaxUnitsForDate(System::DateTime date);
1097 ASPOSE_TASKS_SHARED_API System::String GetStandardRateString();
1098 ASPOSE_TASKS_SHARED_API System::String GetOvertimeRateString();
1100 virtual ASPOSE_TASKS_SHARED_API ~
Resource();
1102 #ifdef ASPOSE_GET_SHARED_MEMBERS
1103 ASPOSE_TASKS_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
1109 System::SharedPtr<PropertyContainer<RscKey>> container;
1110 System::SharedPtr<OutlineCodeCollection> outlineCode;
1111 System::SharedPtr<TimephasedDataCollection> timephasedData;
1112 System::WeakPtr<Project> pr_ParentProject;
1113 System::SharedPtr<ExtendedAttributeCollection> pr_ExtendedAttributes;
1114 System::SharedPtr<BaselineCollection> pr_Baselines;
1115 System::SharedPtr<AvailabilityPeriodCollection> pr_AvailabilityPeriods;
1116 System::SharedPtr<RateCollection> pr_Rates;
1117 System::SharedPtr<ResourceAssignmentCollection> pr_Assignments;
1119 ASPOSE_TASKS_SHARED_API
bool get_HasChildren()
override;
1120 ASPOSE_TASKS_SHARED_API System::SharedPtr<System::Collections::Generic::IEnumerable<System::SharedPtr<IExtendedAttributeParent>>> get_Items()
override;
1122 System::SharedPtr<Properties::ResourcePropertyCollection> pr_Properties;
1127 ASPOSE_TASKS_SHARED_API
void set_Properties(
const System::SharedPtr<Properties::ResourcePropertyCollection>& value);
1130 void SetBaselineValues(
const System::SharedPtr<Baseline>& bl);
1131 void SetBaselineTimephased(
const System::SharedPtr<Baseline>& bl);
1132 void ClearBaselineTD(TimephasedDataType workType, TimephasedDataType costType);
1133 void InitDefaultValues();
1134 void FillBaselineTDs(System::DateTime start, System::DateTime end, TimephasedDataType timephasedType,
const System::SharedPtr<System::Collections::Generic::IList<System::SharedPtr<Aspose::Tasks::TimephasedData>>>& timephased);
1135 void FillResourceCostTDs(System::DateTime start, System::DateTime end,
const System::SharedPtr<System::Collections::Generic::IList<System::SharedPtr<Aspose::Tasks::TimephasedData>>>& timephased);
1136 void FillResourceWorkTDs(System::DateTime start, System::DateTime end,
const System::SharedPtr<System::Collections::Generic::IList<System::SharedPtr<Aspose::Tasks::TimephasedData>>>& timephased);
1137 void AddBaselineTDs();
Represents duration in a project.
Definition: Duration.h:161
Represents a property key of a class of the specified type. An instance of this class is used when ge...
Definition: Key.h:76
K get_KeyType() const
Gets the key of the property.
Definition: Key.h:119
A class for boolean values with possibility to check whether the value was defined or not.
Definition: NullableBool.h:22
Represents a project.
Definition: Project.h:545
Represents a collection of ResourceAssignment objects.
Definition: ResourceAssignmentCollection.h:102
Represents a resource assignment in a project.
Definition: ResourceAssignment.h:215
Represents a collection of Resource objects.
Definition: ResourceCollection.h:98
Represents a resource in a project.
Definition: Resource.h:201
const System::SharedPtr< ResourceAssignmentCollection > & get_Assignments() const
Gets a collection of resource assignments for this object.
System::String get_Hyperlink() override
Gets the title or explanatory text of a hyperlink associated with a resource.
void set_OvertimeCost(System::Decimal value)
Sets a value of OvertimeCost.
void set_IsTeamAssignmentPool(bool value)
Sets a value indicating whether IsTeamAssignmentPool is set or not.
NullableBool get_IsCostResource()
Gets a value indicating whether IsCostResource is set or not.
double get_BCWP()
Gets a value of BCWP.
void set_WindowsUserAccount(const System::String &value)
Sets a value of WindowsUserAccount.
void set_Code(const System::String &value)
Sets a value of Code.
void set_ActualCost(System::Decimal value)
Sets a value of ActualCost.
System::DateTime get_Finish()
Gets a value of Finish.
double get_WorkVariance()
Gets a value of WorkVariance.
void set_BudgetWork(Duration value)
Sets a value of BudgetWork.
int32_t get_PercentWorkComplete()
Gets a value of PercentWorkComplete.
System::String get_EMailAddress()
Gets a value of EMailAddress.
bool Equals(System::SharedPtr< System::Object > obj) override
Returns a value indicating whether this instance is equal to a specified object.
RateFormatType get_StandardRateFormat()
Gets a value of StandardRateFormat.
void set_OvertimeRate(System::Decimal value)
Sets a value of OvertimeRate.
System::Decimal get_RemainingOvertimeCost()
Gets a value of RemainingOvertimeCost.
Duration get_RegularWork()
Gets a value of RegularWork.
System::String get_NotesText() override
Gets a value of NotesText.
System::String get_WindowsUserAccount()
Gets a value of WindowsUserAccount.
System::String get_Group()
Gets a value of Group.
void set_ActualOvertimeWork(Duration value)
Sets a value of ActualOvertimeWork.
void set_Cost(System::Decimal value)
Sets a value of Cost.
bool get_IsTeamAssignmentPool()
Gets a value indicating whether IsTeamAssignmentPool is set or not.
void set_MaxUnits(double value)
Sets a value of MaxUnits.
System::String get_HyperlinkSubAddress() override
Gets the specific location in a document in a hyperlink associated with a resource.
void set_WorkVariance(double value)
Sets a value of WorkVariance.
void set_IsGeneric(NullableBool value)
Sets a value indicating whether IsGeneric is set or not.
Duration get_ActualOvertimeWorkProtected()
Gets a value of ActualOvertimeWorkProtected.
System::SharedPtr< ExtendedAttributeCollection > get_ExtendedAttributes() override
Gets the values of an extended attribute.
NullableBool get_IsEnterprise()
Gets a value indicating whether IsEnterprise is set or not.
virtual bool get_IsRoot()
Gets the flag indicating whether resource is a root resource. Root resource is a special resource whi...
void set_Name(const System::String &value)
Sets a value of Name.
void set_RemainingOvertimeCost(System::Decimal value)
Sets a value of RemainingOvertimeCost.
void set_RemainingOvertimeWork(Duration value)
Sets a value of RemainingOvertimeWork.
void set_CostPerUse(System::Decimal value)
Sets a value of CostPerUse.
void Delete()
Deletes a resource and its assignments from project.
System::String get_Initials()
Gets a value of Initials.
void set_ActualWorkProtected(Duration value)
Sets a value of ActualWorkProtected.
void set_Initials(const System::String &value)
Sets a value of Initials.
double get_SV()
Gets a value of SV.
void set_PercentWorkComplete(int32_t value)
Sets a value of PercentWorkComplete.
System::Decimal get_ActualCost()
Gets a value of ActualCost.
void set_CostCenter(const System::String &value)
Sets a value of CostCenter.
System::Decimal get_BudgetCost()
Gets a value of BudgetCost.
void set_Overallocated(NullableBool value)
Sets a value indicating whether Overallocated is set or not.
double get_CostVariance()
Gets a value of CostVariance.
void set_Start(System::DateTime value)
Sets a value of Start.
void set_Finish(System::DateTime value)
Sets a value of Finish.
System::Decimal get_OvertimeRate()
Gets a value of OvertimeRate.
const System::SharedPtr< RateCollection > & get_Rates() const
Gets a the instance of the RateCollection class for this object. The collection of periods and rates ...
void set_OvertimeWork(Duration value)
Sets a value of OvertimeWork.
void set_Id(int32_t value)
Sets a value of Id.
void set_Uid(int32_t value)
Sets a value of Uid.
NullableBool get_IsGeneric()
Gets a value indicating whether IsGeneric is set or not.
double get_ACWP()
Gets a value of ACWP.
System::Decimal get_ActualOvertimeCost()
Gets a value of ActualOvertimeCost.
void set_IsCostResource(NullableBool value)
Sets a value indicating whether IsCostResource is set or not.
double get_PeakUnits()
Gets a value of PeakUnits.
void set_NotesText(System::String value) override
Sets a value of NotesText.
System::String get_Phonetics()
Gets a value of Phonetics.
const System::SharedPtr< BaselineCollection > & get_Baselines() const
Gets a BaselineCollection instance for this object. The baseline values for a resource.
void set_IsNull(NullableBool value)
Sets a value indicating whether IsNull is set or not.
System::Decimal get_OvertimeCost()
Gets a value of OvertimeCost.
void set_BookingType(Aspose::Tasks::BookingType value)
Sets a value of BookingType.
System::String get_Name()
Gets a value of Name.
int32_t get_Uid()
Gets a value of Uid.
System::SharedPtr< OutlineCodeCollection > get_OutlineCode() const
Gets an OutlineCodeCollection object. The value of an outline code.
void set_PeakUnits(double value)
Sets a value of PeakUnits.
System::SharedPtr< TimephasedDataCollection > GetTimephasedData(System::DateTime start, System::DateTime end)
Returns TimephasedDataCollection for this object with TimephasedDatavalues within given start and end...
System::SharedPtr< TimephasedDataCollection > GetTimephasedData(System::DateTime start, System::DateTime end, TimephasedDataType timephasedType)
Returns an instance of the TimephasedDataCollection class for this object with the TimephasedData val...
double get_CV()
Gets a value of CV.
bool Equals(System::SharedPtr< Resource > other) override
Returns a value indicating whether this instance is equal to a specified instance of the Resource cla...
void Set(const Key< T, RscKey > &key, const T &val)
Maps the specified property to the specified value in this container.
Definition: Resource.h:975
Duration get_OvertimeWork()
Gets a value of OvertimeWork.
void set_Guid(const System::String &value)
Sets a value of Guid.
Duration get_RemainingOvertimeWork()
Gets a value of RemainingOvertimeWork.
void set_TimephasedData(const System::SharedPtr< TimephasedDataCollection > &value)
Sets an instance of TimephasedDataCollection class for this object.
void set_ActiveDirectoryGuid(const System::String &value)
Sets a value of ActiveDirectoryGuid.
void set_RemainingCost(System::Decimal value)
Sets a value of RemainingCost.
void set_AssignmentOwner(const System::String &value)
Sets a value of AssignmentOwner.
Duration get_BudgetWork()
Gets a value of BudgetWork.
void set_Phonetics(const System::String &value)
Sets a value of Phonetics.
void set_IsBudget(NullableBool value)
Sets a value indicating whether IsBudget is set or not.
System::String get_MaterialLabel()
Gets a value of MaterialLabel.
NullableBool get_CanLevel()
Gets a value indicating whether CanLevel is set or not.
void set_Inactive(NullableBool value)
Sets a value indicating whether Inactive is set or not.
System::DateTime get_AvailableFrom()
Gets a value of AvailableFrom.
System::String get_NotesRTF() override
Gets a value of NotesRTF.
System::String get_CostCenter()
Gets a value of CostCenter.
void set_NotesRTF(System::String value) override
Sets a value of NotesRTF.
System::String get_HyperlinkAddress() override
Gets the address for a hyperlink associated with a resource.
double get_MaxUnits()
Gets a value of MaxUnits.
const System::SharedPtr< AvailabilityPeriodCollection > & get_AvailabilityPeriods() const
Gets a the instance of the AvailabilityPeriodCollection class. The collection of periods during which...
void set_AvailableTo(System::DateTime value)
Sets a value of AvailableTo.
void set_ActualWork(Duration value)
Sets a value of ActualWork.
void set_RemainingWork(Duration value)
Sets a value of RemainingWork.
NullableBool get_Inactive()
Gets a value indicating whether Inactive is set or not.
void set_Calendar(const System::SharedPtr< Aspose::Tasks::Calendar > &value)
Sets a value of Calendar.
void set_Hyperlink(System::String value) override
Sets the title or explanatory text of a hyperlink associated with a resource.
void set_ActualOvertimeCost(System::Decimal value)
Sets a value of ActualOvertimeCost.
System::Decimal get_Cost()
Gets a value of Cost.
void set_SV(double value)
Sets a value of SV.
void set_StandardRate(System::Decimal value)
Sets a value of StandardRate.
void set_CostVariance(double value)
Sets a value of CostVariance.
void set_AssignmentOwnerGuid(const System::String &value)
Sets a value of AssignmentOwnerGuid.
void set_Workgroup(WorkGroupType value)
Sets a value of Workgroup.
System::String get_AssignmentOwner()
Gets a value of AssignmentOwner.
void Set(const Key< System::DateTime, RscKey > &key, const System::DateTime &val)
Maps the specified property to the specified value in this container.
void set_BCWS(double value)
Sets a value of BCWS.
System::String get_ActiveDirectoryGuid()
Gets a value of ActiveDirectoryGuid.
void set_BCWP(double value)
Sets a value of BCWP.
Duration get_ActualWorkProtected()
Gets a value of ActualWorkProtected.
System::String get_Code()
Gets a value of Code.
void set_StandardRateFormat(RateFormatType value)
Sets a value of StandardRateFormat.
void set_OvertimeRateFormat(RateFormatType value)
Sets a value of OvertimeRateFormat.
System::Decimal get_RemainingCost()
Gets a value of RemainingCost.
ResourceType get_Type()
Gets a value of Type.
Duration get_Work()
Gets a value of Work.
System::String ToString() const override
Returns short string representation of the instance of the Resource class. The exact details of the r...
void set_Type(ResourceType value)
Sets a value of Type.
RateFormatType get_OvertimeRateFormat()
Gets a value of OvertimeRateFormat.
Duration get_ActualWork()
Gets a value of ActualWork.
void set_IsEnterprise(NullableBool value)
Sets a value indicating whether IsEnterprise is set or not.
void set_Work(Duration value)
Sets a value of Work.
void set_CV(double value)
Sets a value of CV.
const System::SharedPtr< Project > & get_ParentProject() const override
Gets parent project for this container.
NullableBool get_IsNull()
Gets a value indicating whether IsNull is set or not.
System::SharedPtr< Aspose::Tasks::Calendar > get_Calendar()
Gets a value of Calendar.
WorkGroupType get_Workgroup()
Gets a value of Workgroup.
void set_MaterialLabel(const System::String &value)
Sets a value of MaterialLabel.
System::Decimal get_CostPerUse()
Gets a value of CostPerUse.
CostAccrualType get_AccrueAt()
Gets a value of AccrueAt.
void set_HyperlinkAddress(System::String value) override
Sets the address for a hyperlink associated with a resource.
void set_CanLevel(NullableBool value)
Sets a value indicating whether CanLevel is set or not.
int32_t get_Id()
Gets a value of Id.
void set_Group(const System::String &value)
Sets a value of Group.
void set_HyperlinkSubAddress(System::String value) override
Sets the specific location in a document in a hyperlink associated with a resource.
System::DateTime get_Created()
Gets a value of Created.
System::Decimal get_StandardRate()
Gets a value of StandardRate.
System::String get_AssignmentOwnerGuid()
Gets a value of AssignmentOwnerGuid.
System::String get_Guid()
Gets a value of Guid.
Duration get_ActualOvertimeWork()
Gets a value of ActualOvertimeWork.
T Get(const Key< T, RscKey > &key) const
Returns the value to which the property is mapped in this container.
Definition: Resource.h:957
void set_RegularWork(Duration value)
Sets a value of RegularWork.
void set_EMailAddress(const System::String &value)
Sets a value of EMailAddress.
System::DateTime get_AvailableTo()
Gets a value of AvailableTo.
Aspose::Tasks::BookingType get_BookingType()
Gets a value of BookingType.
void set_AccrueAt(CostAccrualType value)
Sets a value of AccrueAt.
void set_ActualOvertimeWorkProtected(Duration value)
Sets a value of ActualOvertimeWorkProtected.
double get_BCWS()
Gets a value of BCWS.
Duration get_RemainingWork()
Gets a value of RemainingWork.
void set_BudgetCost(System::Decimal value)
Sets a value of BudgetCost.
void set_Created(System::DateTime value)
Sets a value of Created.
System::DateTime get_Start()
Gets a value of Start.
void set_AvailableFrom(System::DateTime value)
Sets a value of AvailableFrom.
System::SharedPtr< TimephasedDataCollection > get_TimephasedData()
Gets an instance of TimephasedDataCollection class for this object.
NullableBool get_IsBudget()
Gets a value indicating whether IsBudget is set or not.
void set_ACWP(double value)
Sets a value of ACWP.
NullableBool get_Overallocated()
Gets a value indicating whether Overallocated is set or not.
int32_t GetHashCode() const override
Returns a hash code value for the instance of the Resource class.
Allows to specify additional options when saving project to CSV.
Definition: CsvOptions.h:53