8 #include <system/object_ext.h>
9 #include <system/iequatable.h>
10 #include <system/date_time.h>
11 #include <system/array.h>
14 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
15 #include "aspose.tasks.cpp/IEntityWithNotes.h"
16 #include "aspose.tasks.cpp/IEntityWithHyperlink.h"
17 #include "aspose.tasks.cpp/IContainer.h"
18 #include "aspose.tasks.cpp/Enums/RscKey.h"
19 #include "aspose.tasks.cpp/IExtendedAttributeParent.h"
20 #include "aspose.tasks.cpp/Key.h"
21 #include "aspose.tasks.cpp/PropertyContainer.h"
27 class AutoRecalculationState;
28 class AvailabilityPeriodCollection;
30 class BaselineCollection;
31 enum class BaselineType;
32 enum class BookingType;
33 namespace Calculations
35 class ActualTimephasedDataUpdater;
36 class ResourceAssignmentCostCalculator;
37 class ResourceCalculator;
38 class ResourceCostCalculator;
39 class ResourceOverAllocationCalculator;
40 class ResourceWorkCalculator;
43 namespace Connectivity
45 template <
typename>
class MpdField;
46 class MpdOutlineCodeField;
48 class MpdResourceBaselineMapper;
49 class MpdResourceMapper;
50 class MspResourceMapper;
51 class PmResourceMapper;
52 class PmResourceRateMapper;
54 enum class CostAccrualType;
56 class EvaluationModeDatesResetter;
58 class ExtendedAttributeCollection;
61 class ResourceGuidFilter;
67 class HtmlResourceBaseLineTableReader;
68 class HtmlResourceExtAttributesTableReader;
69 class HtmlResourceTableReader;
78 class MPP12ResourceReader;
79 class MPP12ResourceWriter;
80 class MPP14ResourceWriter;
81 class MPP9ResourceReader;
82 class MPP9ResourceWriter;
83 class MPPAvailabilityReader;
84 class MppAvailabilityWriter;
85 class MPPRateTableReader;
87 class MPPResourceReader;
88 class MPPResourceWriter;
90 namespace PrimaveraXml
92 class PrimaveraCalendarNodeReader;
93 class PrimaveraResourceNodeReader;
94 class PrimaveraResourceRateNodeReader;
102 class AssignmentToRawValuesMapper;
103 template <
typename>
class BinaryDataPropertyMapper;
104 class CalendarToRawValuesMapper;
105 class ExtendedAttributeDefinitionToRawValuesMapper;
106 template <
typename>
class ExtendedAttributeParentEntityToRawValuesMapper;
107 template <
typename>
class ProjectCoreEntityMapperBase;
108 class ProjectResourcesMapper;
109 class ResourceToRawValuesMapper;
115 class XerResourceRateReader;
116 class XerResourceReader;
117 class XerRoleWithRates;
122 class ResourceNodeReader;
123 class ResourceNodeWriter;
130 class LevelingAlgorithm;
133 class OutlineCodeCollection;
141 class ProjectIntegrityValidator;
145 class ResourcePropertyCollection;
147 class RateCollection;
148 enum class RateFormatType;
149 class ResourceAssignment;
150 class ResourceAssignmentCollection;
151 class ResourceCollection;
152 class ResourceFactory;
153 enum class ResourceType;
157 class HtmlResourceBaseLineTable;
158 class HtmlResourceExtendedAttributesTable;
159 class MpxSavingUtils;
160 class TemplateWriter;
161 class XerResourceRatesTable;
163 class TimephasedData;
164 class TimephasedDataCollection;
165 enum class TimephasedDataType : int8_t;
166 class TimephasedWorkCostSelector;
169 class CalculatedExtendedAttributeUtils;
170 class ExtendedAttributeChecker;
173 class FieldHelperInternal;
175 class RscFieldToValue;
178 namespace Visualization
180 class ApsReportBuilder;
181 class ApsReportCostOverrunsBuilder;
182 class ApsReportOverallocatedRscBuilder;
183 class ApsReportResourceCostOverviewBuilder;
184 class ApsReportRscOverviewBuilder;
185 class ApsResourceUsageBuilder;
186 class ApsResourceUsagePage;
187 class ResourceToColumnText;
189 enum class WorkGroupType;
194 namespace Collections
198 template <
typename>
class IEnumerable;
199 template <
typename>
class IList;
213 class ASPOSE_TASKS_SHARED_CLASS
Resource :
public IEntityWithNotes,
public IEntityWithHyperlink,
public IContainer<RscKey>,
public System::IEquatable<System::SharedPtr<Resource>>,
public IExtendedAttributeParent
216 typedef IEntityWithNotes BaseType;
217 typedef IEntityWithHyperlink BaseType1;
218 typedef IContainer<RscKey> BaseType2;
219 typedef System::IEquatable<System::SharedPtr<Resource>> BaseType3;
220 typedef IExtendedAttributeParent BaseType4;
222 typedef ::System::BaseTypesInfo<BaseType, BaseType1, BaseType2, BaseType3, BaseType4> ThisTypeBaseTypesInfo;
223 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
226 friend class Aspose::Tasks::IO::PrimaveraXml::PrimaveraResourceNodeReader;
227 friend class EVCalculator;
228 friend class Aspose::Tasks::Connectivity::MpdResourceMapper;
229 friend class Aspose::Tasks::IO::MSProject::MPPResourceReader;
230 friend class Aspose::Tasks::Saving::HtmlResourceExtendedAttributesTable;
231 friend class Aspose::Tasks::Calculations::ResourceCalculator;
232 friend class Aspose::Tasks::Leveling::LevelingAlgorithm;
233 friend class Aspose::Tasks::Util::Fields::RscFieldToValue;
234 friend class Aspose::Tasks::Calculations::ResourceCostCalculator;
235 friend class Aspose::Tasks::Visualization::ApsReportCostOverrunsBuilder;
236 friend class Aspose::Tasks::Connectivity::MspResourceMapper;
237 friend class Aspose::Tasks::IO::Pwa::InternalApi::Mapping::AssignmentToRawValuesMapper;
238 friend class Aspose::Tasks::IO::MSProject::MPP12ResourceWriter;
239 friend class Aspose::Tasks::Util::CalculatedExtendedAttributeUtils;
240 friend class Aspose::Tasks::IO::MSProject::MppAvailabilityWriter;
241 friend class Aspose::Tasks::IO::Xml::ResourceNodeReader;
242 friend class Aspose::Tasks::IO::Xer::XerUtils;
243 friend class Aspose::Tasks::Calculations::ResourceWorkCalculator;
244 friend class Aspose::Tasks::Saving::TemplateWriter;
246 friend class Aspose::Tasks::IO::Html::HtmlResourceExtAttributesTableReader;
247 template<
typename FT0>
friend class Aspose::Tasks::IO::Pwa::InternalApi::Mapping::ProjectCoreEntityMapperBase;
248 friend class Aspose::Tasks::Visualization::ApsReportOverallocatedRscBuilder;
249 friend class Aspose::Tasks::Visualization::ApsReportRscOverviewBuilder;
250 template<
typename FT0>
friend class Aspose::Tasks::Connectivity::MpdField;
251 friend class AutoRecalculationState;
252 friend class ProjectIntegrityValidator;
253 friend class Aspose::Tasks::Saving::MpxSavingUtils;
254 friend class Aspose::Tasks::Connectivity::MpdResourceBaselineMapper;
255 friend class Aspose::Tasks::IO::Xer::XerResourceReader;
256 friend class EvaluationModeDatesResetter;
257 friend class Aspose::Tasks::Saving::HtmlResourceBaseLineTable;
258 friend class Aspose::Tasks::Visualization::ApsReportResourceCostOverviewBuilder;
259 friend class ProjDateAdd;
260 friend class Aspose::Tasks::Util::ExtendedAttributeChecker;
262 friend class Aspose::Tasks::Connectivity::PmResourceRateMapper;
263 friend class Aspose::Tasks::IO::Mpx::MpxUtils;
264 friend class ProjDurConv;
265 friend class Aspose::Tasks::IO::PrimaveraXml::PrimaveraCalendarNodeReader;
266 friend class ResourceFactory;
267 friend class ProjDateConv;
268 friend class TimephasedWorkCostSelector;
269 friend class Aspose::Tasks::IO::MSProject::MPP14ResourceWriter;
270 friend class Aspose::Tasks::Calculations::ResourceAssignmentCostCalculator;
271 friend class Aspose::Tasks::IO::Html::HtmlResourceBaseLineTableReader;
272 friend class Aspose::Tasks::Util::Fields::FieldToValue;
273 friend class Aspose::Tasks::IO::Pwa::InternalApi::Mapping::ResourceToRawValuesMapper;
274 friend class Aspose::Tasks::IO::Mpx::MpxReader;
275 friend class Aspose::Tasks::IO::Xer::XerResourceRateReader;
276 friend class Aspose::Tasks::IO::MSProject::MPPResourceWriter;
277 friend class Aspose::Tasks::IO::MSProject::MPPReader;
278 friend class Aspose::Tasks::IO::Xml::ResourceNodeWriter;
279 friend class Aspose::Tasks::Calculations::ActualTimephasedDataUpdater;
280 template<
typename FT0>
friend class Aspose::Tasks::IO::Pwa::InternalApi::Mapping::BinaryDataPropertyMapper;
281 friend class Aspose::Tasks::IO::PrimaveraXml::PrimaveraResourceRateNodeReader;
282 friend class Aspose::Tasks::Visualization::ApsResourceUsageBuilder;
283 template<
typename FT0>
friend class Aspose::Tasks::IO::Pwa::InternalApi::Mapping::ExtendedAttributeParentEntityToRawValuesMapper;
284 friend class Aspose::Tasks::IO::MSProject::MPP9ResourceReader;
285 friend class Aspose::Tasks::Connectivity::PmResourceMapper;
286 friend class Aspose::Tasks::Saving::XerResourceRatesTable;
287 friend class Aspose::Tasks::IO::Xml::XmlWriter;
288 friend class ProjDateDiff;
290 friend class Aspose::Tasks::Connectivity::MpdReader;
291 friend class Aspose::Tasks::IO::Xml::XmlReader;
292 friend class Aspose::Tasks::IO::MSProject::MPP9ResourceWriter;
293 friend class Aspose::Tasks::Visualization::ResourceToColumnText;
294 friend class Aspose::Tasks::IO::MSProject::MPPAvailabilityReader;
295 friend class Aspose::Tasks::Filters::ResourceGuidFilter;
296 friend class ResourceFactory;
297 friend class Aspose::Tasks::IO::MSProject::MPP12ResourceReader;
298 friend class Aspose::Tasks::IO::Pwa::InternalApi::Mapping::ExtendedAttributeDefinitionToRawValuesMapper;
299 friend class Aspose::Tasks::Connectivity::MpdOutlineCodeField;
300 friend class Aspose::Tasks::Util::Fields::FieldHelperInternal;
301 friend class ProjDateSub;
302 friend class Aspose::Tasks::Visualization::ApsReportBuilder;
303 friend class Aspose::Tasks::Calculations::ResourceOverAllocationCalculator;
304 friend class Aspose::Tasks::IO::Pwa::InternalApi::Mapping::ProjectResourcesMapper;
305 friend class ProjDurValue;
306 friend class Aspose::Tasks::IO::Xer::XerRoleWithRates;
308 friend class ProjectState;
309 friend class Aspose::Tasks::IO::Pwa::InternalApi::Mapping::CalendarToRawValuesMapper;
310 friend class Aspose::Tasks::IO::Html::HtmlResourceTableReader;
311 friend class Aspose::Tasks::Visualization::ApsResourceUsagePage;
312 friend class Aspose::Tasks::IO::MSProject::MPPRateTableReader;
387 ASPOSE_TASKS_SHARED_API
void set_ACWP(
double value);
427 ASPOSE_TASKS_SHARED_API
void set_BCWP(
double value);
435 ASPOSE_TASKS_SHARED_API
void set_BCWS(
double value);
463 ASPOSE_TASKS_SHARED_API System::SharedPtr<Aspose::Tasks::Calendar>
get_Calendar();
467 ASPOSE_TASKS_SHARED_API
void set_Calendar(
const System::SharedPtr<Aspose::Tasks::Calendar>& value);
483 ASPOSE_TASKS_SHARED_API
void set_Code(
const System::String& value);
487 ASPOSE_TASKS_SHARED_API System::Decimal
get_Cost();
491 ASPOSE_TASKS_SHARED_API
void set_Cost(System::Decimal value);
531 ASPOSE_TASKS_SHARED_API
void set_CV(
double value);
547 ASPOSE_TASKS_SHARED_API
void set_Finish(System::DateTime value);
555 ASPOSE_TASKS_SHARED_API
void set_Group(
const System::String& value);
563 ASPOSE_TASKS_SHARED_API
void set_Guid(
const System::String& value);
595 ASPOSE_TASKS_SHARED_API int32_t
get_Id();
599 ASPOSE_TASKS_SHARED_API
void set_Id(int32_t value);
615 ASPOSE_TASKS_SHARED_API
void set_Initials(
const System::String& value);
687 ASPOSE_TASKS_SHARED_API
void set_Name(
const System::String& value);
695 ASPOSE_TASKS_SHARED_API
void set_NotesRTF(System::String value)
override;
831 ASPOSE_TASKS_SHARED_API
void set_Start(System::DateTime value);
839 ASPOSE_TASKS_SHARED_API
void set_SV(
double value);
847 ASPOSE_TASKS_SHARED_API
void set_Type(ResourceType value);
855 ASPOSE_TASKS_SHARED_API
void set_Uid(int32_t value);
905 ASPOSE_TASKS_SHARED_API
const System::SharedPtr<BaselineCollection>&
get_Baselines()
const;
915 ASPOSE_TASKS_SHARED_API System::SharedPtr<OutlineCodeCollection>
get_OutlineCode()
const;
925 ASPOSE_TASKS_SHARED_API
const System::SharedPtr<RateCollection>&
get_Rates()
const;
929 ASPOSE_TASKS_SHARED_API
const System::SharedPtr<ResourceAssignmentCollection>&
get_Assignments()
const;
939 ASPOSE_TASKS_SHARED_API
void set_TimephasedData(
const System::SharedPtr<TimephasedDataCollection>& value);
952 ASPOSE_TASKS_SHARED_API
bool Equals(System::SharedPtr<Resource> other)
override;
958 ASPOSE_TASKS_SHARED_API
bool Equals(System::SharedPtr<System::Object> obj)
override;
969 ASPOSE_TASKS_SHARED_API System::String
ToString()
const override;
979 System::SharedPtr<System::Object> res;
980 if (this->GetCalculatedValue(key.
get_KeyType(), res))
982 return System::ExplicitCast<T>(res);
985 return this->container->template CheckPropAndGet<T>(key);
999 if (this->SetCalculatedValue(key.
get_KeyType(), System::ExplicitCast<System::Object>(val)))
1004 this->container->template CheckPropAndSet<T>(key, val);
1024 ASPOSE_TASKS_SHARED_API System::SharedPtr<TimephasedDataCollection>
GetTimephasedData(System::DateTime start, System::DateTime end, TimephasedDataType timephasedType);
1031 ASPOSE_TASKS_SHARED_API System::SharedPtr<TimephasedDataCollection>
GetTimephasedData(System::DateTime start, System::DateTime end);
1035 static ASPOSE_TASKS_SHARED_API System::Guid& RootResourceGuid();
1036 static ASPOSE_TASKS_SHARED_API System::Guid& UnassignedResourceGuid();
1041 ASPOSE_TASKS_SHARED_API
void set_ParentProject(
const System::SharedPtr<Project>& value);
1050 ASPOSE_TASKS_SHARED_API
void set_ExtendedAttributes(
const System::SharedPtr<ExtendedAttributeCollection>& value);
1055 ASPOSE_TASKS_SHARED_API
void set_Baselines(
const System::SharedPtr<BaselineCollection>& value);
1065 ASPOSE_TASKS_SHARED_API
void set_OutlineCode(
const System::SharedPtr<OutlineCodeCollection>& value);
1070 ASPOSE_TASKS_SHARED_API
void set_AvailabilityPeriods(
const System::SharedPtr<AvailabilityPeriodCollection>& value);
1075 ASPOSE_TASKS_SHARED_API
void set_Rates(
const System::SharedPtr<RateCollection>& value);
1079 ASPOSE_TASKS_SHARED_API
void set_Assignments(
const System::SharedPtr<ResourceAssignmentCollection>& value);
1083 ASPOSE_TASKS_SHARED_API
const System::SharedPtr<Properties::ResourcePropertyCollection>& get_Properties()
const;
1084 ASPOSE_TASKS_SHARED_API System::Decimal get_BaselineCost();
1086 ASPOSE_TASKS_SHARED_API
Resource(
const System::SharedPtr<Project>& parentProject);
1088 ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(
Resource, CODEPORTING_ARGS(
const System::SharedPtr<Project>& parentProject));
1095 ASPOSE_TASKS_SHARED_API
Resource(
const System::String& name,
const System::SharedPtr<Project>& parentProject);
1097 ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(
Resource, CODEPORTING_ARGS(
const System::String& name,
const System::SharedPtr<Project>& parentProject));
1099 ASPOSE_TASKS_SHARED_API
Resource();
1101 ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(
Resource, CODEPORTING_ARGS());
1103 template<
typename T>
1106 this->container->template CheckPropAndSet<T>(key, val);
1112 ASPOSE_TASKS_SHARED_API
void SetAvailability(
const System::ArrayPtr<uint8_t>& value);
1113 ASPOSE_TASKS_SHARED_API
bool SetCalculatedValue(RscKey keyType,
const System::SharedPtr<System::Object>& v);
1114 ASPOSE_TASKS_SHARED_API
bool GetCalculatedValue(RscKey key, System::SharedPtr<System::Object>& res)
const;
1115 ASPOSE_TASKS_SHARED_API
void SetBaseline(BaselineType baselineType);
1116 ASPOSE_TASKS_SHARED_API
void ClearActuals();
1117 ASPOSE_TASKS_SHARED_API
double GetMaxUnitsForDate(System::DateTime date);
1118 ASPOSE_TASKS_SHARED_API System::String GetStandardRateString();
1119 ASPOSE_TASKS_SHARED_API System::String GetOvertimeRateString();
1121 ASPOSE_TASKS_SHARED_API
virtual ~
Resource();
1123 #ifdef ASPOSE_GET_SHARED_MEMBERS
1124 ASPOSE_TASKS_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
1130 System::SharedPtr<PropertyContainer<RscKey>> container;
1131 System::SharedPtr<OutlineCodeCollection> outlineCode;
1132 System::SharedPtr<TimephasedDataCollection> timephasedData;
1133 System::WeakPtr<Project> pr_ParentProject;
1134 System::SharedPtr<ExtendedAttributeCollection> pr_ExtendedAttributes;
1135 System::SharedPtr<BaselineCollection> pr_Baselines;
1136 System::SharedPtr<AvailabilityPeriodCollection> pr_AvailabilityPeriods;
1137 System::SharedPtr<RateCollection> pr_Rates;
1138 System::SharedPtr<ResourceAssignmentCollection> pr_Assignments;
1140 bool get_HasChildren()
override;
1141 System::SharedPtr<System::Collections::Generic::IEnumerable<System::SharedPtr<IExtendedAttributeParent>>> get_Items()
override;
1143 System::SharedPtr<Properties::ResourcePropertyCollection> pr_Properties;
1148 ASPOSE_TASKS_SHARED_API
void set_Properties(
const System::SharedPtr<Properties::ResourcePropertyCollection>& value);
1151 void SetBaselineValues(
const System::SharedPtr<Baseline>& bl);
1152 void SetBaselineTimephased(
const System::SharedPtr<Baseline>& bl);
1153 void ClearBaselineTD(TimephasedDataType workType, TimephasedDataType costType);
1154 void InitDefaultValues();
1155 void FillBaselineTDs(System::DateTime start, System::DateTime end, TimephasedDataType timephasedType,
const System::SharedPtr<System::Collections::Generic::IList<System::SharedPtr<Aspose::Tasks::TimephasedData>>>& timephased);
1156 void FillResourceCostTDs(System::DateTime start, System::DateTime end,
const System::SharedPtr<System::Collections::Generic::IList<System::SharedPtr<Aspose::Tasks::TimephasedData>>>& timephased);
1157 void FillResourceWorkTDs(System::DateTime start, System::DateTime end,
const System::SharedPtr<System::Collections::Generic::IList<System::SharedPtr<Aspose::Tasks::TimephasedData>>>& timephased);
1158 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:78
K get_KeyType() const
Gets the key of the property.
Definition: Key.h:121
A class for boolean values with possibility to check whether the value was defined or not.
Definition: NullableBool.h:26
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:230
Represents a collection of Resource objects.
Definition: ResourceCollection.h:102
Represents a resource in a project.
Definition: Resource.h:214
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:995
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:977
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:50
Aspose.
Definition: Asn.h:13