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 MppAvailabilityWriter;
81 class MPPRateTableReader;
83 class MPPResourceReader;
84 class MPPResourceWriter;
86 namespace PrimaveraXml
88 class PrimaveraCalendarNodeReader;
89 class PrimaveraResourceNodeReader;
90 class PrimaveraResourceRateNodeReader;
98 class AssignmentToRawValuesMapper;
99 class CalendarToRawValuesMapper;
100 class ExtendedAttributeDefinitionToRawValuesMapper;
101 class ProjectResourcesMapper;
102 class ResourceToRawValuesMapper;
108 class XerResourceRateReader;
109 class XerResourceReader;
110 class XerRoleWithRates;
115 class ResourceNodeReader;
116 class ResourceNodeWriter;
123 class LevelingAlgorithm;
126 class OutlineCodeCollection;
134 class ProjectIntegrityValidator;
138 class ResourcePropertyCollection;
140 class RateCollection;
141 enum class RateFormatType;
142 class ResourceAssignment;
143 class ResourceAssignmentCollection;
144 class ResourceCollection;
145 class ResourceFactory;
146 enum class ResourceType;
150 class HtmlResourceBaseLineTable;
151 class HtmlResourceExtendedAttributesTable;
152 class MpxSavingUtils;
153 class TemplateWriter;
154 class XerResourceRatesTable;
156 class TimephasedData;
157 class TimephasedDataCollection;
158 enum class TimephasedDataType : int8_t;
159 class TimephasedWorkCostSelector;
162 class CalculatedExtendedAttributeUtils;
163 class ExtendedAttributeChecker;
166 class FieldHelperInternal;
168 class RscFieldToValue;
171 namespace Visualization
173 class ApsReportBuilder;
174 class ApsReportCostOverrunsBuilder;
175 class ApsReportOverallocatedRscBuilder;
176 class ApsReportResourceCostOverviewBuilder;
177 class ApsReportRscOverviewBuilder;
178 class ApsResourceUsageBuilder;
179 class ApsResourceUsagePage;
180 class ResourceToColumnText;
182 enum class WorkGroupType;
187 namespace Collections
191 template <
typename>
class IEnumerable;
192 template <
typename>
class IList;
206 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
209 typedef Aspose::Tasks::IContainer<Aspose::Tasks::RscKey> BaseType;
210 typedef System::IEquatable<System::SharedPtr<Aspose::Tasks::Resource>> BaseType1;
211 typedef Aspose::Tasks::IExtendedAttributeParent BaseType2;
212 typedef Aspose::Tasks::IEntityWithNotes BaseType3;
213 typedef Aspose::Tasks::IEntityWithHyperlink BaseType4;
215 typedef ::System::BaseTypesInfo<BaseType, BaseType1, BaseType2, BaseType3, BaseType4> ThisTypeBaseTypesInfo;
216 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
218 friend class Aspose::Tasks::Calculations::ResourceOverAllocationCalculator;
219 friend class Aspose::Tasks::Calculations::ResourceAssignmentCostCalculator;
220 friend class Aspose::Tasks::Calculations::ResourceCalculator;
221 friend class Aspose::Tasks::Calculations::ResourceCostCalculator;
222 friend class Aspose::Tasks::Calculations::ResourceWorkCalculator;
223 friend class Aspose::Tasks::IO::MSProject::MppAvailabilityWriter;
224 friend class Aspose::Tasks::IO::PrimaveraXml::PrimaveraCalendarNodeReader;
225 friend class Aspose::Tasks::IO::PrimaveraXml::PrimaveraResourceNodeReader;
226 friend class Aspose::Tasks::IO::PrimaveraXml::PrimaveraResourceRateNodeReader;
227 friend class Aspose::Tasks::Leveling::LevelingAlgorithm;
230 friend class Aspose::Tasks::Filters::ResourceGuidFilter;
231 friend class Aspose::Tasks::ResourceFactory;
232 friend class Aspose::Tasks::ResourceFactory;
233 friend class Aspose::Tasks::IO::Pwa::InternalApi::Mapping::AssignmentToRawValuesMapper;
234 friend class Aspose::Tasks::IO::Pwa::InternalApi::Mapping::CalendarToRawValuesMapper;
235 friend class Aspose::Tasks::IO::Pwa::InternalApi::Mapping::ExtendedAttributeDefinitionToRawValuesMapper;
236 friend class Aspose::Tasks::IO::Pwa::InternalApi::Mapping::ResourceToRawValuesMapper;
237 friend class Aspose::Tasks::EVCalculator;
238 friend class Aspose::Tasks::ProjDateAdd;
239 friend class Aspose::Tasks::ProjDateConv;
240 friend class Aspose::Tasks::ProjDateDiff;
241 friend class Aspose::Tasks::ProjDateSub;
242 friend class Aspose::Tasks::ProjDurConv;
243 friend class Aspose::Tasks::ProjDurValue;
244 template<
typename FT0>
friend class Aspose::Tasks::Connectivity::MpdField;
245 friend class Aspose::Tasks::Connectivity::MpdOutlineCodeField;
246 friend class Aspose::Tasks::Connectivity::MpdReader;
247 friend class Aspose::Tasks::Connectivity::MpdResourceBaselineMapper;
248 friend class Aspose::Tasks::Connectivity::MpdResourceMapper;
249 friend class Aspose::Tasks::Connectivity::MspResourceMapper;
250 friend class Aspose::Tasks::Connectivity::PmResourceMapper;
251 friend class Aspose::Tasks::Connectivity::PmResourceRateMapper;
252 friend class Aspose::Tasks::IO::Html::HtmlResourceBaseLineTableReader;
253 friend class Aspose::Tasks::IO::Html::HtmlResourceExtAttributesTableReader;
254 friend class Aspose::Tasks::IO::Html::HtmlResourceTableReader;
255 friend class Aspose::Tasks::Visualization::ApsResourceUsagePage;
256 friend class Aspose::Tasks::IO::MSProject::MPPReader;
257 friend class Aspose::Tasks::IO::MSProject::MPP12ResourceReader;
258 friend class Aspose::Tasks::IO::MSProject::MPPResourceReader;
259 friend class Aspose::Tasks::IO::MSProject::MPP12ResourceWriter;
260 friend class Aspose::Tasks::IO::MSProject::MPP9ResourceReader;
261 friend class Aspose::Tasks::IO::MSProject::MPP9ResourceWriter;
262 friend class Aspose::Tasks::IO::MSProject::MPP14ResourceWriter;
263 friend class Aspose::Tasks::IO::MSProject::MPPAvailabilityReader;
264 friend class Aspose::Tasks::IO::MSProject::MPPRateTableReader;
265 friend class Aspose::Tasks::IO::MSProject::MPPResourceWriter;
266 friend class Aspose::Tasks::IO::Mpx::MpxReader;
267 friend class Aspose::Tasks::IO::Mpx::MpxUtils;
268 friend class Aspose::Tasks::IO::Xer::XerResourceRateReader;
269 friend class Aspose::Tasks::IO::Xer::XerResourceReader;
270 friend class Aspose::Tasks::IO::Xer::XerRoleWithRates;
271 friend class Aspose::Tasks::IO::Xer::XerUtils;
272 friend class Aspose::Tasks::IO::Pwa::InternalApi::Mapping::ProjectResourcesMapper;
273 friend class Aspose::Tasks::IO::Xml::ResourceNodeReader;
274 friend class Aspose::Tasks::IO::Xml::ResourceNodeWriter;
275 friend class Aspose::Tasks::IO::Xml::XmlReader;
276 friend class Aspose::Tasks::IO::Xml::XmlWriter;
277 friend class Aspose::Tasks::ProjectIntegrityValidator;
278 friend class Aspose::Tasks::AutoRecalculationState;
279 friend class Aspose::Tasks::ProjectState;
280 friend class Aspose::Tasks::EvaluationModeDatesResetter;
283 friend class Aspose::Tasks::Visualization::ApsReportBuilder;
285 friend class Aspose::Tasks::Saving::HtmlResourceBaseLineTable;
286 friend class Aspose::Tasks::Saving::HtmlResourceExtendedAttributesTable;
287 friend class Aspose::Tasks::Saving::MpxSavingUtils;
288 friend class Aspose::Tasks::Saving::XerResourceRatesTable;
289 friend class Aspose::Tasks::Saving::TemplateWriter;
290 friend class Aspose::Tasks::TimephasedWorkCostSelector;
291 friend class Aspose::Tasks::Util::CalculatedExtendedAttributeUtils;
292 friend class Aspose::Tasks::Util::ExtendedAttributeChecker;
293 friend class Aspose::Tasks::Util::Fields::FieldHelperInternal;
294 friend class Aspose::Tasks::Util::Fields::FieldToValue;
295 friend class Aspose::Tasks::Util::Fields::RscFieldToValue;
296 friend class Aspose::Tasks::Visualization::ApsResourceUsageBuilder;
297 friend class Aspose::Tasks::Visualization::ApsReportCostOverrunsBuilder;
298 friend class Aspose::Tasks::Visualization::ApsReportOverallocatedRscBuilder;
299 friend class Aspose::Tasks::Visualization::ApsReportResourceCostOverviewBuilder;
300 friend class Aspose::Tasks::Visualization::ApsReportRscOverviewBuilder;
301 friend class Aspose::Tasks::Visualization::ResourceToColumnText;
308 ASPOSE_TASKS_SHARED_API
const System::SharedPtr<Project>& get_ParentProject()
const override;
317 ASPOSE_TASKS_SHARED_API System::SharedPtr<ExtendedAttributeCollection> get_ExtendedAttributes()
override;
322 ASPOSE_TASKS_SHARED_API
const System::SharedPtr<BaselineCollection>& get_Baselines()
const;
332 ASPOSE_TASKS_SHARED_API System::SharedPtr<OutlineCodeCollection> get_OutlineCode()
const;
337 ASPOSE_TASKS_SHARED_API
const System::SharedPtr<AvailabilityPeriodCollection>& get_AvailabilityPeriods()
const;
342 ASPOSE_TASKS_SHARED_API
const System::SharedPtr<RateCollection>& get_Rates()
const;
346 ASPOSE_TASKS_SHARED_API
const System::SharedPtr<ResourceAssignmentCollection>& get_Assignments()
const;
351 ASPOSE_TASKS_SHARED_API System::SharedPtr<TimephasedDataCollection> get_TimephasedData();
356 ASPOSE_TASKS_SHARED_API
void set_TimephasedData(
const System::SharedPtr<TimephasedDataCollection>& value);
362 virtual ASPOSE_TASKS_SHARED_API
bool get_IsRoot();
366 ASPOSE_TASKS_SHARED_API CostAccrualType get_AccrueAt();
370 ASPOSE_TASKS_SHARED_API
void set_AccrueAt(CostAccrualType value);
374 ASPOSE_TASKS_SHARED_API System::String get_ActiveDirectoryGuid();
378 ASPOSE_TASKS_SHARED_API
void set_ActiveDirectoryGuid(
const System::String& value);
382 ASPOSE_TASKS_SHARED_API System::Decimal get_ActualCost();
386 ASPOSE_TASKS_SHARED_API
void set_ActualCost(System::Decimal value);
390 ASPOSE_TASKS_SHARED_API System::Decimal get_ActualOvertimeCost();
394 ASPOSE_TASKS_SHARED_API
void set_ActualOvertimeCost(System::Decimal value);
398 ASPOSE_TASKS_SHARED_API
Duration get_ActualOvertimeWork();
402 ASPOSE_TASKS_SHARED_API
void set_ActualOvertimeWork(
Duration value);
406 ASPOSE_TASKS_SHARED_API
Duration get_ActualOvertimeWorkProtected();
410 ASPOSE_TASKS_SHARED_API
void set_ActualOvertimeWorkProtected(
Duration value);
414 ASPOSE_TASKS_SHARED_API
Duration get_ActualWork();
418 ASPOSE_TASKS_SHARED_API
void set_ActualWork(
Duration value);
422 ASPOSE_TASKS_SHARED_API
Duration get_ActualWorkProtected();
426 ASPOSE_TASKS_SHARED_API
void set_ActualWorkProtected(
Duration value);
430 ASPOSE_TASKS_SHARED_API
double get_ACWP();
434 ASPOSE_TASKS_SHARED_API
void set_ACWP(
double value);
438 ASPOSE_TASKS_SHARED_API System::String get_AssignmentOwner();
442 ASPOSE_TASKS_SHARED_API
void set_AssignmentOwner(
const System::String& value);
446 ASPOSE_TASKS_SHARED_API System::String get_AssignmentOwnerGuid();
450 ASPOSE_TASKS_SHARED_API
void set_AssignmentOwnerGuid(
const System::String& value);
454 ASPOSE_TASKS_SHARED_API System::DateTime get_AvailableFrom();
458 ASPOSE_TASKS_SHARED_API
void set_AvailableFrom(System::DateTime value);
462 ASPOSE_TASKS_SHARED_API System::DateTime get_AvailableTo();
466 ASPOSE_TASKS_SHARED_API
void set_AvailableTo(System::DateTime value);
470 ASPOSE_TASKS_SHARED_API
double get_BCWP();
474 ASPOSE_TASKS_SHARED_API
void set_BCWP(
double value);
478 ASPOSE_TASKS_SHARED_API
double get_BCWS();
482 ASPOSE_TASKS_SHARED_API
void set_BCWS(
double value);
486 ASPOSE_TASKS_SHARED_API Aspose::Tasks::BookingType get_BookingType();
490 ASPOSE_TASKS_SHARED_API
void set_BookingType(Aspose::Tasks::BookingType value);
494 ASPOSE_TASKS_SHARED_API System::Decimal get_BudgetCost();
498 ASPOSE_TASKS_SHARED_API
void set_BudgetCost(System::Decimal value);
502 ASPOSE_TASKS_SHARED_API
Duration get_BudgetWork();
506 ASPOSE_TASKS_SHARED_API
void set_BudgetWork(
Duration value);
510 ASPOSE_TASKS_SHARED_API System::SharedPtr<Aspose::Tasks::Calendar> get_Calendar();
514 ASPOSE_TASKS_SHARED_API
void set_Calendar(
const System::SharedPtr<Aspose::Tasks::Calendar>& value);
522 ASPOSE_TASKS_SHARED_API
void set_CanLevel(
NullableBool value);
526 ASPOSE_TASKS_SHARED_API System::String get_Code();
530 ASPOSE_TASKS_SHARED_API
void set_Code(
const System::String& value);
534 ASPOSE_TASKS_SHARED_API System::Decimal get_Cost();
538 ASPOSE_TASKS_SHARED_API
void set_Cost(System::Decimal value);
542 ASPOSE_TASKS_SHARED_API System::String get_CostCenter();
546 ASPOSE_TASKS_SHARED_API
void set_CostCenter(
const System::String& value);
550 ASPOSE_TASKS_SHARED_API System::Decimal get_CostPerUse();
554 ASPOSE_TASKS_SHARED_API
void set_CostPerUse(System::Decimal value);
558 ASPOSE_TASKS_SHARED_API
double get_CostVariance();
562 ASPOSE_TASKS_SHARED_API
void set_CostVariance(
double value);
566 ASPOSE_TASKS_SHARED_API System::DateTime get_Created();
570 ASPOSE_TASKS_SHARED_API
void set_Created(System::DateTime value);
574 ASPOSE_TASKS_SHARED_API
double get_CV();
578 ASPOSE_TASKS_SHARED_API
void set_CV(
double value);
582 ASPOSE_TASKS_SHARED_API System::String get_EMailAddress();
586 ASPOSE_TASKS_SHARED_API
void set_EMailAddress(
const System::String& value);
590 ASPOSE_TASKS_SHARED_API System::DateTime get_Finish();
594 ASPOSE_TASKS_SHARED_API
void set_Finish(System::DateTime value);
598 ASPOSE_TASKS_SHARED_API System::String get_Group();
602 ASPOSE_TASKS_SHARED_API
void set_Group(
const System::String& value);
606 ASPOSE_TASKS_SHARED_API System::String get_Guid();
610 ASPOSE_TASKS_SHARED_API
void set_Guid(
const System::String& value);
614 ASPOSE_TASKS_SHARED_API System::String get_Hyperlink()
override;
618 ASPOSE_TASKS_SHARED_API
void set_Hyperlink(System::String value)
override;
623 ASPOSE_TASKS_SHARED_API System::String get_HyperlinkAddress()
override;
628 ASPOSE_TASKS_SHARED_API
void set_HyperlinkAddress(System::String value)
override;
633 ASPOSE_TASKS_SHARED_API System::String get_HyperlinkSubAddress()
override;
638 ASPOSE_TASKS_SHARED_API
void set_HyperlinkSubAddress(System::String value)
override;
642 ASPOSE_TASKS_SHARED_API int32_t get_Id();
646 ASPOSE_TASKS_SHARED_API
void set_Id(int32_t value);
654 ASPOSE_TASKS_SHARED_API
void set_Inactive(
NullableBool value);
658 ASPOSE_TASKS_SHARED_API System::String get_Initials();
662 ASPOSE_TASKS_SHARED_API
void set_Initials(
const System::String& value);
670 ASPOSE_TASKS_SHARED_API
void set_IsBudget(
NullableBool value);
674 ASPOSE_TASKS_SHARED_API
NullableBool get_IsCostResource();
678 ASPOSE_TASKS_SHARED_API
void set_IsCostResource(
NullableBool value);
682 ASPOSE_TASKS_SHARED_API
NullableBool get_IsEnterprise();
686 ASPOSE_TASKS_SHARED_API
void set_IsEnterprise(
NullableBool value);
694 ASPOSE_TASKS_SHARED_API
void set_IsGeneric(
NullableBool value);
702 ASPOSE_TASKS_SHARED_API
void set_IsNull(
NullableBool value);
706 ASPOSE_TASKS_SHARED_API
bool get_IsTeamAssignmentPool();
710 ASPOSE_TASKS_SHARED_API
void set_IsTeamAssignmentPool(
bool value);
714 ASPOSE_TASKS_SHARED_API System::String get_MaterialLabel();
718 ASPOSE_TASKS_SHARED_API
void set_MaterialLabel(
const System::String& value);
722 ASPOSE_TASKS_SHARED_API
double get_MaxUnits();
726 ASPOSE_TASKS_SHARED_API
void set_MaxUnits(
double value);
730 ASPOSE_TASKS_SHARED_API System::String get_Name();
734 ASPOSE_TASKS_SHARED_API
void set_Name(
const System::String& value);
738 ASPOSE_TASKS_SHARED_API System::String get_NotesRTF()
override;
742 ASPOSE_TASKS_SHARED_API
void set_NotesRTF(System::String value)
override;
746 ASPOSE_TASKS_SHARED_API System::String get_NotesText()
override;
750 ASPOSE_TASKS_SHARED_API
void set_NotesText(System::String value)
override;
754 ASPOSE_TASKS_SHARED_API
NullableBool get_Overallocated();
758 ASPOSE_TASKS_SHARED_API
void set_Overallocated(
NullableBool value);
762 ASPOSE_TASKS_SHARED_API System::Decimal get_OvertimeCost();
766 ASPOSE_TASKS_SHARED_API
void set_OvertimeCost(System::Decimal value);
770 ASPOSE_TASKS_SHARED_API System::Decimal get_OvertimeRate();
774 ASPOSE_TASKS_SHARED_API
void set_OvertimeRate(System::Decimal value);
778 ASPOSE_TASKS_SHARED_API RateFormatType get_OvertimeRateFormat();
782 ASPOSE_TASKS_SHARED_API
void set_OvertimeRateFormat(RateFormatType value);
786 ASPOSE_TASKS_SHARED_API
Duration get_OvertimeWork();
790 ASPOSE_TASKS_SHARED_API
void set_OvertimeWork(
Duration value);
794 ASPOSE_TASKS_SHARED_API
double get_PeakUnits();
798 ASPOSE_TASKS_SHARED_API
void set_PeakUnits(
double value);
802 ASPOSE_TASKS_SHARED_API int32_t get_PercentWorkComplete();
806 ASPOSE_TASKS_SHARED_API
void set_PercentWorkComplete(int32_t value);
810 ASPOSE_TASKS_SHARED_API System::String get_Phonetics();
814 ASPOSE_TASKS_SHARED_API
void set_Phonetics(
const System::String& value);
818 ASPOSE_TASKS_SHARED_API
Duration get_RegularWork();
822 ASPOSE_TASKS_SHARED_API
void set_RegularWork(
Duration value);
826 ASPOSE_TASKS_SHARED_API System::Decimal get_RemainingCost();
830 ASPOSE_TASKS_SHARED_API
void set_RemainingCost(System::Decimal value);
834 ASPOSE_TASKS_SHARED_API System::Decimal get_RemainingOvertimeCost();
838 ASPOSE_TASKS_SHARED_API
void set_RemainingOvertimeCost(System::Decimal value);
842 ASPOSE_TASKS_SHARED_API
Duration get_RemainingOvertimeWork();
846 ASPOSE_TASKS_SHARED_API
void set_RemainingOvertimeWork(
Duration value);
850 ASPOSE_TASKS_SHARED_API
Duration get_RemainingWork();
854 ASPOSE_TASKS_SHARED_API
void set_RemainingWork(
Duration value);
858 ASPOSE_TASKS_SHARED_API System::Decimal get_StandardRate();
862 ASPOSE_TASKS_SHARED_API
void set_StandardRate(System::Decimal value);
866 ASPOSE_TASKS_SHARED_API RateFormatType get_StandardRateFormat();
870 ASPOSE_TASKS_SHARED_API
void set_StandardRateFormat(RateFormatType value);
874 ASPOSE_TASKS_SHARED_API System::DateTime get_Start();
878 ASPOSE_TASKS_SHARED_API
void set_Start(System::DateTime value);
882 ASPOSE_TASKS_SHARED_API
double get_SV();
886 ASPOSE_TASKS_SHARED_API
void set_SV(
double value);
890 ASPOSE_TASKS_SHARED_API ResourceType get_Type();
894 ASPOSE_TASKS_SHARED_API
void set_Type(ResourceType value);
898 ASPOSE_TASKS_SHARED_API int32_t get_Uid();
902 ASPOSE_TASKS_SHARED_API
void set_Uid(int32_t value);
906 ASPOSE_TASKS_SHARED_API System::String get_WindowsUserAccount();
910 ASPOSE_TASKS_SHARED_API
void set_WindowsUserAccount(
const System::String& value);
914 ASPOSE_TASKS_SHARED_API
Duration get_Work();
918 ASPOSE_TASKS_SHARED_API
void set_Work(
Duration value);
922 ASPOSE_TASKS_SHARED_API WorkGroupType get_Workgroup();
926 ASPOSE_TASKS_SHARED_API
void set_Workgroup(WorkGroupType value);
930 ASPOSE_TASKS_SHARED_API
double get_WorkVariance();
934 ASPOSE_TASKS_SHARED_API
void set_WorkVariance(
double value);
941 ASPOSE_TASKS_SHARED_API
bool Equals(System::SharedPtr<Resource> other)
override;
947 ASPOSE_TASKS_SHARED_API
bool Equals(System::SharedPtr<System::Object> obj)
override;
952 ASPOSE_TASKS_SHARED_API int32_t GetHashCode()
const override;
958 ASPOSE_TASKS_SHARED_API System::String ToString()
const override;
965 template <
typename T>
968 System::SharedPtr<System::Object> res;
969 if (this->GetCalculatedValue(key.
get_KeyType(), res))
971 return System::ExplicitCast<T>(res);
974 return this->container->template CheckPropAndGet<T>(key);
983 template <
typename T>
988 if (this->SetCalculatedValue(key.
get_KeyType(), System::ExplicitCast<System::Object>(val)))
993 this->container->template CheckPropAndSet<T>(key, val);
1005 ASPOSE_TASKS_SHARED_API
void Delete();
1013 ASPOSE_TASKS_SHARED_API System::SharedPtr<TimephasedDataCollection> GetTimephasedData(System::DateTime start, System::DateTime end, TimephasedDataType timephasedType);
1020 ASPOSE_TASKS_SHARED_API System::SharedPtr<TimephasedDataCollection> GetTimephasedData(System::DateTime start, System::DateTime end);
1024 static ASPOSE_TASKS_SHARED_API System::Guid& RootResourceGuid();
1025 static ASPOSE_TASKS_SHARED_API System::Guid& UnassignedResourceGuid();
1030 ASPOSE_TASKS_SHARED_API
void set_ParentProject(
const System::SharedPtr<Project>& value);
1039 ASPOSE_TASKS_SHARED_API
void set_ExtendedAttributes(
const System::SharedPtr<ExtendedAttributeCollection>& value);
1044 ASPOSE_TASKS_SHARED_API
void set_Baselines(
const System::SharedPtr<BaselineCollection>& value);
1054 ASPOSE_TASKS_SHARED_API
void set_OutlineCode(
const System::SharedPtr<OutlineCodeCollection>& value);
1059 ASPOSE_TASKS_SHARED_API
void set_AvailabilityPeriods(
const System::SharedPtr<AvailabilityPeriodCollection>& value);
1064 ASPOSE_TASKS_SHARED_API
void set_Rates(
const System::SharedPtr<RateCollection>& value);
1068 ASPOSE_TASKS_SHARED_API
void set_Assignments(
const System::SharedPtr<ResourceAssignmentCollection>& value);
1072 ASPOSE_TASKS_SHARED_API
const System::SharedPtr<Properties::ResourcePropertyCollection>& get_Properties()
const;
1073 ASPOSE_TASKS_SHARED_API System::Decimal get_BaselineCost();
1075 ASPOSE_TASKS_SHARED_API
Resource(
const System::SharedPtr<Project>& parentProject);
1077 ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(
Resource, CODEPORTING_ARGS(
const System::SharedPtr<Project>& parentProject));
1084 ASPOSE_TASKS_SHARED_API
Resource(
const System::String& name,
const System::SharedPtr<Project>& parentProject);
1086 ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(
Resource, CODEPORTING_ARGS(
const System::String& name,
const System::SharedPtr<Project>& parentProject));
1088 ASPOSE_TASKS_SHARED_API
Resource();
1090 ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(
Resource, CODEPORTING_ARGS());
1091 template <
typename T>
1094 this->container->template CheckPropAndSet<T>(key, val);
1100 ASPOSE_TASKS_SHARED_API
void SetAvailability(
const System::ArrayPtr<uint8_t>& value);
1101 ASPOSE_TASKS_SHARED_API
bool SetCalculatedValue(RscKey keyType,
const System::SharedPtr<System::Object>& v);
1102 ASPOSE_TASKS_SHARED_API
bool GetCalculatedValue(RscKey key, System::SharedPtr<System::Object>& res)
const;
1103 ASPOSE_TASKS_SHARED_API
void SetBaseline(BaselineType baselineType);
1104 ASPOSE_TASKS_SHARED_API
void ClearActuals();
1105 ASPOSE_TASKS_SHARED_API
double GetMaxUnitsForDate(System::DateTime date);
1106 ASPOSE_TASKS_SHARED_API System::String GetStandardRateString();
1107 ASPOSE_TASKS_SHARED_API System::String GetOvertimeRateString();
1109 virtual ASPOSE_TASKS_SHARED_API ~Resource();
1111 #ifdef ASPOSE_GET_SHARED_MEMBERS
1112 ASPOSE_TASKS_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
1118 System::SharedPtr<PropertyContainer<RscKey>> container;
1119 System::SharedPtr<OutlineCodeCollection> outlineCode;
1120 System::SharedPtr<TimephasedDataCollection> timephasedData;
1121 System::WeakPtr<Project> pr_ParentProject;
1122 System::SharedPtr<ExtendedAttributeCollection> pr_ExtendedAttributes;
1123 System::SharedPtr<BaselineCollection> pr_Baselines;
1124 System::SharedPtr<AvailabilityPeriodCollection> pr_AvailabilityPeriods;
1125 System::SharedPtr<RateCollection> pr_Rates;
1126 System::SharedPtr<ResourceAssignmentCollection> pr_Assignments;
1128 ASPOSE_TASKS_SHARED_API
bool get_HasChildren()
override;
1129 ASPOSE_TASKS_SHARED_API System::SharedPtr<System::Collections::Generic::IEnumerable<System::SharedPtr<IExtendedAttributeParent>>> get_Items()
override;
1131 System::SharedPtr<Properties::ResourcePropertyCollection> pr_Properties;
1136 ASPOSE_TASKS_SHARED_API
void set_Properties(
const System::SharedPtr<Properties::ResourcePropertyCollection>& value);
1139 void SetBaselineValues(
const System::SharedPtr<Baseline>& bl);
1140 void SetBaselineTimephased(
const System::SharedPtr<Baseline>& bl);
1141 void ClearBaselineTD(TimephasedDataType workType, TimephasedDataType costType);
1142 void InitDefaultValues();
1143 void FillBaselineTDs(System::DateTime start, System::DateTime end, TimephasedDataType timephasedType,
const System::SharedPtr<System::Collections::Generic::IList<System::SharedPtr<Aspose::Tasks::TimephasedData>>>& timephased);
1144 void FillResourceCostTDs(System::DateTime start, System::DateTime end,
const System::SharedPtr<System::Collections::Generic::IList<System::SharedPtr<Aspose::Tasks::TimephasedData>>>& timephased);
1145 void FillResourceWorkTDs(System::DateTime start, System::DateTime end,
const System::SharedPtr<System::Collections::Generic::IList<System::SharedPtr<Aspose::Tasks::TimephasedData>>>& timephased);
1146 void AddBaselineTDs();
Allows to specify additional options when saving project to CSV.
Definition: CsvOptions.h:52
T Get(const Key< T, RscKey > &key) const
Returns the value to which the property is mapped in this container.
Definition: Resource.h:966
Represents duration in a project.
Definition: Duration.h:162
K get_KeyType() const
Gets the key of the property.
Definition: Key.h:119
Represents a collection of Resource objects.
Definition: ResourceCollection.h:101
A class for boolean values with possibility to check whether the value was defined or not...
Definition: NullableBool.h:21
Represents a project.
Definition: Project.h:551
Represents a resource assignment in a project.
Definition: ResourceAssignment.h:221
void Set(const Key< T, RscKey > &key, const T &val)
Maps the specified property to the specified value in this container.
Definition: Resource.h:984
Represents a property key of a class of the specified type. An instance of this class is used when ge...
Definition: Asn.h:19
Represents a collection of ResourceAssignment objects.
Definition: ResourceAssignmentCollection.h:101
Represents a resource in a project.
Definition: Resource.h:206