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 ResourceOverAllocationCalculator;
36 class ResourceWorkCalculator;
39 namespace Connectivity
41 template <
typename>
class MpdField;
42 class MpdOutlineCodeField;
44 class MpdResourceBaselineMapper;
45 class MpdResourceMapper;
46 class MspResourceMapper;
47 class PmResourceMapper;
48 class PmResourceRateMapper;
50 enum class CostAccrualType;
52 class EvaluationModeDatesResetter;
54 class ExtendedAttributeCollection;
57 class ResourceGuidFilter;
63 class HtmlResourceBaseLineTableReader;
64 class HtmlResourceExtAttributesTableReader;
65 class HtmlResourceTableReader;
74 class MPP12ResourceReader;
75 class MPP12ResourceWriter;
76 class MPP14ResourceWriter;
77 class MPP9ResourceReader;
78 class MPP9ResourceWriter;
79 class MPPAvailabilityReader;
80 class MPPRateTableReader;
82 class MPPResourceReader;
83 class MPPResourceWriter;
85 namespace PrimaveraXml
87 class PrimaveraCalendarNodeReader;
88 class PrimaveraResourceNodeReader;
89 class PrimaveraResourceRateNodeReader;
97 class AssignmentToRawValuesMapper;
98 class CalendarToRawValuesMapper;
99 class ExtendedAttributeDefinitionToRawValuesMapper;
100 class ProjectResourcesMapper;
101 class ResourceToRawValuesMapper;
107 class XerResourceRateReader;
108 class XerResourceReader;
109 class XerRoleWithRates;
114 class ResourceNodeReader;
115 class ResourceNodeWriter;
122 class LevelingAlgorithm;
125 class OutlineCodeCollection;
133 class ProjectIntegrityValidator;
137 class ResourcePropertyCollection;
139 class RateCollection;
140 enum class RateFormatType;
141 class ResourceAssignment;
142 class ResourceAssignmentCollection;
143 class ResourceCollection;
144 class ResourceFactory;
145 enum class ResourceType;
149 class HtmlResourceBaseLineTable;
150 class HtmlResourceExtendedAttributesTable;
151 class MpxSavingUtils;
152 class TemplateWriter;
153 class XerResourceRatesTable;
155 class TimephasedData;
156 class TimephasedDataCollection;
157 enum class TimephasedDataType : int8_t;
158 class TimephasedWorkCostSelector;
161 class CalculatedExtendedAttributeUtils;
162 class ExtendedAttributeChecker;
165 class FieldHelperInternal;
167 class RscFieldToValue;
170 namespace Visualization
172 class ApsReportBuilder;
173 class ApsReportCostOverrunsBuilder;
174 class ApsReportOverallocatedRscBuilder;
175 class ApsReportResourceCostOverviewBuilder;
176 class ApsReportRscOverviewBuilder;
177 class ApsResourceUsageBuilder;
178 class ApsResourceUsagePage;
179 class ResourceToColumnText;
181 enum class WorkGroupType;
186 namespace Collections
190 template <
typename>
class IEnumerable;
191 template <
typename>
class IList;
205 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
208 typedef Aspose::Tasks::IContainer<Aspose::Tasks::RscKey> BaseType;
209 typedef System::IEquatable<System::SharedPtr<Aspose::Tasks::Resource>> BaseType1;
210 typedef Aspose::Tasks::IExtendedAttributeParent BaseType2;
211 typedef Aspose::Tasks::IEntityWithNotes BaseType3;
212 typedef Aspose::Tasks::IEntityWithHyperlink BaseType4;
214 typedef ::System::BaseTypesInfo<BaseType, BaseType1, BaseType2, BaseType3, BaseType4> ThisTypeBaseTypesInfo;
215 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
217 friend class Aspose::Tasks::Calculations::ResourceOverAllocationCalculator;
218 friend class Aspose::Tasks::Calculations::ResourceAssignmentCostCalculator;
219 friend class Aspose::Tasks::Calculations::ResourceCalculator;
220 friend class Aspose::Tasks::Calculations::ResourceCostCalculator;
221 friend class Aspose::Tasks::Calculations::ResourceWorkCalculator;
222 friend class Aspose::Tasks::IO::PrimaveraXml::PrimaveraCalendarNodeReader;
223 friend class Aspose::Tasks::IO::PrimaveraXml::PrimaveraResourceNodeReader;
224 friend class Aspose::Tasks::IO::PrimaveraXml::PrimaveraResourceRateNodeReader;
225 friend class Aspose::Tasks::Leveling::LevelingAlgorithm;
228 friend class Aspose::Tasks::Filters::ResourceGuidFilter;
229 friend class Aspose::Tasks::ResourceFactory;
230 friend class Aspose::Tasks::ResourceFactory;
231 friend class Aspose::Tasks::IO::Pwa::InternalApi::Mapping::AssignmentToRawValuesMapper;
232 friend class Aspose::Tasks::IO::Pwa::InternalApi::Mapping::CalendarToRawValuesMapper;
233 friend class Aspose::Tasks::IO::Pwa::InternalApi::Mapping::ExtendedAttributeDefinitionToRawValuesMapper;
234 friend class Aspose::Tasks::IO::Pwa::InternalApi::Mapping::ResourceToRawValuesMapper;
235 friend class Aspose::Tasks::EVCalculator;
236 friend class Aspose::Tasks::ProjDateAdd;
237 friend class Aspose::Tasks::ProjDateConv;
238 friend class Aspose::Tasks::ProjDateDiff;
239 friend class Aspose::Tasks::ProjDateSub;
240 friend class Aspose::Tasks::ProjDurConv;
241 friend class Aspose::Tasks::ProjDurValue;
242 template<
typename FT0>
friend class Aspose::Tasks::Connectivity::MpdField;
243 friend class Aspose::Tasks::Connectivity::MpdOutlineCodeField;
244 friend class Aspose::Tasks::Connectivity::MpdReader;
245 friend class Aspose::Tasks::Connectivity::MpdResourceBaselineMapper;
246 friend class Aspose::Tasks::Connectivity::MpdResourceMapper;
247 friend class Aspose::Tasks::Connectivity::MspResourceMapper;
248 friend class Aspose::Tasks::Connectivity::PmResourceMapper;
249 friend class Aspose::Tasks::Connectivity::PmResourceRateMapper;
250 friend class Aspose::Tasks::IO::Html::HtmlResourceBaseLineTableReader;
251 friend class Aspose::Tasks::IO::Html::HtmlResourceExtAttributesTableReader;
252 friend class Aspose::Tasks::IO::Html::HtmlResourceTableReader;
253 friend class Aspose::Tasks::IO::MSProject::MPPReader;
254 friend class Aspose::Tasks::IO::MSProject::MPP12ResourceReader;
255 friend class Aspose::Tasks::IO::MSProject::MPPResourceReader;
256 friend class Aspose::Tasks::IO::MSProject::MPP12ResourceWriter;
257 friend class Aspose::Tasks::IO::MSProject::MPP9ResourceReader;
258 friend class Aspose::Tasks::IO::MSProject::MPP9ResourceWriter;
259 friend class Aspose::Tasks::IO::MSProject::MPP14ResourceWriter;
260 friend class Aspose::Tasks::IO::MSProject::MPPAvailabilityReader;
261 friend class Aspose::Tasks::IO::MSProject::MPPRateTableReader;
262 friend class Aspose::Tasks::IO::MSProject::MPPResourceWriter;
263 friend class Aspose::Tasks::IO::Mpx::MpxReader;
264 friend class Aspose::Tasks::IO::Mpx::MpxUtils;
265 friend class Aspose::Tasks::IO::Xer::XerResourceRateReader;
266 friend class Aspose::Tasks::IO::Xer::XerResourceReader;
267 friend class Aspose::Tasks::IO::Xer::XerRoleWithRates;
268 friend class Aspose::Tasks::IO::Xer::XerUtils;
269 friend class Aspose::Tasks::IO::Pwa::InternalApi::Mapping::ProjectResourcesMapper;
270 friend class Aspose::Tasks::IO::Xml::ResourceNodeReader;
271 friend class Aspose::Tasks::IO::Xml::ResourceNodeWriter;
272 friend class Aspose::Tasks::IO::Xml::XmlReader;
273 friend class Aspose::Tasks::IO::Xml::XmlWriter;
274 friend class Aspose::Tasks::ProjectIntegrityValidator;
275 friend class Aspose::Tasks::AutoRecalculationState;
276 friend class Aspose::Tasks::ProjectState;
277 friend class Aspose::Tasks::EvaluationModeDatesResetter;
280 friend class Aspose::Tasks::Visualization::ApsReportBuilder;
282 friend class Aspose::Tasks::Saving::HtmlResourceBaseLineTable;
283 friend class Aspose::Tasks::Saving::HtmlResourceExtendedAttributesTable;
284 friend class Aspose::Tasks::Saving::MpxSavingUtils;
285 friend class Aspose::Tasks::Saving::XerResourceRatesTable;
286 friend class Aspose::Tasks::Saving::TemplateWriter;
287 friend class Aspose::Tasks::TimephasedWorkCostSelector;
288 friend class Aspose::Tasks::Util::CalculatedExtendedAttributeUtils;
289 friend class Aspose::Tasks::Util::ExtendedAttributeChecker;
290 friend class Aspose::Tasks::Util::Fields::FieldHelperInternal;
291 friend class Aspose::Tasks::Util::Fields::FieldToValue;
292 friend class Aspose::Tasks::Util::Fields::RscFieldToValue;
293 friend class Aspose::Tasks::Visualization::ApsResourceUsageBuilder;
294 friend class Aspose::Tasks::Visualization::ApsResourceUsagePage;
295 friend class Aspose::Tasks::Visualization::ApsReportCostOverrunsBuilder;
296 friend class Aspose::Tasks::Visualization::ApsReportOverallocatedRscBuilder;
297 friend class Aspose::Tasks::Visualization::ApsReportResourceCostOverviewBuilder;
298 friend class Aspose::Tasks::Visualization::ApsReportRscOverviewBuilder;
299 friend class Aspose::Tasks::Visualization::ResourceToColumnText;
320 ASPOSE_TASKS_SHARED_API
const System::SharedPtr<BaselineCollection>&
get_Baselines()
const;
330 ASPOSE_TASKS_SHARED_API System::SharedPtr<OutlineCodeCollection>
get_OutlineCode()
const;
340 ASPOSE_TASKS_SHARED_API
const System::SharedPtr<RateCollection>&
get_Rates()
const;
344 ASPOSE_TASKS_SHARED_API
const System::SharedPtr<ResourceAssignmentCollection>&
get_Assignments()
const;
354 ASPOSE_TASKS_SHARED_API
void set_TimephasedData(
const System::SharedPtr<TimephasedDataCollection>& value);
432 ASPOSE_TASKS_SHARED_API
void set_ACWP(
double value);
472 ASPOSE_TASKS_SHARED_API
void set_BCWP(
double value);
480 ASPOSE_TASKS_SHARED_API
void set_BCWS(
double value);
508 ASPOSE_TASKS_SHARED_API System::SharedPtr<Aspose::Tasks::Calendar>
get_Calendar();
512 ASPOSE_TASKS_SHARED_API
void set_Calendar(
const System::SharedPtr<Aspose::Tasks::Calendar>& value);
528 ASPOSE_TASKS_SHARED_API
void set_Code(
const System::String& value);
532 ASPOSE_TASKS_SHARED_API System::Decimal
get_Cost();
536 ASPOSE_TASKS_SHARED_API
void set_Cost(System::Decimal value);
576 ASPOSE_TASKS_SHARED_API
void set_CV(
double value);
592 ASPOSE_TASKS_SHARED_API
void set_Finish(System::DateTime value);
600 ASPOSE_TASKS_SHARED_API
void set_Group(
const System::String& value);
608 ASPOSE_TASKS_SHARED_API
void set_Guid(
const System::String& value);
640 ASPOSE_TASKS_SHARED_API int32_t
get_Id();
644 ASPOSE_TASKS_SHARED_API
void set_Id(int32_t value);
660 ASPOSE_TASKS_SHARED_API
void set_Initials(
const System::String& value);
732 ASPOSE_TASKS_SHARED_API
void set_Name(
const System::String& value);
740 ASPOSE_TASKS_SHARED_API
void set_NotesRTF(System::String value)
override;
876 ASPOSE_TASKS_SHARED_API
void set_Start(System::DateTime value);
884 ASPOSE_TASKS_SHARED_API
void set_SV(
double value);
892 ASPOSE_TASKS_SHARED_API
void set_Type(ResourceType value);
900 ASPOSE_TASKS_SHARED_API
void set_Uid(int32_t value);
939 ASPOSE_TASKS_SHARED_API
bool Equals(System::SharedPtr<Resource> other)
override;
945 ASPOSE_TASKS_SHARED_API
bool Equals(System::SharedPtr<System::Object> obj)
override;
956 ASPOSE_TASKS_SHARED_API System::String
ToString()
const override;
963 template <
typename T>
966 System::SharedPtr<System::Object> res;
967 if (this->GetCalculatedValue(key.
get_KeyType(), res))
969 return System::ExplicitCast<T>(res);
972 return this->container->template CheckPropAndGet<T>(key);
981 template <
typename T>
986 if (this->SetCalculatedValue(key.
get_KeyType(), System::ExplicitCast<System::Object>(val)))
991 this->container->template CheckPropAndSet<T>(key, val);
1011 ASPOSE_TASKS_SHARED_API System::SharedPtr<TimephasedDataCollection>
GetTimephasedData(System::DateTime start, System::DateTime end, TimephasedDataType timephasedType);
1018 ASPOSE_TASKS_SHARED_API System::SharedPtr<TimephasedDataCollection>
GetTimephasedData(System::DateTime start, System::DateTime end);
1022 static ASPOSE_TASKS_SHARED_API System::Guid& RootResourceGuid();
1023 static ASPOSE_TASKS_SHARED_API System::Guid& UnassignedResourceGuid();
1028 ASPOSE_TASKS_SHARED_API
void set_ParentProject(
const System::SharedPtr<Project>& value);
1037 ASPOSE_TASKS_SHARED_API
void set_ExtendedAttributes(
const System::SharedPtr<ExtendedAttributeCollection>& value);
1042 ASPOSE_TASKS_SHARED_API
void set_Baselines(
const System::SharedPtr<BaselineCollection>& value);
1052 ASPOSE_TASKS_SHARED_API
void set_OutlineCode(
const System::SharedPtr<OutlineCodeCollection>& value);
1057 ASPOSE_TASKS_SHARED_API
void set_AvailabilityPeriods(
const System::SharedPtr<AvailabilityPeriodCollection>& value);
1062 ASPOSE_TASKS_SHARED_API
void set_Rates(
const System::SharedPtr<RateCollection>& value);
1066 ASPOSE_TASKS_SHARED_API
void set_Assignments(
const System::SharedPtr<ResourceAssignmentCollection>& value);
1070 ASPOSE_TASKS_SHARED_API
const System::SharedPtr<Properties::ResourcePropertyCollection>& get_Properties()
const;
1071 ASPOSE_TASKS_SHARED_API System::Decimal get_BaselineCost();
1073 ASPOSE_TASKS_SHARED_API
Resource(
const System::SharedPtr<Project>& parentProject);
1075 ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(
Resource, CODEPORTING_ARGS(
const System::SharedPtr<Project>& parentProject));
1082 ASPOSE_TASKS_SHARED_API
Resource(
const System::String& name,
const System::SharedPtr<Project>& parentProject);
1084 ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(
Resource, CODEPORTING_ARGS(
const System::String& name,
const System::SharedPtr<Project>& parentProject));
1086 ASPOSE_TASKS_SHARED_API
Resource();
1088 ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(
Resource, CODEPORTING_ARGS());
1089 template <
typename T>
1092 this->container->template CheckPropAndSet<T>(key, val);
1098 ASPOSE_TASKS_SHARED_API
void SetAvailability(
const System::ArrayPtr<uint8_t>& value);
1099 ASPOSE_TASKS_SHARED_API
bool SetCalculatedValue(RscKey keyType,
const System::SharedPtr<System::Object>& v);
1100 ASPOSE_TASKS_SHARED_API
bool GetCalculatedValue(RscKey key, System::SharedPtr<System::Object>& res)
const;
1101 ASPOSE_TASKS_SHARED_API
void SetBaseline(BaselineType baselineType);
1102 ASPOSE_TASKS_SHARED_API
void ClearActuals();
1103 ASPOSE_TASKS_SHARED_API
double GetMaxUnitsForDate(System::DateTime date);
1104 ASPOSE_TASKS_SHARED_API System::String GetStandardRateString();
1105 ASPOSE_TASKS_SHARED_API System::String GetOvertimeRateString();
1107 virtual ASPOSE_TASKS_SHARED_API ~
Resource();
1109 #ifdef ASPOSE_GET_SHARED_MEMBERS
1110 ASPOSE_TASKS_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
1116 System::SharedPtr<PropertyContainer<RscKey>> container;
1117 System::SharedPtr<OutlineCodeCollection> outlineCode;
1118 System::SharedPtr<TimephasedDataCollection> timephasedData;
1119 System::WeakPtr<Project> pr_ParentProject;
1120 System::SharedPtr<ExtendedAttributeCollection> pr_ExtendedAttributes;
1121 System::SharedPtr<BaselineCollection> pr_Baselines;
1122 System::SharedPtr<AvailabilityPeriodCollection> pr_AvailabilityPeriods;
1123 System::SharedPtr<RateCollection> pr_Rates;
1124 System::SharedPtr<ResourceAssignmentCollection> pr_Assignments;
1126 ASPOSE_TASKS_SHARED_API
bool get_HasChildren()
override;
1127 ASPOSE_TASKS_SHARED_API System::SharedPtr<System::Collections::Generic::IEnumerable<System::SharedPtr<IExtendedAttributeParent>>> get_Items()
override;
1129 System::SharedPtr<Properties::ResourcePropertyCollection> pr_Properties;
1134 ASPOSE_TASKS_SHARED_API
void set_Properties(
const System::SharedPtr<Properties::ResourcePropertyCollection>& value);
1137 void SetBaselineValues(
const System::SharedPtr<Baseline>& bl);
1138 void SetBaselineTimephased(
const System::SharedPtr<Baseline>& bl);
1139 void ClearBaselineTD(TimephasedDataType workType, TimephasedDataType costType);
1140 void InitDefaultValues();
1141 void FillBaselineTDs(System::DateTime start, System::DateTime end, TimephasedDataType timephasedType,
const System::SharedPtr<System::Collections::Generic::IList<System::SharedPtr<Aspose::Tasks::TimephasedData>>>& timephased);
1142 void FillResourceCostTDs(System::DateTime start, System::DateTime end,
const System::SharedPtr<System::Collections::Generic::IList<System::SharedPtr<Aspose::Tasks::TimephasedData>>>& timephased);
1143 void FillResourceWorkTDs(System::DateTime start, System::DateTime end,
const System::SharedPtr<System::Collections::Generic::IList<System::SharedPtr<Aspose::Tasks::TimephasedData>>>& timephased);
1144 void AddBaselineTDs();
Represents duration in a project.
Definition: Duration.h:163
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:551
Represents a collection of ResourceAssignment objects.
Definition: ResourceAssignmentCollection.h:102
Represents a resource assignment in a project.
Definition: ResourceAssignment.h:219
Represents a collection of Resource objects.
Definition: ResourceCollection.h:102
Represents a resource in a project.
Definition: Resource.h:206
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:982
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:964
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