Aspose.Tasks for C++
Task.h
1 #pragma once
2 //-----------------------------------------------------------------------
3 // <copyright file="Task.cs" company="Aspose Pty Ltd">
4 // Copyright (c) 2002-2024 Aspose Pty Ltd. All Rights Reserved.
5 // </copyright>
6 //-----------------------------------------------------------------------
7 
8 #include <system/iequatable.h>
9 #include <system/date_time.h>
10 
11 #include "aspose.tasks.cpp/Recalculation/TaskPlannerFactory.h"
12 #include "aspose.tasks.cpp/Recalculation/TaskPlanner.h"
13 #include "aspose.tasks.cpp/PropertyContainer.h"
14 #include "aspose.tasks.cpp/IEntityWithNotes.h"
15 #include "aspose.tasks.cpp/IEntityWithHyperlink.h"
16 #include "aspose.tasks.cpp/IContainer.h"
17 #include "aspose.tasks.cpp/NullableBool.h"
18 #include "aspose.tasks.cpp/Key.h"
19 #include "aspose.tasks.cpp/IExtendedAttributeParent.h"
20 #include "aspose.tasks.cpp/Enums/TaskKey.h"
21 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
22 
23 namespace Aspose
24 {
25 namespace Tasks
26 {
27 class AutoRecalculationState;
28 enum class BaselineType;
29 namespace Calculations
30 {
31 class ProjectCalculator;
32 class ProjectWorkAndCostCalculator;
33 class ResourceAssignmentCalculator;
34 class ResourceAssignmentWorkCalculator;
35 class ResourceOverAllocationCalculator;
36 class SummaryTaskCalculator;
37 class TaskByAssignmentCalculator;
38 class TaskCalculator;
39 class TaskConstraintDateCalculator;
40 class TaskCostCalculator;
41 class TaskCriticalUpdater;
42 class TaskDurationFormatCalculator;
43 class TaskEarlyLateDatesCalculator;
44 class TaskProgressCalculator;
45 class TaskSlackCalculator;
46 class TaskStatusCalculator;
47 class TaskVarianceCalculator;
48 class TaskWorkCalculator;
49 } // namespace Calculations
50 class Calendar;
51 class CalendarCollection;
52 class CalendarDatesCalculator;
53 namespace Connectivity
54 {
55 class MpdAssignmentMapper;
56 template <typename> class MpdField;
57 class MpdOutlineCodeFieldMapper;
58 class MpdTaskBaselineMapper;
59 class MpdTaskLinkMapper;
60 class MpdTaskMapper;
61 class MspTaskExtendedAttributeReader;
62 class MspTaskMapper;
63 class PmTaskMapper;
64 class PmWbsMapper;
65 class PrimaveraDbReader;
66 } // namespace Connectivity
67 enum class ConstraintType;
68 enum class CostAccrualType;
69 class DatesCalculator;
70 class Duration;
71 enum class EarnedValueMethodType;
72 class EvaluationModeDatesResetter;
73 class EVCalculator;
74 class ExtendedAttributeCollection;
75 namespace Filters
76 {
77 class TaskFirstInChainFilter;
78 class TaskFirstsWithinParentFilter;
79 class TaskLastInChainsFilter;
80 class TaskLastsWithinParentFilter;
81 class TaskSameOutlineLevelDiffParentFilter;
82 } // namespace Filters
83 class FixedDurationEffortDrivenTaskPlanner;
84 class FixedDurationEffortDrivenTaskPlannerAssignmentManager;
85 class FixedDurationTaskPlanner;
86 class FixedDurationTaskPlannerAssignmentManager;
87 class FixedUnitsEffortDrivenTaskPlanner;
88 class FixedUnitsTaskPlanner;
89 class FixedUnitsTaskPlannerAssignmentManager;
90 class FixedWorkTaskPlanner;
91 class FixedWorkTaskPlannerAssignmentManager;
92 namespace IO
93 {
94 namespace Html
95 {
96 class HtmlResourceAssignmentTableReader;
97 class HtmlTaskBaseLineTableReader;
98 class HtmlTaskExtAttributesTableReader;
99 class HtmlTaskTableReader;
100 } // namespace Html
101 namespace Mpx
102 {
103 class MpxReader;
104 class MpxUtils;
105 } // namespace Mpx
106 namespace MSProject
107 {
108 class GanttBarStyleCalculator;
109 class MPP12Reader;
110 class MPP12TaskReader;
111 class Mpp12TaskTreeBuilder;
112 class MPP12TaskWriter;
113 class MPP14As12TaskReader;
114 class MPP14As9TaskReader;
115 class MPP14Reader;
116 class MPP14ResourceAssignmentReader;
117 class MPP14ResourceAssignmentWriter;
118 class MPP14TaskReader;
119 class MPP14TaskWriter;
120 class MPP15ResourceAssignmentReader;
121 class MPP15ResourceAssignmentWriter;
122 class MPP9Reader;
123 class Mpp9TaskTreeBuilder;
124 class MPPGanttBarStyleWriter;
125 class MPPReader;
126 class MPPRecurringInfoReader;
127 class MPPTaskReader;
128 class MppTaskTreeBuilder;
129 class MPPTaskWriter;
130 class TaskFieldsMapper;
131 class TimelineViewWriter;
132 namespace Writers
133 {
134 class MPP14As9TaskWriter;
135 class MPP9TaskWriter;
136 class MppBaselineWriter;
137 } // namespace Writers
138 } // namespace MSProject
139 namespace PrimaveraXml
140 {
141 class P6XmlUtils;
142 class PrimaveraActivityExpenseNodeReader;
143 class PrimaveraActivityNodeReader;
144 class PrimaveraProjectNodeReader;
145 class PrimaveraWBSNodeReader;
146 } // namespace PrimaveraXml
147 namespace Pwa
148 {
149 namespace InternalApi
150 {
151 namespace Mapping
152 {
153 class ExtendedAttributeDefinitionToRawValuesMapper;
154 class ProjectTasksMapper;
155 class ProjectToRawValuesMapper;
156 class TaskBinaryDataPropertyMapper;
157 class TaskDurationToTimeSpanMapper;
158 class TaskIntToDurationMapper;
159 class TaskToRawValuesMapper;
160 } // namespace Mapping
161 } // namespace InternalApi
162 } // namespace Pwa
163 namespace Xer
164 {
165 class XerExpensesReader;
166 class XerPrimaveraReader;
167 class XerProjectNormalizer;
168 class XerTaskReader;
169 class XerWbsReader;
170 } // namespace Xer
171 namespace Xml
172 {
173 class ResourceAssignmentNodeWriter;
174 class TaskBaselineNodeReader;
175 class TaskFactory;
176 class TaskLinksNodeReader;
177 class TaskNodeReader;
178 class TaskNodeWriter;
179 class XmlWriter;
180 } // namespace Xml
181 } // namespace IO
182 namespace Leveling
183 {
184 class LevelingAlgorithm;
185 class ResourceLeveler;
186 } // namespace Leveling
187 class LinkedTasksChain;
188 class ManualState;
189 class OutlineCodeCollection;
190 class OutlineNumbersCalculator;
191 class PercentCompleteCalculator;
192 class PrimaveraTaskProperties;
193 class ProjDateAdd;
194 class ProjDateConv;
195 class ProjDateDiff;
196 class ProjDateSub;
197 class ProjDurConv;
198 class ProjDurValue;
199 class Project;
200 class ProjectIntegrityValidator;
201 class ProjectState;
202 class ProjectWorkUpdater;
203 class ReadingState;
204 namespace Recalculation
205 {
206 class TaskSplitCalculator;
207 } // namespace Recalculation
208 class RecurringTaskBuilder;
209 class RecurringTaskInfo;
210 class RecurringTaskParameters;
211 class Resource;
212 class ResourceAssignment;
213 class ResourceAssignmentCollection;
214 namespace RiskAnalysis
215 {
216 class MonteCarloIteration;
217 class RiskItemStatistics;
218 class RndDurationAlgorithm;
219 } // namespace RiskAnalysis
220 namespace Saving
221 {
222 class HtmlTaskBaseLineTable;
223 class HtmlTaskExtendedAttributesTable;
224 class HtmlTaskTable;
225 class MpxSavingUtils;
226 class MpxTaskField;
227 class MpxTaskModel;
228 class MpxWriter;
229 class PrimaveraActivityNodeWriter;
230 class PrimaveraAssignmentNodeWriter;
231 class PrimaveraProjectNodeWriter;
232 class PrimaveraRelationshipNodeWriter;
233 class PrimaveraWBSNodeWriter;
234 class PrimaveraXerUtils;
235 class SSWriter;
236 class TemplateWriter;
237 class XerAssignmentTable;
238 class XerRelationTable;
239 class XerTaskTable;
240 class XerWBSTable;
241 } // namespace Saving
242 namespace Scheduling
243 {
244 class ConstraintSolver;
245 class CriticalPathAlgorithm;
246 class FromFinishScheduler;
247 class FromStartScheduler;
248 class LateFinishCalculator;
249 class LateStartCalculator;
250 class RescheduleAlgorithm;
251 class TopologicalSort;
252 class TopsortCriticalPath;
253 } // namespace Scheduling
254 class SplitPart;
255 class SplitPartCollection;
256 class SplitsCalculator;
257 class SummaryTaskTotals;
258 class TaskBaseline;
259 class TaskBaselineCollection;
260 class TaskCollection;
261 class TaskFinishComparer;
262 class TaskIdComparer;
263 class TaskLink;
264 class TaskLinkCollection;
265 class TaskLinkTable;
266 class TaskPlannerAssignmentManager;
267 class TaskPlannerFactory;
268 class TaskStartComparer;
269 enum class TaskStatus;
270 class TaskTreeBuilder;
271 enum class TaskType;
272 class TaskWarningCalculator;
273 class TimephasedDataCollection;
274 class TimephasedDataMaker;
275 enum class TimephasedDataType : int8_t;
276 class TimephasedWorkCostSelector;
277 enum class TimeUnitType : int8_t;
278 namespace Util
279 {
280 class AssignedTasksCollector;
281 class CalculatedExtendedAttributeUtils;
282 class DateTimeInterval;
283 class EnsureExtendedAttribute;
284 class ExtendedAttributeChecker;
285 namespace Fields
286 {
287 class FieldHelperInternal;
288 class FieldToValue;
289 class TaskFieldToValue;
290 } // namespace Fields
291 class PrimaveraSummaryTasksCalculator;
292 class PrimaveraTasksProcessor;
293 class RemoveTask;
294 class TaskIdReEnumerator;
295 class TaskTreeEnumerator;
296 class TaskTreePostOrderEnumerator;
297 class TaskUtils;
298 class Utils;
299 class VisibleTasksCollector;
300 } // namespace Util
301 namespace Validators
302 {
303 class TaskValidator;
304 } // namespace Validators
305 namespace Visualization
306 {
307 template <typename> class ApsBaseChartBuilder;
308 class ApsLinksBuilder;
309 class ApsReportBestPracticesAnalyzerBuilder;
310 class ApsReportBuilder;
311 class ApsReportBurndownBuilder;
312 class ApsReportCashFlowBuilder;
313 class ApsReportLateTasksBuilder;
314 class ApsReportMilestonesBuilder;
315 class ApsReportProjectOverviewBuilder;
316 class ApsReportSlippingTasksBuilder;
317 class ApsReportUpcomingTasksBuilder;
318 class ApsResourceUsageBuilder;
319 class ApsTaskUsageBuilder;
320 class ApsTaskUsagePage;
321 class AssignmentToColumnText;
322 class CollapsedTaskRemover;
323 template <typename> class FieldToColumnText;
324 class GanttPageTaskGlyphBuilder;
325 class Indicators;
326 class LegendItemsFlowLayoutBuilder;
327 class TaskToColumnText;
328 } // namespace Visualization
329 class WbsCalculator;
330 class WBSCodeDefinition;
331 } // namespace Tasks
332 } // namespace Aspose
333 namespace System
334 {
335 namespace Collections
336 {
337 namespace Generic
338 {
339 template <typename> class IEnumerable;
340 template <typename> class IList;
341 template <typename> class List;
342 } // namespace Generic
343 } // namespace Collections
344 class Decimal;
345 class TimeSpan;
346 } // namespace System
347 
348 namespace Aspose {
349 
350 namespace Tasks {
351 
352 /// <summary>
353 /// Represents a task in a project.
354 /// </summary>
355 /// <remarks>
356 /// <p>The <b>Task</b> is representing a one atomic chunk of work.</p>
357 /// One can use <b>Task</b> to plan a project by creating tasks and assign appropriate resources onto them.
358 /// Tasks in a project are organized as a rooted hierarchical tree structure, with a root task and subtrees of children tasks.
359 /// <p>To build a tree of tasks one can use a specialized collection <see cref="Aspose::Tasks::TaskCollection"></see> by accessing <see cref="Project::RootTask"></see> property e.g.:</p>
360 /// <code>
361 /// Project project = new Project();
362 ///
363 /// // add new tasks
364 /// Task task1 = project.RootTask.Children.Add(); // a parent task with empty name is added
365 /// Task childTask1 = task1.Children.Add("Child 1");
366 /// childTask1.Set(Tsk.Start, new DateTime(2020, 2, 12, 8, 0, 0))
367 /// childTask1.Set(Tsk.Duration, project.GetDuration(8, TimeUnitType.Hour));
368 /// childTask1.Set(Tsk.Finish, new DateTime(2020, 2, 12, 17, 0, 0));
369 /// Task childTask3 = task1.Children.Add("Child 3");
370 /// childTask3.Set(Tsk.Start, new DateTime(2020, 2, 13, 8, 0, 0))
371 /// childTask3.Set(Tsk.Duration, project.GetDuration(8, TimeUnitType.Hour));
372 /// childTask3.Set(Tsk.Finish, new DateTime(2020, 2, 13, 17, 0, 0));
373 /// Task childTask2 = task1.Children.Add("Child 2", 2); // inserts a task before the childTask3
374 /// childTask2.Set(Tsk.Start, new DateTime(2020, 2, 14, 8, 0, 0))
375 /// childTask2.Set(Tsk.Duration, project.GetDuration(8, TimeUnitType.Hour));
376 /// childTask2.Set(Tsk.Finish, new DateTime(2020, 2, 14, 17, 0, 0));
377 ///
378 /// // save project in the one of available formats
379 /// project.Save("Filled project.xml", SaveFileFormat.MPP);
380 /// </code>
381 /// </remarks>
382 class ASPOSE_TASKS_SHARED_CLASS Task : public Aspose::Tasks::IContainer<Aspose::Tasks::TaskKey>, public System::IEquatable<System::SharedPtr<Aspose::Tasks::Task>>, public Aspose::Tasks::IExtendedAttributeParent, public Aspose::Tasks::IEntityWithNotes, public Aspose::Tasks::IEntityWithHyperlink
383 {
384  typedef Task ThisType;
385  typedef Aspose::Tasks::IContainer<Aspose::Tasks::TaskKey> BaseType;
386  typedef System::IEquatable<System::SharedPtr<Aspose::Tasks::Task>> BaseType1;
387  typedef Aspose::Tasks::IExtendedAttributeParent BaseType2;
388  typedef Aspose::Tasks::IEntityWithNotes BaseType3;
389  typedef Aspose::Tasks::IEntityWithHyperlink BaseType4;
390 
391  typedef ::System::BaseTypesInfo<BaseType, BaseType1, BaseType2, BaseType3, BaseType4> ThisTypeBaseTypesInfo;
392  ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
393 
394  friend class Aspose::Tasks::Calculations::ResourceOverAllocationCalculator;
395  friend class Aspose::Tasks::Calculations::TaskDurationFormatCalculator;
396  friend class Aspose::Tasks::Calculations::TaskEarlyLateDatesCalculator;
397  friend class Aspose::Tasks::Calculations::ProjectCalculator;
398  friend class Aspose::Tasks::Calculations::ProjectWorkAndCostCalculator;
399  friend class Aspose::Tasks::Calculations::ResourceAssignmentCalculator;
400  friend class Aspose::Tasks::Calculations::ResourceAssignmentWorkCalculator;
401  friend class Aspose::Tasks::Calculations::SummaryTaskCalculator;
402  friend class Aspose::Tasks::Calculations::TaskByAssignmentCalculator;
403  friend class Aspose::Tasks::Calculations::TaskCalculator;
404  friend class Aspose::Tasks::Calculations::TaskConstraintDateCalculator;
405  friend class Aspose::Tasks::Calculations::TaskCriticalUpdater;
406  friend class Aspose::Tasks::Calculations::TaskProgressCalculator;
407  friend class Aspose::Tasks::Calculations::TaskCostCalculator;
408  friend class Aspose::Tasks::Calculations::TaskSlackCalculator;
409  friend class Aspose::Tasks::Calculations::TaskVarianceCalculator;
410  friend class Aspose::Tasks::Calculations::TaskStatusCalculator;
411  friend class Aspose::Tasks::Calculations::TaskWorkCalculator;
413  friend class Aspose::Tasks::IO::MSProject::Writers::MppBaselineWriter;
414  friend class Aspose::Tasks::IO::MSProject::GanttBarStyleCalculator;
415  friend class Aspose::Tasks::IO::PrimaveraXml::P6XmlUtils;
416  friend class Aspose::Tasks::IO::PrimaveraXml::PrimaveraActivityExpenseNodeReader;
417  friend class Aspose::Tasks::IO::PrimaveraXml::PrimaveraActivityNodeReader;
418  friend class Aspose::Tasks::IO::PrimaveraXml::PrimaveraProjectNodeReader;
419  friend class Aspose::Tasks::IO::PrimaveraXml::PrimaveraWBSNodeReader;
420  friend class Aspose::Tasks::IO::Xer::XerExpensesReader;
421  friend class Aspose::Tasks::Leveling::LevelingAlgorithm;
423  friend class Aspose::Tasks::Project;
424  friend class Aspose::Tasks::SummaryTaskTotals;
425  friend class Aspose::Tasks::Resource;
427  friend class Aspose::Tasks::Scheduling::LateFinishCalculator;
428  friend class Aspose::Tasks::Scheduling::LateStartCalculator;
429  friend class Aspose::Tasks::Util::PrimaveraSummaryTasksCalculator;
430  friend class Aspose::Tasks::Util::TaskTreePostOrderEnumerator;
431  friend class Aspose::Tasks::Util::TaskTreeEnumerator;
432  friend class Aspose::Tasks::Filters::TaskSameOutlineLevelDiffParentFilter;
433  friend class Aspose::Tasks::Filters::TaskFirstsWithinParentFilter;
434  friend class Aspose::Tasks::Filters::TaskLastInChainsFilter;
435  friend class Aspose::Tasks::Filters::TaskLastsWithinParentFilter;
436  friend class Aspose::Tasks::Filters::TaskFirstInChainFilter;
437  friend class Aspose::Tasks::IO::Pwa::InternalApi::Mapping::TaskBinaryDataPropertyMapper;
438  friend class Aspose::Tasks::IO::Pwa::InternalApi::Mapping::ExtendedAttributeDefinitionToRawValuesMapper;
439  friend class Aspose::Tasks::IO::Pwa::InternalApi::Mapping::TaskToRawValuesMapper;
440  friend class Aspose::Tasks::IO::Pwa::InternalApi::Mapping::ProjectToRawValuesMapper;
441  friend class Aspose::Tasks::IO::Xml::TaskFactory;
442  friend class Aspose::Tasks::TaskFinishComparer;
443  friend class Aspose::Tasks::TaskIdComparer;
444  friend class Aspose::Tasks::TaskStartComparer;
445  friend class Aspose::Tasks::EVCalculator;
446  friend class Aspose::Tasks::ProjDateAdd;
447  friend class Aspose::Tasks::ProjDateConv;
448  friend class Aspose::Tasks::ProjDateDiff;
449  friend class Aspose::Tasks::ProjDateSub;
450  friend class Aspose::Tasks::ProjDurConv;
451  friend class Aspose::Tasks::ProjDurValue;
452  friend class Aspose::Tasks::Connectivity::MpdAssignmentMapper;
453  template<typename FT0> friend class Aspose::Tasks::Connectivity::MpdField;
454  friend class Aspose::Tasks::Connectivity::MpdOutlineCodeFieldMapper;
455  friend class Aspose::Tasks::Connectivity::MpdTaskBaselineMapper;
456  friend class Aspose::Tasks::Connectivity::MpdTaskLinkMapper;
457  friend class Aspose::Tasks::Connectivity::MpdTaskMapper;
458  friend class Aspose::Tasks::Connectivity::MspTaskExtendedAttributeReader;
459  friend class Aspose::Tasks::Connectivity::MspTaskMapper;
460  friend class Aspose::Tasks::Connectivity::PmTaskMapper;
461  friend class Aspose::Tasks::Connectivity::PmWbsMapper;
462  friend class Aspose::Tasks::Connectivity::PrimaveraDbReader;
463  friend class Aspose::Tasks::IO::Html::HtmlResourceAssignmentTableReader;
464  friend class Aspose::Tasks::IO::Html::HtmlTaskBaseLineTableReader;
465  friend class Aspose::Tasks::IO::Html::HtmlTaskExtAttributesTableReader;
466  friend class Aspose::Tasks::IO::Html::HtmlTaskTableReader;
467  friend class Aspose::Tasks::IO::MSProject::TaskFieldsMapper;
468  friend class Aspose::Tasks::IO::MSProject::MPP12Reader;
469  friend class Aspose::Tasks::IO::MSProject::MPPReader;
470  friend class Aspose::Tasks::IO::MSProject::MPP12TaskReader;
471  friend class Aspose::Tasks::IO::MSProject::MPPTaskReader;
472  friend class Aspose::Tasks::IO::MSProject::Mpp12TaskTreeBuilder;
473  friend class Aspose::Tasks::IO::MSProject::MppTaskTreeBuilder;
474  friend class Aspose::Tasks::IO::MSProject::MPP14As12TaskReader;
475  friend class Aspose::Tasks::IO::MSProject::MPP14As9TaskReader;
476  friend class Aspose::Tasks::IO::MSProject::MPP14Reader;
477  friend class Aspose::Tasks::IO::MSProject::MPP14ResourceAssignmentReader;
478  friend class Aspose::Tasks::IO::MSProject::MPP14TaskReader;
479  friend class Aspose::Tasks::IO::MSProject::MPP15ResourceAssignmentReader;
480  friend class Aspose::Tasks::IO::MSProject::MPP15ResourceAssignmentWriter;
481  friend class Aspose::Tasks::IO::MSProject::MPP14ResourceAssignmentWriter;
482  friend class Aspose::Tasks::IO::MSProject::MPP14TaskWriter;
483  friend class Aspose::Tasks::IO::MSProject::MPP9Reader;
484  friend class Aspose::Tasks::IO::MSProject::Mpp9TaskTreeBuilder;
485  friend class Aspose::Tasks::IO::MSProject::MPPRecurringInfoReader;
486  friend class Aspose::Tasks::IO::MSProject::MPP12TaskWriter;
487  friend class Aspose::Tasks::IO::MSProject::MPPTaskWriter;
488  friend class Aspose::Tasks::IO::MSProject::Writers::MPP14As9TaskWriter;
489  friend class Aspose::Tasks::IO::MSProject::Writers::MPP9TaskWriter;
490  friend class Aspose::Tasks::IO::MSProject::MPPGanttBarStyleWriter;
491  friend class Aspose::Tasks::IO::MSProject::TimelineViewWriter;
492  friend class Aspose::Tasks::IO::Mpx::MpxReader;
493  friend class Aspose::Tasks::TaskTreeBuilder;
494  friend class Aspose::Tasks::IO::Mpx::MpxUtils;
495  friend class Aspose::Tasks::IO::Xer::XerPrimaveraReader;
496  friend class Aspose::Tasks::IO::Xer::XerProjectNormalizer;
497  friend class Aspose::Tasks::IO::Xer::XerTaskReader;
498  friend class Aspose::Tasks::IO::Xer::XerWbsReader;
499  friend class Aspose::Tasks::IO::Pwa::InternalApi::Mapping::ProjectTasksMapper;
500  friend class Aspose::Tasks::IO::Pwa::InternalApi::Mapping::TaskDurationToTimeSpanMapper;
501  friend class Aspose::Tasks::IO::Pwa::InternalApi::Mapping::TaskIntToDurationMapper;
502  friend class Aspose::Tasks::IO::Xml::ResourceAssignmentNodeWriter;
503  friend class Aspose::Tasks::IO::Xml::TaskBaselineNodeReader;
504  friend class Aspose::Tasks::IO::Xml::TaskLinksNodeReader;
505  friend class Aspose::Tasks::IO::Xml::TaskNodeReader;
506  friend class Aspose::Tasks::IO::Xml::TaskNodeWriter;
507  friend class Aspose::Tasks::IO::Xml::XmlWriter;
508  friend class Aspose::Tasks::LinkedTasksChain;
509  friend class Aspose::Tasks::ProjectIntegrityValidator;
510  friend class Aspose::Tasks::AutoRecalculationState;
511  friend class Aspose::Tasks::ProjectState;
512  friend class Aspose::Tasks::CalendarDatesCalculator;
513  friend class Aspose::Tasks::DatesCalculator;
514  friend class Aspose::Tasks::EvaluationModeDatesResetter;
515  friend class Aspose::Tasks::FixedDurationEffortDrivenTaskPlannerAssignmentManager;
516  friend class Aspose::Tasks::TaskPlannerAssignmentManager;
517  friend class Aspose::Tasks::FixedDurationEffortDrivenTaskPlanner;
518  friend class Aspose::Tasks::TaskPlanner;
519  friend class Aspose::Tasks::FixedDurationTaskPlanner;
520  friend class Aspose::Tasks::FixedDurationTaskPlannerAssignmentManager;
521  friend class Aspose::Tasks::FixedUnitsEffortDrivenTaskPlanner;
522  friend class Aspose::Tasks::FixedUnitsTaskPlanner;
523  friend class Aspose::Tasks::FixedUnitsTaskPlannerAssignmentManager;
524  friend class Aspose::Tasks::FixedWorkTaskPlanner;
525  friend class Aspose::Tasks::FixedWorkTaskPlannerAssignmentManager;
526  friend class Aspose::Tasks::ManualState;
527  friend class Aspose::Tasks::OutlineNumbersCalculator;
528  friend class Aspose::Tasks::PercentCompleteCalculator;
529  friend class Aspose::Tasks::ProjectState;
530  friend class Aspose::Tasks::ProjectWorkUpdater;
531  friend class Aspose::Tasks::ReadingState;
532  friend class Aspose::Tasks::SplitsCalculator;
533  friend class Aspose::Tasks::Recalculation::TaskSplitCalculator;
534  friend class Aspose::Tasks::TaskWarningCalculator;
535  friend class Aspose::Tasks::WbsCalculator;
536  friend class Aspose::Tasks::RecurringTaskBuilder;
539  friend class Aspose::Tasks::RiskAnalysis::RndDurationAlgorithm;
540  friend class Aspose::Tasks::RiskAnalysis::MonteCarloIteration;
541  friend class Aspose::Tasks::Visualization::ApsReportBuilder;
543  friend class Aspose::Tasks::Saving::SSWriter;
544  friend class Aspose::Tasks::Saving::HtmlTaskBaseLineTable;
545  friend class Aspose::Tasks::Saving::HtmlTaskExtendedAttributesTable;
546  friend class Aspose::Tasks::Saving::HtmlTaskTable;
547  friend class Aspose::Tasks::Saving::MpxSavingUtils;
548  friend class Aspose::Tasks::Saving::MpxTaskField;
549  friend class Aspose::Tasks::Saving::MpxTaskModel;
550  friend class Aspose::Tasks::Saving::MpxWriter;
551  friend class Aspose::Tasks::Saving::PrimaveraXerUtils;
552  friend class Aspose::Tasks::Saving::XerAssignmentTable;
553  friend class Aspose::Tasks::Saving::XerRelationTable;
554  friend class Aspose::Tasks::Saving::XerTaskTable;
555  friend class Aspose::Tasks::Saving::XerWBSTable;
556  friend class Aspose::Tasks::Saving::PrimaveraActivityNodeWriter;
557  friend class Aspose::Tasks::Saving::PrimaveraActivityNodeWriter;
558  friend class Aspose::Tasks::Saving::PrimaveraAssignmentNodeWriter;
559  friend class Aspose::Tasks::Saving::PrimaveraProjectNodeWriter;
560  friend class Aspose::Tasks::Saving::PrimaveraRelationshipNodeWriter;
561  friend class Aspose::Tasks::Saving::PrimaveraWBSNodeWriter;
562  friend class Aspose::Tasks::Saving::TemplateWriter;
563  friend class Aspose::Tasks::Scheduling::ConstraintSolver;
564  friend class Aspose::Tasks::Scheduling::CriticalPathAlgorithm;
565  friend class Aspose::Tasks::Scheduling::TopsortCriticalPath;
566  friend class Aspose::Tasks::Scheduling::FromFinishScheduler;
567  friend class Aspose::Tasks::Scheduling::RescheduleAlgorithm;
568  friend class Aspose::Tasks::Scheduling::FromStartScheduler;
569  friend class Aspose::Tasks::Scheduling::TopologicalSort;
570  friend class Aspose::Tasks::TaskBaseline;
572  friend class Aspose::Tasks::TaskCollection;
573  friend class Aspose::Tasks::TaskLink;
575  friend class Aspose::Tasks::TimephasedDataMaker;
576  friend class Aspose::Tasks::TimephasedWorkCostSelector;
577  friend class Aspose::Tasks::Util::AssignedTasksCollector;
578  friend class Aspose::Tasks::Util::CalculatedExtendedAttributeUtils;
579  friend class Aspose::Tasks::Util::EnsureExtendedAttribute;
580  friend class Aspose::Tasks::Util::ExtendedAttributeChecker;
581  friend class Aspose::Tasks::Util::Fields::FieldHelperInternal;
582  friend class Aspose::Tasks::Util::Fields::FieldToValue;
583  friend class Aspose::Tasks::Util::Fields::TaskFieldToValue;
584  friend class Aspose::Tasks::Util::PrimaveraTasksProcessor;
585  friend class Aspose::Tasks::Util::RemoveTask;
586  friend class Aspose::Tasks::Util::TaskIdReEnumerator;
587  friend class Aspose::Tasks::Util::TaskUtils;
588  friend class Aspose::Tasks::Util::Utils;
589  friend class Aspose::Tasks::Util::VisibleTasksCollector;
590  friend class Aspose::Tasks::Validators::TaskValidator;
591  friend class Aspose::Tasks::Visualization::GanttPageTaskGlyphBuilder;
592  template<typename FT0> friend class Aspose::Tasks::Visualization::ApsBaseChartBuilder;
593  friend class Aspose::Tasks::Visualization::ApsLinksBuilder;
594  friend class Aspose::Tasks::Visualization::ApsResourceUsageBuilder;
595  friend class Aspose::Tasks::Visualization::ApsTaskUsageBuilder;
596  friend class Aspose::Tasks::Visualization::LegendItemsFlowLayoutBuilder;
597  friend class Aspose::Tasks::Visualization::ApsTaskUsagePage;
598  friend class Aspose::Tasks::Visualization::CollapsedTaskRemover;
599  friend class Aspose::Tasks::Visualization::ApsReportBestPracticesAnalyzerBuilder;
600  friend class Aspose::Tasks::Visualization::ApsReportBurndownBuilder;
601  friend class Aspose::Tasks::Visualization::ApsReportCashFlowBuilder;
602  friend class Aspose::Tasks::Visualization::ApsReportLateTasksBuilder;
603  friend class Aspose::Tasks::Visualization::ApsReportMilestonesBuilder;
604  friend class Aspose::Tasks::Visualization::ApsReportProjectOverviewBuilder;
605  friend class Aspose::Tasks::Visualization::ApsReportSlippingTasksBuilder;
606  friend class Aspose::Tasks::Visualization::ApsReportUpcomingTasksBuilder;
607  friend class Aspose::Tasks::Visualization::AssignmentToColumnText;
608  template<typename FT0> friend class Aspose::Tasks::Visualization::FieldToColumnText;
609  friend class Aspose::Tasks::Visualization::Indicators;
610  friend class Aspose::Tasks::Visualization::TaskToColumnText;
612 
613 public:
614 
615  /// <summary>
616  /// Gets a <see cref="TaskCollection"></see> object which contains all predecessors of this Task object.
617  /// </summary>
618  /// <returns>Read-only instance of <see cref="TaskCollection"></see> class.</returns>
619  ASPOSE_TASKS_SHARED_API System::SharedPtr<TaskCollection> get_Predecessors();
620  /// <summary>
621  /// Gets a <see cref="TaskCollection"></see> object which contains all successors of this Task object.
622  /// </summary>
623  /// <returns>Read-only instance of <see cref="TaskCollection"></see> class.</returns>
624  ASPOSE_TASKS_SHARED_API System::SharedPtr<TaskCollection> get_Successors();
625  /// <summary>
626  /// Gets a collection of resource assignments for this object.
627  /// </summary>
628  ASPOSE_TASKS_SHARED_API System::SharedPtr<ResourceAssignmentCollection> get_Assignments();
629  /// <summary>
630  /// Gets the parent project of a task.
631  /// </summary>
632  /// <remarks>
633  /// Call Project.UpdateReferences to update these properties.
634  /// </remarks>
635  ASPOSE_TASKS_SHARED_API const System::SharedPtr<Project>& get_ParentProject() const override;
636  /// <summary>
637  /// Gets <see cref="OutlineCodeCollection"></see> object.
638  /// </summary>
639  /// <remarks>
640  /// Two pieces of data are necessary - a pointer to the outline
641  /// code table that is specified by the FieldID, and the value
642  /// that is specified either by the ValueID or ValueGUID pointer to the value list.
643  /// </remarks>
644  ASPOSE_TASKS_SHARED_API const System::SharedPtr<OutlineCodeCollection>& get_OutlineCodes() const;
645  /// <summary>
646  /// Sets <see cref="OutlineCodeCollection"></see> object.
647  /// </summary>
648  /// <remarks>
649  /// Two pieces of data are necessary - a pointer to the outline
650  /// code table that is specified by the FieldID, and the value
651  /// that is specified either by the ValueID or ValueGUID pointer to the value list.
652  /// </remarks>
653  ASPOSE_TASKS_SHARED_API void set_OutlineCodes(const System::SharedPtr<OutlineCodeCollection>& value);
654  /// <summary>
655  /// Gets the parent task of a task.
656  /// </summary>
657  ASPOSE_TASKS_SHARED_API System::SharedPtr<Task> get_ParentTask() const;
658  /// <summary>
659  /// Gets a child task collection of this object.
660  /// TaskCollection object which represents children tasks.
661  /// </summary>
662  ASPOSE_TASKS_SHARED_API const System::SharedPtr<TaskCollection>& get_Children() const;
663  /// <summary>
664  /// Gets a SplitPart collection that represents the portions of a task.
665  /// </summary>
666  ASPOSE_TASKS_SHARED_API System::SharedPtr<SplitPartCollection> get_SplitParts();
667  /// <summary>
668  /// Gets ExtendedAttributeCollection object containing the values of an extended attribute.
669  /// </summary>
670  /// <remarks>
671  /// Two pieces of data are necessary - a pointer back to the extended attribute table
672  /// which is specified either by the unique ID or the Field ID, and the value
673  /// which is specified either with the value, or a pointer back to the value list.
674  /// </remarks>
675  ASPOSE_TASKS_SHARED_API System::SharedPtr<ExtendedAttributeCollection> get_ExtendedAttributes() override;
676  /// <summary>
677  /// Gets a TimephasedDataCollection object of this task.
678  /// The time phased data block associated with a task.
679  /// </summary>
680  /// <remarks>Reading supported for XML format only.</remarks>
681  ASPOSE_TASKS_SHARED_API System::SharedPtr<TimephasedDataCollection> get_TimephasedData();
682  /// <summary>
683  /// Sets a TimephasedDataCollection object of this task.
684  /// The time phased data block associated with a task.
685  /// </summary>
686  /// <remarks>Reading supported for XML format only.</remarks>
687  ASPOSE_TASKS_SHARED_API void set_TimephasedData(const System::SharedPtr<TimephasedDataCollection>& value);
688  /// <summary>
689  /// Gets the collection of baseline values of the task.
690  /// </summary>
691  ASPOSE_TASKS_SHARED_API const System::SharedPtr<TaskBaselineCollection>& get_Baselines() const;
692  /// <summary>
693  /// Sets the collection of baseline values of the task.
694  /// </summary>
695  ASPOSE_TASKS_SHARED_API void set_Baselines(const System::SharedPtr<TaskBaselineCollection>& value);
696  /// <summary>
697  /// Gets the instance of <see cref="RecurringTaskInfo"></see> class for the task which is a recurring task; if the task is not a recurring one then returns null;
698  /// <remarks>The info for the instance of <see cref="RecurringTaskInfo"></see> is present in mpp file format only.</remarks>
699  /// </summary>
700  ASPOSE_TASKS_SHARED_API System::SharedPtr<RecurringTaskInfo> get_RecurringInfo();
701  /// <summary>
702  /// Gets an object containing Primavera-specific properties for a task read from Primavera file.
703  /// </summary>
704  ASPOSE_TASKS_SHARED_API const System::SharedPtr<PrimaveraTaskProperties>& get_PrimaveraProperties() const;
705  /// <summary>
706  /// Gets a value of Uid.
707  /// </summary>
708  ASPOSE_TASKS_SHARED_API int32_t get_Uid();
709  /// <summary>
710  /// Sets a value of Uid.
711  /// </summary>
712  ASPOSE_TASKS_SHARED_API void set_Uid(int32_t value);
713  /// <summary>
714  /// Gets a value of Id.
715  /// </summary>
716  ASPOSE_TASKS_SHARED_API int32_t get_Id();
717  /// <summary>
718  /// Sets a value of Id.
719  /// </summary>
720  ASPOSE_TASKS_SHARED_API void set_Id(int32_t value);
721  /// <summary>
722  /// Gets a value of Type.
723  /// </summary>
724  ASPOSE_TASKS_SHARED_API TaskType get_Type();
725  /// <summary>
726  /// Sets a value of Type.
727  /// </summary>
728  ASPOSE_TASKS_SHARED_API void set_Type(TaskType value);
729  /// <summary>
730  /// Gets a value indicating whether IsNull is set or not.
731  /// </summary>
732  ASPOSE_TASKS_SHARED_API NullableBool get_IsNull();
733  /// <summary>
734  /// Sets a value indicating whether IsNull is set or not.
735  /// </summary>
736  ASPOSE_TASKS_SHARED_API void set_IsNull(NullableBool value);
737  /// <summary>
738  /// Gets a value of Created.
739  /// </summary>
740  ASPOSE_TASKS_SHARED_API System::DateTime get_Created();
741  /// <summary>
742  /// Sets a value of Created.
743  /// </summary>
744  ASPOSE_TASKS_SHARED_API void set_Created(System::DateTime value);
745  /// <summary>
746  /// Gets a value of Contact.
747  /// </summary>
748  ASPOSE_TASKS_SHARED_API System::String get_Contact();
749  /// <summary>
750  /// Sets a value of Contact.
751  /// </summary>
752  ASPOSE_TASKS_SHARED_API void set_Contact(const System::String& value);
753  /// <summary>
754  /// Gets a value of WBS.
755  /// </summary>
756  ASPOSE_TASKS_SHARED_API System::String get_WBS();
757  /// <summary>
758  /// Sets a value of WBS.
759  /// </summary>
760  ASPOSE_TASKS_SHARED_API void set_WBS(const System::String& value);
761  /// <summary>
762  /// Gets a value of WBSLevel.
763  /// </summary>
764  ASPOSE_TASKS_SHARED_API System::String get_WBSLevel();
765  /// <summary>
766  /// Sets a value of WBSLevel.
767  /// </summary>
768  ASPOSE_TASKS_SHARED_API void set_WBSLevel(const System::String& value);
769  /// <summary>
770  /// Gets a value of OutlineNumber.
771  /// </summary>
772  ASPOSE_TASKS_SHARED_API System::String get_OutlineNumber();
773  /// <summary>
774  /// Sets a value of OutlineNumber.
775  /// </summary>
776  ASPOSE_TASKS_SHARED_API void set_OutlineNumber(const System::String& value);
777  /// <summary>
778  /// Gets a value of Name.
779  /// </summary>
780  ASPOSE_TASKS_SHARED_API System::String get_Name();
781  /// <summary>
782  /// Sets a value of Name.
783  /// </summary>
784  ASPOSE_TASKS_SHARED_API void set_Name(const System::String& value);
785  /// <summary>
786  /// Gets a value of OutlineLevel.
787  /// </summary>
788  ASPOSE_TASKS_SHARED_API int32_t get_OutlineLevel();
789  /// <summary>
790  /// Sets a value of OutlineLevel.
791  /// </summary>
792  ASPOSE_TASKS_SHARED_API void set_OutlineLevel(int32_t value);
793  /// <summary>
794  /// Gets a value of Priority.
795  /// </summary>
796  ASPOSE_TASKS_SHARED_API int32_t get_Priority();
797  /// <summary>
798  /// Sets a value of Priority.
799  /// </summary>
800  ASPOSE_TASKS_SHARED_API void set_Priority(int32_t value);
801  /// <summary>
802  /// Gets a value of Start.
803  /// </summary>
804  ASPOSE_TASKS_SHARED_API System::DateTime get_Start();
805  /// <summary>
806  /// Sets a value of Start.
807  /// </summary>
808  ASPOSE_TASKS_SHARED_API void set_Start(System::DateTime value);
809  /// <summary>
810  /// Gets a value of Finish.
811  /// </summary>
812  ASPOSE_TASKS_SHARED_API System::DateTime get_Finish();
813  /// <summary>
814  /// Sets a value of Finish.
815  /// </summary>
816  ASPOSE_TASKS_SHARED_API void set_Finish(System::DateTime value);
817  /// <summary>
818  /// Gets a value of Duration.
819  /// </summary>
820  ASPOSE_TASKS_SHARED_API Aspose::Tasks::Duration get_Duration();
821  /// <summary>
822  /// Sets a value of Duration.
823  /// </summary>
824  ASPOSE_TASKS_SHARED_API void set_Duration(Aspose::Tasks::Duration value);
825  /// <summary>
826  /// Gets a value of DurationVariance.
827  /// </summary>
829  /// <summary>
830  /// Sets a value of DurationVariance.
831  /// </summary>
832  ASPOSE_TASKS_SHARED_API void set_DurationVariance(Aspose::Tasks::Duration value);
833  /// @deprecated This member is obsolete and will be removed after release 24.6. Please use Task.Duration.TimeUnit property instead.
834  /// <summary>
835  /// Gets a value of DurationFormat.
836  /// </summary>
837  ASPOSE_TASKS_SHARED_API TimeUnitType get_DurationFormat();
838  /// @deprecated This member is obsolete and will be removed after release 24.6. Please use Task.Duration.TimeUnit property instead.
839  /// <summary>
840  /// Sets a value of DurationFormat.
841  /// </summary>
842  ASPOSE_TASKS_SHARED_API void set_DurationFormat(TimeUnitType value);
843  /// <summary>
844  /// Gets a value of Work.
845  /// </summary>
846  ASPOSE_TASKS_SHARED_API Aspose::Tasks::Duration get_Work();
847  /// <summary>
848  /// Sets a value of Work.
849  /// </summary>
850  ASPOSE_TASKS_SHARED_API void set_Work(Aspose::Tasks::Duration value);
851  /// <summary>
852  /// Gets a value of Stop.
853  /// </summary>
854  ASPOSE_TASKS_SHARED_API System::DateTime get_Stop();
855  /// <summary>
856  /// Sets a value of Stop.
857  /// </summary>
858  ASPOSE_TASKS_SHARED_API void set_Stop(System::DateTime value);
859  /// <summary>
860  /// Gets a value of Resume.
861  /// </summary>
862  ASPOSE_TASKS_SHARED_API System::DateTime get_Resume();
863  /// <summary>
864  /// Sets a value of Resume.
865  /// </summary>
866  ASPOSE_TASKS_SHARED_API void set_Resume(System::DateTime value);
867  /// <summary>
868  /// Gets a value indicating whether IsResumeValid is set or not.
869  /// </summary>
870  ASPOSE_TASKS_SHARED_API NullableBool get_IsResumeValid();
871  /// <summary>
872  /// Sets a value indicating whether IsResumeValid is set or not.
873  /// </summary>
874  ASPOSE_TASKS_SHARED_API void set_IsResumeValid(NullableBool value);
875  /// <summary>
876  /// Gets a value indicating whether IsEffortDriven is set or not.
877  /// </summary>
878  ASPOSE_TASKS_SHARED_API NullableBool get_IsEffortDriven();
879  /// <summary>
880  /// Sets a value indicating whether IsEffortDriven is set or not.
881  /// </summary>
882  ASPOSE_TASKS_SHARED_API void set_IsEffortDriven(NullableBool value);
883  /// <summary>
884  /// Gets a value indicating whether IsRecurring is set or not.
885  /// </summary>
886  ASPOSE_TASKS_SHARED_API NullableBool get_IsRecurring();
887  /// <summary>
888  /// Sets a value indicating whether IsRecurring is set or not.
889  /// </summary>
890  ASPOSE_TASKS_SHARED_API void set_IsRecurring(NullableBool value);
891  /// <summary>
892  /// Gets a value indicating whether IsSummary is set or not.
893  /// </summary>
894  ASPOSE_TASKS_SHARED_API bool get_IsSummary();
895  /// <summary>
896  /// Sets a value indicating whether IsSummary is set or not.
897  /// </summary>
898  ASPOSE_TASKS_SHARED_API void set_IsSummary(bool value);
899  /// <summary>
900  /// Gets a value indicating whether IsOverallocated is set or not.
901  /// </summary>
902  ASPOSE_TASKS_SHARED_API NullableBool get_IsOverallocated();
903  /// <summary>
904  /// Sets a value indicating whether IsOverallocated is set or not.
905  /// </summary>
906  ASPOSE_TASKS_SHARED_API void set_IsOverallocated(NullableBool value);
907  /// <summary>
908  /// Gets a value indicating whether IsEstimated is set or not.
909  /// </summary>
910  ASPOSE_TASKS_SHARED_API NullableBool get_IsEstimated();
911  /// <summary>
912  /// Sets a value indicating whether IsEstimated is set or not.
913  /// </summary>
914  ASPOSE_TASKS_SHARED_API void set_IsEstimated(NullableBool value);
915  /// <summary>
916  /// Gets a value indicating whether IsMilestone is set or not.
917  /// </summary>
918  ASPOSE_TASKS_SHARED_API NullableBool get_IsMilestone();
919  /// <summary>
920  /// Sets a value indicating whether IsMilestone is set or not.
921  /// </summary>
922  ASPOSE_TASKS_SHARED_API void set_IsMilestone(NullableBool value);
923  /// <summary>
924  /// Gets a value indicating whether IsCritical is set or not.
925  /// </summary>
926  ASPOSE_TASKS_SHARED_API NullableBool get_IsCritical();
927  /// <summary>
928  /// Sets a value indicating whether IsCritical is set or not.
929  /// </summary>
930  ASPOSE_TASKS_SHARED_API void set_IsCritical(NullableBool value);
931  /// <summary>
932  /// Gets a value indicating whether IsSubproject is set or not.
933  /// </summary>
934  ASPOSE_TASKS_SHARED_API bool get_IsSubproject();
935  /// <summary>
936  /// Sets a value indicating whether IsSubproject is set or not.
937  /// </summary>
938  ASPOSE_TASKS_SHARED_API void set_IsSubproject(bool value);
939  /// <summary>
940  /// Gets a value indicating whether IsSubprojectReadOnly is set or not.
941  /// </summary>
942  ASPOSE_TASKS_SHARED_API NullableBool get_IsSubprojectReadOnly();
943  /// <summary>
944  /// Sets a value indicating whether IsSubprojectReadOnly is set or not.
945  /// </summary>
946  ASPOSE_TASKS_SHARED_API void set_IsSubprojectReadOnly(NullableBool value);
947  /// <summary>
948  /// Gets a value indicating whether IsMarked is set or not.
949  /// </summary>
950  ASPOSE_TASKS_SHARED_API bool get_IsMarked();
951  /// <summary>
952  /// Sets a value indicating whether IsMarked is set or not.
953  /// </summary>
954  ASPOSE_TASKS_SHARED_API void set_IsMarked(bool value);
955  /// <summary>
956  /// Gets a value indicating whether IgnoreWarnings is set or not.
957  /// </summary>
958  ASPOSE_TASKS_SHARED_API bool get_IgnoreWarnings();
959  /// <summary>
960  /// Sets a value indicating whether IgnoreWarnings is set or not.
961  /// </summary>
962  ASPOSE_TASKS_SHARED_API void set_IgnoreWarnings(bool value);
963  /// <summary>
964  /// Gets a value indicating whether IsExternalTask is set or not.
965  /// </summary>
966  ASPOSE_TASKS_SHARED_API bool get_IsExternalTask();
967  /// <summary>
968  /// Sets a value indicating whether IsExternalTask is set or not.
969  /// </summary>
970  ASPOSE_TASKS_SHARED_API void set_IsExternalTask(bool value);
971  /// <summary>
972  /// Gets a value of SubprojectName.
973  /// </summary>
974  ASPOSE_TASKS_SHARED_API System::String get_SubprojectName();
975  /// <summary>
976  /// Sets a value of SubprojectName.
977  /// </summary>
978  ASPOSE_TASKS_SHARED_API void set_SubprojectName(const System::String& value);
979  /// <summary>
980  /// Gets a value of ExternalTaskProject.
981  /// </summary>
982  ASPOSE_TASKS_SHARED_API System::String get_ExternalTaskProject();
983  /// <summary>
984  /// Sets a value of ExternalTaskProject.
985  /// </summary>
986  ASPOSE_TASKS_SHARED_API void set_ExternalTaskProject(const System::String& value);
987  /// <summary>
988  /// Gets a value of ExternalId.
989  /// </summary>
990  ASPOSE_TASKS_SHARED_API int32_t get_ExternalId();
991  /// <summary>
992  /// Sets a value of ExternalId.
993  /// </summary>
994  ASPOSE_TASKS_SHARED_API void set_ExternalId(int32_t value);
995  /// <summary>
996  /// Gets or set the external task's Unique identifier when the task is external.
997  /// </summary>
998  ASPOSE_TASKS_SHARED_API int32_t get_ExternalUid();
999  /// <summary>
1000  /// Gets or set the external task's Unique identifier when the task is external.
1001  /// </summary>
1002  ASPOSE_TASKS_SHARED_API void set_ExternalUid(int32_t value);
1003  /// <summary>
1004  /// Gets a value of EarlyStart.
1005  /// </summary>
1006  ASPOSE_TASKS_SHARED_API System::DateTime get_EarlyStart();
1007  /// <summary>
1008  /// Sets a value of EarlyStart.
1009  /// </summary>
1010  ASPOSE_TASKS_SHARED_API void set_EarlyStart(System::DateTime value);
1011  /// <summary>
1012  /// Gets a value of EarlyFinish.
1013  /// </summary>
1014  ASPOSE_TASKS_SHARED_API System::DateTime get_EarlyFinish();
1015  /// <summary>
1016  /// Sets a value of EarlyFinish.
1017  /// </summary>
1018  ASPOSE_TASKS_SHARED_API void set_EarlyFinish(System::DateTime value);
1019  /// <summary>
1020  /// Gets a value of LateStart.
1021  /// </summary>
1022  ASPOSE_TASKS_SHARED_API System::DateTime get_LateStart();
1023  /// <summary>
1024  /// Sets a value of LateStart.
1025  /// </summary>
1026  ASPOSE_TASKS_SHARED_API void set_LateStart(System::DateTime value);
1027  /// <summary>
1028  /// Gets a value of LateFinish.
1029  /// </summary>
1030  ASPOSE_TASKS_SHARED_API System::DateTime get_LateFinish();
1031  /// <summary>
1032  /// Sets a value of LateFinish.
1033  /// </summary>
1034  ASPOSE_TASKS_SHARED_API void set_LateFinish(System::DateTime value);
1035  /// <summary>
1036  /// Gets a value of StartVariance.
1037  /// </summary>
1038  ASPOSE_TASKS_SHARED_API Aspose::Tasks::Duration get_StartVariance();
1039  /// <summary>
1040  /// Sets a value of StartVariance.
1041  /// </summary>
1042  ASPOSE_TASKS_SHARED_API void set_StartVariance(Aspose::Tasks::Duration value);
1043  /// <summary>
1044  /// Gets a value of FinishVariance.
1045  /// </summary>
1046  ASPOSE_TASKS_SHARED_API Aspose::Tasks::Duration get_FinishVariance();
1047  /// <summary>
1048  /// Sets a value of FinishVariance.
1049  /// </summary>
1050  ASPOSE_TASKS_SHARED_API void set_FinishVariance(Aspose::Tasks::Duration value);
1051  /// <summary>
1052  /// Gets a value of WorkVariance.
1053  /// </summary>
1054  ASPOSE_TASKS_SHARED_API Aspose::Tasks::Duration get_WorkVariance();
1055  /// <summary>
1056  /// Sets a value of WorkVariance.
1057  /// </summary>
1058  ASPOSE_TASKS_SHARED_API void set_WorkVariance(Aspose::Tasks::Duration value);
1059  /// <summary>
1060  /// Gets a value of CostVariance.
1061  /// </summary>
1062  ASPOSE_TASKS_SHARED_API double get_CostVariance();
1063  /// <summary>
1064  /// Sets a value of CostVariance.
1065  /// </summary>
1066  ASPOSE_TASKS_SHARED_API void set_CostVariance(double value);
1067  /// <summary>
1068  /// Gets a value of StartSlack.
1069  /// </summary>
1070  ASPOSE_TASKS_SHARED_API System::TimeSpan get_StartSlack();
1071  /// <summary>
1072  /// Sets a value of StartSlack.
1073  /// </summary>
1074  ASPOSE_TASKS_SHARED_API void set_StartSlack(System::TimeSpan value);
1075  /// <summary>
1076  /// Gets a value of FinishSlack.
1077  /// </summary>
1078  ASPOSE_TASKS_SHARED_API System::TimeSpan get_FinishSlack();
1079  /// <summary>
1080  /// Sets a value of FinishSlack.
1081  /// </summary>
1082  ASPOSE_TASKS_SHARED_API void set_FinishSlack(System::TimeSpan value);
1083  /// <summary>
1084  /// Gets a value of FreeSlack.
1085  /// </summary>
1086  ASPOSE_TASKS_SHARED_API System::TimeSpan get_FreeSlack();
1087  /// <summary>
1088  /// Sets a value of FreeSlack.
1089  /// </summary>
1090  ASPOSE_TASKS_SHARED_API void set_FreeSlack(System::TimeSpan value);
1091  /// <summary>
1092  /// Gets a value of TotalSlack.
1093  /// </summary>
1094  ASPOSE_TASKS_SHARED_API System::TimeSpan get_TotalSlack();
1095  /// <summary>
1096  /// Sets a value of TotalSlack.
1097  /// </summary>
1098  ASPOSE_TASKS_SHARED_API void set_TotalSlack(System::TimeSpan value);
1099  /// <summary>
1100  /// Gets a value of FixedCost.
1101  /// </summary>
1102  ASPOSE_TASKS_SHARED_API double get_FixedCost();
1103  /// <summary>
1104  /// Sets a value of FixedCost.
1105  /// </summary>
1106  ASPOSE_TASKS_SHARED_API void set_FixedCost(double value);
1107  /// <summary>
1108  /// Gets a value of FixedCostAccrual.
1109  /// </summary>
1110  ASPOSE_TASKS_SHARED_API CostAccrualType get_FixedCostAccrual();
1111  /// <summary>
1112  /// Sets a value of FixedCostAccrual.
1113  /// </summary>
1114  ASPOSE_TASKS_SHARED_API void set_FixedCostAccrual(CostAccrualType value);
1115  /// <summary>
1116  /// Gets a value of PercentComplete.
1117  /// </summary>
1118  ASPOSE_TASKS_SHARED_API int32_t get_PercentComplete();
1119  /// <summary>
1120  /// Sets a value of PercentComplete.
1121  /// </summary>
1122  ASPOSE_TASKS_SHARED_API void set_PercentComplete(int32_t value);
1123  /// <summary>
1124  /// Gets a value of PercentWorkComplete.
1125  /// </summary>
1126  ASPOSE_TASKS_SHARED_API int32_t get_PercentWorkComplete();
1127  /// <summary>
1128  /// Sets a value of PercentWorkComplete.
1129  /// </summary>
1130  ASPOSE_TASKS_SHARED_API void set_PercentWorkComplete(int32_t value);
1131  /// <summary>
1132  /// Gets a value of Cost.
1133  /// </summary>
1134  ASPOSE_TASKS_SHARED_API System::Decimal get_Cost();
1135  /// <summary>
1136  /// Sets a value of Cost.
1137  /// </summary>
1138  ASPOSE_TASKS_SHARED_API void set_Cost(System::Decimal value);
1139  /// <summary>
1140  /// Gets a value of OvertimeCost.
1141  /// </summary>
1142  ASPOSE_TASKS_SHARED_API System::Decimal get_OvertimeCost();
1143  /// <summary>
1144  /// Sets a value of OvertimeCost.
1145  /// </summary>
1146  ASPOSE_TASKS_SHARED_API void set_OvertimeCost(System::Decimal value);
1147  /// <summary>
1148  /// Gets a value of ActualStart.
1149  /// </summary>
1150  ASPOSE_TASKS_SHARED_API System::DateTime get_ActualStart();
1151  /// <summary>
1152  /// Sets a value of ActualStart.
1153  /// </summary>
1154  ASPOSE_TASKS_SHARED_API void set_ActualStart(System::DateTime value);
1155  /// <summary>
1156  /// Gets a value of ActualFinish.
1157  /// </summary>
1158  ASPOSE_TASKS_SHARED_API System::DateTime get_ActualFinish();
1159  /// <summary>
1160  /// Sets a value of ActualFinish.
1161  /// </summary>
1162  ASPOSE_TASKS_SHARED_API void set_ActualFinish(System::DateTime value);
1163  /// <summary>
1164  /// Gets a value of ActualDuration.
1165  /// </summary>
1166  ASPOSE_TASKS_SHARED_API Aspose::Tasks::Duration get_ActualDuration();
1167  /// <summary>
1168  /// Sets a value of ActualDuration.
1169  /// </summary>
1170  ASPOSE_TASKS_SHARED_API void set_ActualDuration(Aspose::Tasks::Duration value);
1171  /// <summary>
1172  /// Gets a value of ActualCost.
1173  /// </summary>
1174  ASPOSE_TASKS_SHARED_API System::Decimal get_ActualCost();
1175  /// <summary>
1176  /// Sets a value of ActualCost.
1177  /// </summary>
1178  ASPOSE_TASKS_SHARED_API void set_ActualCost(System::Decimal value);
1179  /// <summary>
1180  /// Gets a value of ActualOvertimeCost.
1181  /// </summary>
1182  ASPOSE_TASKS_SHARED_API System::Decimal get_ActualOvertimeCost();
1183  /// <summary>
1184  /// Sets a value of ActualOvertimeCost.
1185  /// </summary>
1186  ASPOSE_TASKS_SHARED_API void set_ActualOvertimeCost(System::Decimal value);
1187  /// <summary>
1188  /// Gets a value of ActualWork.
1189  /// </summary>
1190  ASPOSE_TASKS_SHARED_API Aspose::Tasks::Duration get_ActualWork();
1191  /// <summary>
1192  /// Sets a value of ActualWork.
1193  /// </summary>
1194  ASPOSE_TASKS_SHARED_API void set_ActualWork(Aspose::Tasks::Duration value);
1195  /// <summary>
1196  /// Gets a value of ActualOvertimeWork.
1197  /// </summary>
1199  /// <summary>
1200  /// Sets a value of ActualOvertimeWork.
1201  /// </summary>
1202  ASPOSE_TASKS_SHARED_API void set_ActualOvertimeWork(Aspose::Tasks::Duration value);
1203  /// <summary>
1204  /// Gets a value of RegularWork.
1205  /// </summary>
1206  ASPOSE_TASKS_SHARED_API Aspose::Tasks::Duration get_RegularWork();
1207  /// <summary>
1208  /// Sets a value of RegularWork.
1209  /// </summary>
1210  ASPOSE_TASKS_SHARED_API void set_RegularWork(Aspose::Tasks::Duration value);
1211  /// <summary>
1212  /// Gets a value of OvertimeWork.
1213  /// </summary>
1214  ASPOSE_TASKS_SHARED_API Aspose::Tasks::Duration get_OvertimeWork();
1215  /// <summary>
1216  /// Sets a value of OvertimeWork.
1217  /// </summary>
1218  ASPOSE_TASKS_SHARED_API void set_OvertimeWork(Aspose::Tasks::Duration value);
1219  /// <summary>
1220  /// Gets a value of RemainingDuration.
1221  /// </summary>
1223  /// <summary>
1224  /// Sets a value of RemainingDuration.
1225  /// </summary>
1226  ASPOSE_TASKS_SHARED_API void set_RemainingDuration(Aspose::Tasks::Duration value);
1227  /// <summary>
1228  /// Gets a value of RemainingCost.
1229  /// </summary>
1230  ASPOSE_TASKS_SHARED_API System::Decimal get_RemainingCost();
1231  /// <summary>
1232  /// Sets a value of RemainingCost.
1233  /// </summary>
1234  ASPOSE_TASKS_SHARED_API void set_RemainingCost(System::Decimal value);
1235  /// <summary>
1236  /// Gets a value of RemainingWork.
1237  /// </summary>
1238  ASPOSE_TASKS_SHARED_API Aspose::Tasks::Duration get_RemainingWork();
1239  /// <summary>
1240  /// Sets a value of RemainingWork.
1241  /// </summary>
1242  ASPOSE_TASKS_SHARED_API void set_RemainingWork(Aspose::Tasks::Duration value);
1243  /// <summary>
1244  /// Gets a value of RemainingOvertimeWork.
1245  /// </summary>
1247  /// <summary>
1248  /// Sets a value of RemainingOvertimeWork.
1249  /// </summary>
1250  ASPOSE_TASKS_SHARED_API void set_RemainingOvertimeWork(Aspose::Tasks::Duration value);
1251  /// <summary>
1252  /// Gets a value of RemainingOvertimeCost.
1253  /// </summary>
1254  ASPOSE_TASKS_SHARED_API System::Decimal get_RemainingOvertimeCost();
1255  /// <summary>
1256  /// Sets a value of RemainingOvertimeCost.
1257  /// </summary>
1258  ASPOSE_TASKS_SHARED_API void set_RemainingOvertimeCost(System::Decimal value);
1259  /// <summary>
1260  /// Gets a value of ACWP.
1261  /// </summary>
1262  ASPOSE_TASKS_SHARED_API double get_ACWP();
1263  /// <summary>
1264  /// Sets a value of ACWP.
1265  /// </summary>
1266  ASPOSE_TASKS_SHARED_API void set_ACWP(double value);
1267  /// <summary>
1268  /// Gets a value of CV.
1269  /// </summary>
1270  ASPOSE_TASKS_SHARED_API double get_CV();
1271  /// <summary>
1272  /// Sets a value of CV.
1273  /// </summary>
1274  ASPOSE_TASKS_SHARED_API void set_CV(double value);
1275  /// <summary>
1276  /// Gets a value of ConstraintType.
1277  /// </summary>
1278  ASPOSE_TASKS_SHARED_API Aspose::Tasks::ConstraintType get_ConstraintType();
1279  /// <summary>
1280  /// Sets a value of ConstraintType.
1281  /// </summary>
1282  ASPOSE_TASKS_SHARED_API void set_ConstraintType(Aspose::Tasks::ConstraintType value);
1283  /// <summary>
1284  /// Gets a value of Calendar.
1285  /// </summary>
1286  ASPOSE_TASKS_SHARED_API System::SharedPtr<Aspose::Tasks::Calendar> get_Calendar();
1287  /// <summary>
1288  /// Sets a value of Calendar.
1289  /// </summary>
1290  ASPOSE_TASKS_SHARED_API void set_Calendar(const System::SharedPtr<Aspose::Tasks::Calendar>& value);
1291  /// <summary>
1292  /// Gets a value of ConstraintDate.
1293  /// </summary>
1294  ASPOSE_TASKS_SHARED_API System::DateTime get_ConstraintDate();
1295  /// <summary>
1296  /// Sets a value of ConstraintDate.
1297  /// </summary>
1298  ASPOSE_TASKS_SHARED_API void set_ConstraintDate(System::DateTime value);
1299  /// <summary>
1300  /// Gets a value of Deadline.
1301  /// </summary>
1302  ASPOSE_TASKS_SHARED_API System::DateTime get_Deadline();
1303  /// <summary>
1304  /// Sets a value of Deadline.
1305  /// </summary>
1306  ASPOSE_TASKS_SHARED_API void set_Deadline(System::DateTime value);
1307  /// <summary>
1308  /// Gets a value indicating whether LevelAssignments is set or not.
1309  /// </summary>
1310  ASPOSE_TASKS_SHARED_API NullableBool get_LevelAssignments();
1311  /// <summary>
1312  /// Sets a value indicating whether LevelAssignments is set or not.
1313  /// </summary>
1314  ASPOSE_TASKS_SHARED_API void set_LevelAssignments(NullableBool value);
1315  /// <summary>
1316  /// Gets a value indicating whether LevelingCanSplit is set or not.
1317  /// </summary>
1318  ASPOSE_TASKS_SHARED_API NullableBool get_LevelingCanSplit();
1319  /// <summary>
1320  /// Sets a value indicating whether LevelingCanSplit is set or not.
1321  /// </summary>
1322  ASPOSE_TASKS_SHARED_API void set_LevelingCanSplit(NullableBool value);
1323  /// <summary>
1324  /// Gets a value of LevelingDelay.
1325  /// </summary>
1326  ASPOSE_TASKS_SHARED_API Aspose::Tasks::Duration get_LevelingDelay();
1327  /// <summary>
1328  /// Sets a value of LevelingDelay.
1329  /// </summary>
1330  ASPOSE_TASKS_SHARED_API void set_LevelingDelay(Aspose::Tasks::Duration value);
1331  /// <summary>
1332  /// Gets a value of PreleveledStart.
1333  /// </summary>
1334  ASPOSE_TASKS_SHARED_API System::DateTime get_PreleveledStart();
1335  /// <summary>
1336  /// Sets a value of PreleveledStart.
1337  /// </summary>
1338  ASPOSE_TASKS_SHARED_API void set_PreleveledStart(System::DateTime value);
1339  /// <summary>
1340  /// Gets a value of PreleveledFinish.
1341  /// </summary>
1342  ASPOSE_TASKS_SHARED_API System::DateTime get_PreleveledFinish();
1343  /// <summary>
1344  /// Sets a value of PreleveledFinish.
1345  /// </summary>
1346  ASPOSE_TASKS_SHARED_API void set_PreleveledFinish(System::DateTime value);
1347  /// <summary>
1348  /// Gets the title or explanatory text for a hyperlink associated with a task.
1349  /// </summary>
1350  ASPOSE_TASKS_SHARED_API System::String get_Hyperlink() override;
1351  /// <summary>
1352  /// Sets the title or explanatory text for a hyperlink associated with a task.
1353  /// </summary>
1354  ASPOSE_TASKS_SHARED_API void set_Hyperlink(System::String value) override;
1355  /// <summary>
1356  /// Gets the address for a hyperlink associated with a task.
1357  /// </summary>
1358  /// <remarks>The full address (Hyperlink Href in Microsoft Project) of the hyperlink is a concatenation of HyperlinkAddress and HyperlinkSubAddress.</remarks>
1359  ASPOSE_TASKS_SHARED_API System::String get_HyperlinkAddress() override;
1360  /// <summary>
1361  /// Sets the address for a hyperlink associated with a task.
1362  /// </summary>
1363  /// <remarks>The full address (Hyperlink Href in Microsoft Project) of the hyperlink is a concatenation of HyperlinkAddress and HyperlinkSubAddress.</remarks>
1364  ASPOSE_TASKS_SHARED_API void set_HyperlinkAddress(System::String value) override;
1365  /// <summary>
1366  /// Gets the specific location in a document in a hyperlink associated with a task.
1367  /// </summary>
1368  /// <remarks>The full address (Hyperlink Href in Microsoft Project) of the hyperlink is a concatenation of HyperlinkAddress and HyperlinkSubAddress.</remarks>
1369  ASPOSE_TASKS_SHARED_API System::String get_HyperlinkSubAddress() override;
1370  /// <summary>
1371  /// Sets the specific location in a document in a hyperlink associated with a task.
1372  /// </summary>
1373  /// <remarks>The full address (Hyperlink Href in Microsoft Project) of the hyperlink is a concatenation of HyperlinkAddress and HyperlinkSubAddress.</remarks>
1374  ASPOSE_TASKS_SHARED_API void set_HyperlinkSubAddress(System::String value) override;
1375  /// <summary>
1376  /// Gets a value indicating whether IgnoreResourceCalendar is set or not.
1377  /// </summary>
1378  ASPOSE_TASKS_SHARED_API NullableBool get_IgnoreResourceCalendar();
1379  /// <summary>
1380  /// Sets a value indicating whether IgnoreResourceCalendar is set or not.
1381  /// </summary>
1382  ASPOSE_TASKS_SHARED_API void set_IgnoreResourceCalendar(NullableBool value);
1383  /// <summary>
1384  /// Gets a value indicating whether HideBar is set or not.
1385  /// </summary>
1386  ASPOSE_TASKS_SHARED_API NullableBool get_HideBar();
1387  /// <summary>
1388  /// Sets a value indicating whether HideBar is set or not.
1389  /// </summary>
1390  ASPOSE_TASKS_SHARED_API void set_HideBar(NullableBool value);
1391  /// <summary>
1392  /// Gets a value indicating whether IsRollup is set or not.
1393  /// </summary>
1394  ASPOSE_TASKS_SHARED_API NullableBool get_IsRollup();
1395  /// <summary>
1396  /// Sets a value indicating whether IsRollup is set or not.
1397  /// </summary>
1398  ASPOSE_TASKS_SHARED_API void set_IsRollup(NullableBool value);
1399  /// <summary>
1400  /// Gets a value of BCWS.
1401  /// </summary>
1402  ASPOSE_TASKS_SHARED_API double get_BCWS();
1403  /// <summary>
1404  /// Sets a value of BCWS.
1405  /// </summary>
1406  ASPOSE_TASKS_SHARED_API void set_BCWS(double value);
1407  /// <summary>
1408  /// Gets a value of BCWP.
1409  /// </summary>
1410  ASPOSE_TASKS_SHARED_API double get_BCWP();
1411  /// <summary>
1412  /// Sets a value of BCWP.
1413  /// </summary>
1414  ASPOSE_TASKS_SHARED_API void set_BCWP(double value);
1415  /// <summary>
1416  /// Gets a value of PhysicalPercentComplete.
1417  /// </summary>
1418  ASPOSE_TASKS_SHARED_API int32_t get_PhysicalPercentComplete();
1419  /// <summary>
1420  /// Sets a value of PhysicalPercentComplete.
1421  /// </summary>
1422  ASPOSE_TASKS_SHARED_API void set_PhysicalPercentComplete(int32_t value);
1423  /// <summary>
1424  /// Gets a value of EarnedValueMethod.
1425  /// </summary>
1426  ASPOSE_TASKS_SHARED_API EarnedValueMethodType get_EarnedValueMethod();
1427  /// <summary>
1428  /// Sets a value of EarnedValueMethod.
1429  /// </summary>
1430  ASPOSE_TASKS_SHARED_API void set_EarnedValueMethod(EarnedValueMethodType value);
1431  /// <summary>
1432  /// Gets a value of ActualWorkProtected.
1433  /// </summary>
1435  /// <summary>
1436  /// Sets a value of ActualWorkProtected.
1437  /// </summary>
1438  ASPOSE_TASKS_SHARED_API void set_ActualWorkProtected(Aspose::Tasks::Duration value);
1439  /// <summary>
1440  /// Gets a value of ActualOvertimeWorkProtected.
1441  /// </summary>
1443  /// <summary>
1444  /// Sets a value of ActualOvertimeWorkProtected.
1445  /// </summary>
1446  ASPOSE_TASKS_SHARED_API void set_ActualOvertimeWorkProtected(Aspose::Tasks::Duration value);
1447  /// <summary>
1448  /// Gets a value indicating whether IsPublished is set or not.
1449  /// </summary>
1450  ASPOSE_TASKS_SHARED_API NullableBool get_IsPublished();
1451  /// <summary>
1452  /// Sets a value indicating whether IsPublished is set or not.
1453  /// </summary>
1454  ASPOSE_TASKS_SHARED_API void set_IsPublished(NullableBool value);
1455  /// <summary>
1456  /// Gets task status.
1457  /// </summary>
1458  ASPOSE_TASKS_SHARED_API TaskStatus get_Status();
1459  /// <summary>
1460  /// Gets a value of StatusManager.
1461  /// </summary>
1462  ASPOSE_TASKS_SHARED_API System::String get_StatusManager();
1463  /// <summary>
1464  /// Sets a value of StatusManager.
1465  /// </summary>
1466  ASPOSE_TASKS_SHARED_API void set_StatusManager(const System::String& value);
1467  /// <summary>
1468  /// Gets a value of CommitmentStart.
1469  /// </summary>
1470  ASPOSE_TASKS_SHARED_API System::DateTime get_CommitmentStart();
1471  /// <summary>
1472  /// Sets a value of CommitmentStart.
1473  /// </summary>
1474  ASPOSE_TASKS_SHARED_API void set_CommitmentStart(System::DateTime value);
1475  /// <summary>
1476  /// Gets a value of CommitmentFinish.
1477  /// </summary>
1478  ASPOSE_TASKS_SHARED_API System::DateTime get_CommitmentFinish();
1479  /// <summary>
1480  /// Sets a value of CommitmentFinish.
1481  /// </summary>
1482  ASPOSE_TASKS_SHARED_API void set_CommitmentFinish(System::DateTime value);
1483  /// <summary>
1484  /// Gets a value of CommitmentType.
1485  /// </summary>
1486  ASPOSE_TASKS_SHARED_API int32_t get_CommitmentType();
1487  /// <summary>
1488  /// Sets a value of CommitmentType.
1489  /// </summary>
1490  ASPOSE_TASKS_SHARED_API void set_CommitmentType(int32_t value);
1491  /// <summary>
1492  /// Gets a value indicating whether IsManual is set or not.
1493  /// </summary>
1494  ASPOSE_TASKS_SHARED_API NullableBool get_IsManual();
1495  /// <summary>
1496  /// Sets a value indicating whether IsManual is set or not.
1497  /// </summary>
1498  ASPOSE_TASKS_SHARED_API void set_IsManual(NullableBool value);
1499  /// <summary>
1500  /// Gets a value indicating whether IsExpanded is set or not.
1501  /// </summary>
1502  ASPOSE_TASKS_SHARED_API NullableBool get_IsExpanded();
1503  /// <summary>
1504  /// Sets a value indicating whether IsExpanded is set or not.
1505  /// </summary>
1506  ASPOSE_TASKS_SHARED_API void set_IsExpanded(NullableBool value);
1507  /// <summary>
1508  /// Gets a value of Guid.
1509  /// </summary>
1510  ASPOSE_TASKS_SHARED_API System::String get_Guid();
1511  /// <summary>
1512  /// Sets a value of Guid.
1513  /// </summary>
1514  ASPOSE_TASKS_SHARED_API void set_Guid(const System::String& value);
1515  /// <summary>
1516  /// Gets a value of NotesText.
1517  /// </summary>
1518  ASPOSE_TASKS_SHARED_API System::String get_NotesText() override;
1519  /// <summary>
1520  /// Sets a value of NotesText.
1521  /// </summary>
1522  ASPOSE_TASKS_SHARED_API void set_NotesText(System::String value) override;
1523  /// <summary>
1524  /// Gets a value of NotesRTF.
1525  /// </summary>
1526  ASPOSE_TASKS_SHARED_API System::String get_NotesRTF() override;
1527  /// <summary>
1528  /// Sets a value of NotesRTF.
1529  /// </summary>
1530  ASPOSE_TASKS_SHARED_API void set_NotesRTF(System::String value) override;
1531  /// <summary>
1532  /// Gets a value of ManualStart.
1533  /// </summary>
1534  ASPOSE_TASKS_SHARED_API System::DateTime get_ManualStart();
1535  /// <summary>
1536  /// Sets a value of ManualStart.
1537  /// </summary>
1538  ASPOSE_TASKS_SHARED_API void set_ManualStart(System::DateTime value);
1539  /// <summary>
1540  /// Gets a value of ManualFinish.
1541  /// </summary>
1542  ASPOSE_TASKS_SHARED_API System::DateTime get_ManualFinish();
1543  /// <summary>
1544  /// Sets a value of ManualFinish.
1545  /// </summary>
1546  ASPOSE_TASKS_SHARED_API void set_ManualFinish(System::DateTime value);
1547  /// <summary>
1548  /// Gets a value of ManualDuration.
1549  /// </summary>
1550  ASPOSE_TASKS_SHARED_API Aspose::Tasks::Duration get_ManualDuration();
1551  /// <summary>
1552  /// Sets a value of ManualDuration.
1553  /// </summary>
1554  ASPOSE_TASKS_SHARED_API void set_ManualDuration(Aspose::Tasks::Duration value);
1555  /// <summary>
1556  /// Gets a value of BudgetWork.
1557  /// </summary>
1558  ASPOSE_TASKS_SHARED_API Aspose::Tasks::Duration get_BudgetWork();
1559  /// <summary>
1560  /// Sets a value of BudgetWork.
1561  /// </summary>
1562  ASPOSE_TASKS_SHARED_API void set_BudgetWork(Aspose::Tasks::Duration value);
1563  /// <summary>
1564  /// Gets a value of BudgetCost.
1565  /// </summary>
1566  ASPOSE_TASKS_SHARED_API System::Decimal get_BudgetCost();
1567  /// <summary>
1568  /// Sets a value of BudgetCost.
1569  /// </summary>
1570  ASPOSE_TASKS_SHARED_API void set_BudgetCost(System::Decimal value);
1571  /// <summary>
1572  /// Gets a value indicating whether DisplayAsSummary is set or not.
1573  /// </summary>
1574  ASPOSE_TASKS_SHARED_API NullableBool get_DisplayAsSummary();
1575  /// <summary>
1576  /// Sets a value indicating whether DisplayAsSummary is set or not.
1577  /// </summary>
1578  ASPOSE_TASKS_SHARED_API void set_DisplayAsSummary(NullableBool value);
1579  /// <summary>
1580  /// Gets a value indicating whether IsActive is set or not.
1581  /// </summary>
1582  ASPOSE_TASKS_SHARED_API NullableBool get_IsActive();
1583  /// <summary>
1584  /// Sets a value indicating whether IsActive is set or not.
1585  /// </summary>
1586  ASPOSE_TASKS_SHARED_API void set_IsActive(NullableBool value);
1587  /// <summary>
1588  /// Gets a value of StartText.
1589  /// </summary>
1590  ASPOSE_TASKS_SHARED_API System::String get_StartText();
1591  /// <summary>
1592  /// Sets a value of StartText.
1593  /// </summary>
1594  ASPOSE_TASKS_SHARED_API void set_StartText(const System::String& value);
1595  /// <summary>
1596  /// Gets a value of DurationText.
1597  /// </summary>
1598  ASPOSE_TASKS_SHARED_API System::String get_DurationText();
1599  /// <summary>
1600  /// Sets a value of DurationText.
1601  /// </summary>
1602  ASPOSE_TASKS_SHARED_API void set_DurationText(const System::String& value);
1603  /// <summary>
1604  /// Gets a value of FinishText.
1605  /// </summary>
1606  ASPOSE_TASKS_SHARED_API System::String get_FinishText();
1607  /// <summary>
1608  /// Sets a value of FinishText.
1609  /// </summary>
1610  ASPOSE_TASKS_SHARED_API void set_FinishText(const System::String& value);
1611  /// <summary>
1612  /// Gets a value indicating whether DisplayOnTimeline is set or not.
1613  /// </summary>
1614  ASPOSE_TASKS_SHARED_API bool get_DisplayOnTimeline();
1615  /// <summary>
1616  /// Sets a value indicating whether DisplayOnTimeline is set or not.
1617  /// </summary>
1618  ASPOSE_TASKS_SHARED_API void set_DisplayOnTimeline(bool value);
1619  /// <summary>
1620  /// Gets a value indicating whether Warning is set or not.
1621  /// </summary>
1622  ASPOSE_TASKS_SHARED_API bool get_Warning();
1623  /// <summary>
1624  /// Sets a value indicating whether Warning is set or not.
1625  /// </summary>
1626  ASPOSE_TASKS_SHARED_API void set_Warning(bool value);
1627  /// <summary>
1628  /// Represents activity id field - a task's unique identifier used by Primavera. (only applicable to Primavera projects).
1629  /// </summary>
1630  ASPOSE_TASKS_SHARED_API System::String get_ActivityId();
1631  /// <summary>
1632  /// Represents activity id field - a task's unique identifier used by Primavera. (only applicable to Primavera projects).
1633  /// </summary>
1634  ASPOSE_TASKS_SHARED_API void set_ActivityId(const System::String& value);
1635  /// <summary>
1636  /// The earned value schedule variance, through the project status date.
1637  /// Schedule variance (SV) is the difference between the BCWP and the BCWS.
1638  /// </summary>
1639  ASPOSE_TASKS_SHARED_API double get_SV();
1640  /// <summary>
1641  /// The earned value schedule variance, through the project status date.
1642  /// Schedule variance (SV) is the difference between the BCWP and the BCWS.
1643  /// </summary>
1644  ASPOSE_TASKS_SHARED_API void set_SV(double value);
1645 
1646  /// <summary>
1647  /// Recursively collects all child tasks of this task.
1648  /// </summary>
1649  /// <returns>A list of child tasks of this task.</returns>
1650  ASPOSE_TASKS_SHARED_API System::SharedPtr<System::Collections::Generic::IEnumerable<System::SharedPtr<Task>>> SelectAllChildTasks();
1651  /// <summary>
1652  /// Returns <see cref="TimephasedDataCollection"></see> object with <see cref="TimephasedData"></see> values within given start and end dates of specified time-phased data type.
1653  /// </summary>
1654  /// <param name="start">The start date for the time phased data.</param>
1655  /// <param name="end">The end date for the time phased data.</param>
1656  /// <param name="timephasedType">The type of time phased data (<see cref="Aspose::Tasks::TimephasedDataType"></see>).</param>
1657  /// <returns>A <see cref="TimephasedDataCollection"></see> object with <see cref="TimephasedData"></see> values within given start and end dates of specified timephased data type.</returns>
1658  ASPOSE_TASKS_SHARED_API System::SharedPtr<TimephasedDataCollection> GetTimephasedData(System::DateTime start, System::DateTime end, TimephasedDataType timephasedType);
1659  /// <summary>
1660  /// Returns <see cref="TimephasedDataCollection"></see> object with <see cref="TimephasedData"></see> values within given start and end dates.
1661  /// </summary>
1662  /// <param name="start">The start date for the time phased data.</param>
1663  /// <param name="end">The end date for the time phased data.</param>
1664  /// <returns>List of <see cref="Aspose::Tasks::TimephasedData"></see> to be filled in.</returns>
1665  ASPOSE_TASKS_SHARED_API System::SharedPtr<TimephasedDataCollection> GetTimephasedData(System::DateTime start, System::DateTime end);
1666  /// <summary>
1667  /// Creates full copy of a task without subtasks.
1668  /// </summary>
1669  /// <returns>Created copy of a task.</returns>
1670  ASPOSE_TASKS_SHARED_API System::SharedPtr<System::Object> Clone();
1671  /// <summary>
1672  /// Returns a value indicating whether this instance is equal to a specified task.
1673  /// </summary>
1674  /// <param name="other">The specified task to compare with this instance.</param>
1675  /// <returns>returns true if the specified task and this instance have equal unique ids.</returns>
1676  ASPOSE_TASKS_SHARED_API bool Equals(System::SharedPtr<Task> other) override;
1677  /// <summary>
1678  /// Returns a value indicating whether this instance is equal to a specified object.
1679  /// </summary>
1680  /// <param name="obj">The specified object to compare with this instance.</param>
1681  /// <returns>returns true if the specified task and this instance have equal unique ids.</returns>
1682  ASPOSE_TASKS_SHARED_API bool Equals(System::SharedPtr<System::Object> obj) override;
1683  /// <summary>
1684  /// Returns short string representation of a task.
1685  /// The exact details of the representation are unspecified and subject to change.
1686  /// </summary>
1687  /// <returns>short string which represents task object.</returns>
1688  ASPOSE_TASKS_SHARED_API System::String ToString() const override;
1689  /// <summary>
1690  /// Returns a hash code value for this Task.
1691  /// </summary>
1692  /// <returns>returns a hash code value for this object.</returns>
1693  ASPOSE_TASKS_SHARED_API int32_t GetHashCode() const override;
1694  /// <summary>
1695  /// Returns the value to which the property is mapped in this container.
1696  /// </summary>
1697  /// <typeparam name="T">the type of the mapped value.</typeparam>
1698  /// <param name="key">the specified property key. <see cref="Tsk"></see> for getting the property key.</param>
1699  /// <returns>the value to which the property is mapped in this container.</returns>
1700  template <typename T>
1701  T Get(const Key<T, TaskKey>& key) const
1702  {
1703  // Need to distinguish between string and non-string versions of Get(KeyInternal), as the string one checks NotesManager
1704  // and generic one does not.
1705  // This only needs to be done in C# code as C++ resolves templates differently and will call a proper overloaded member
1706  // with no additional costs.
1707  PrintValue<T>(key);
1708  System::SharedPtr<System::Object> res;
1709 
1710  if (this->GetCalculatedValue(key.get_KeyType(), res))
1711  {
1712  return System::ExplicitCast<T>(res);
1713  }
1714 
1715  return this->container->template CheckPropAndGet<T>(key);
1716  }
1717 
1718  /// <summary>
1719  /// Maps the specified property to the specified value in this container.
1720  /// </summary>
1721  /// <param name="key">the specified property key. <see cref="Tsk"></see> for getting the property key.</param>
1722  /// <param name="val">the value.</param>
1723  /// <typeparam name="T">the type of the mapped value.</typeparam>
1724  template <typename T>
1725  void Set(const Key<T, TaskKey>& key, const T& val)
1726  {
1727  PrintValue<T>(System::MakeSharedPtr(this), key, val);
1728  // ReSharper disable once RedundantCast
1729  if (this->SetCalculatedValue(key.get_KeyType(), System::ExplicitCast<System::Object>(val)))
1730  {
1731  return;
1732  }
1733 
1734  this->PropertyValueChanging(key.get_PropCategory());
1735 
1736  this->container->template CheckPropAndSet<T>(key, val);
1737  }
1738 
1739  /// <summary>
1740  /// Deletes a task from parent project tasks collection and all its assignments.
1741  /// </summary>
1742  ASPOSE_TASKS_SHARED_API void Delete();
1743  /// <summary>
1744  /// Indents a task in the outline.
1745  /// </summary>
1746  ASPOSE_TASKS_SHARED_API void OutlineIndent();
1747  /// <summary>
1748  /// Promotes a task in the outline.
1749  /// </summary>
1750  ASPOSE_TASKS_SHARED_API void OutlineOutdent();
1751  /// <summary>
1752  /// Moves the current task at the same Outline Level before the specified task.
1753  /// If ParentProject.CalculationMode is None user should invoke Project.Recalculate() after using this method (It will reschedule all project tasks (start/finish dates, sets early/late dates) and calculate the dependent fields such as slacks, work and cost fields, outline levels).
1754  /// If ParentProject.CalculationMode is Manual the method will calculate only task id, outline level and outline numbers automatically.
1755  /// If ParentProject.CalculationMode is Automatic the method reschedules all project's tasks automatically
1756  /// (start/finish dates, sets early/late dates, calculates slacks, work and cost fields, recalculates ids and outline levels).
1757  /// </summary>
1758  /// <param name="beforeTask">Task before which the current task will be inserted.</param>
1759  ASPOSE_TASKS_SHARED_API void MoveToSibling(const System::SharedPtr<Task>& beforeTask);
1760  /// <summary>
1761  /// Moves the current task at the same Outline Level before a task with the specified Id.
1762  /// If ParentProject.CalculationMode is None user should invoke Project.Recalculate() after using this method (It will reschedule all project tasks (start/finish dates, sets early/late dates) and calculate the dependent fields such as slacks, work and cost fields, outline levels).
1763  /// If ParentProject.CalculationMode is Manual the method will calculate only task id, outline level and outline numbers automatically.
1764  /// If ParentProject.CalculationMode is Automatic the method reschedules all project's tasks automatically
1765  /// (start/finish dates, sets early/late dates, calculates slacks, work and cost fields, recalculates ids and outline levels).
1766  /// </summary>
1767  /// <param name="beforeTaskId">Id (<see cref="Tsk::Id"></see>) of a task before which the current task will be inserted.</param>
1768  ASPOSE_TASKS_SHARED_API void MoveToSibling(int32_t beforeTaskId);
1769  static bool _anonymous_method_0(System::SharedPtr<Task> t);
1770  static bool _anonymous_method_1(System::SharedPtr<Task> t);
1771 
1772 protected:
1773 
1774  /// <summary>
1775  /// Gets a collection of resource assignments for this object.
1776  /// </summary>
1777  ASPOSE_TASKS_SHARED_API void set_Assignments(const System::SharedPtr<ResourceAssignmentCollection>& value);
1778  /// <summary>
1779  /// Gets the parent project of a task.
1780  /// </summary>
1781  /// <remarks>
1782  /// Call Project.UpdateReferences to update these properties.
1783  /// </remarks>
1784  ASPOSE_TASKS_SHARED_API void set_ParentProject(const System::SharedPtr<Project>& value);
1785  /// <summary>
1786  /// Gets the parent task of a task.
1787  /// </summary>
1788  ASPOSE_TASKS_SHARED_API void set_ParentTask(const System::SharedPtr<Task>& value);
1789  /// <summary>
1790  /// Gets a child task collection of this object.
1791  /// TaskCollection object which represents children tasks.
1792  /// </summary>
1793  ASPOSE_TASKS_SHARED_API void set_Children(const System::SharedPtr<TaskCollection>& value);
1794  /// <summary>
1795  /// Gets a SplitPart collection that represents the portions of a task.
1796  /// </summary>
1797  ASPOSE_TASKS_SHARED_API void set_SplitParts(const System::SharedPtr<SplitPartCollection>& value);
1798  /// <summary>
1799  /// Gets ExtendedAttributeCollection object containing the values of an extended attribute.
1800  /// </summary>
1801  /// <remarks>
1802  /// Two pieces of data are necessary - a pointer back to the extended attribute table
1803  /// which is specified either by the unique ID or the Field ID, and the value
1804  /// which is specified either with the value, or a pointer back to the value list.
1805  /// </remarks>
1806  ASPOSE_TASKS_SHARED_API void set_ExtendedAttributes(const System::SharedPtr<ExtendedAttributeCollection>& value);
1807  /// <summary>
1808  /// Gets the instance of <see cref="RecurringTaskInfo"></see> class for the task which is a recurring task; if the task is not a recurring one then returns null;
1809  /// <remarks>The info for the instance of <see cref="RecurringTaskInfo"></see> is present in mpp file format only.</remarks>
1810  /// </summary>
1811  ASPOSE_TASKS_SHARED_API void set_RecurringInfo(const System::SharedPtr<RecurringTaskInfo>& value);
1812  /// <summary>
1813  /// Gets an object containing Primavera-specific properties for a task read from Primavera file.
1814  /// </summary>
1815  ASPOSE_TASKS_SHARED_API void set_PrimaveraProperties(const System::SharedPtr<PrimaveraTaskProperties>& value);
1816  ASPOSE_TASKS_SHARED_API System::DateTime get_SummaryProgress() const;
1817  ASPOSE_TASKS_SHARED_API void set_SummaryProgress(System::DateTime value);
1818  ASPOSE_TASKS_SHARED_API NullableBool get_IsShowBeforeProjectStartDateWarning() const;
1819  ASPOSE_TASKS_SHARED_API void set_IsShowBeforeProjectStartDateWarning(NullableBool value);
1820  ASPOSE_TASKS_SHARED_API NullableBool get_IsTaskAssigned() const;
1821  ASPOSE_TASKS_SHARED_API void set_IsTaskAssigned(NullableBool value);
1822  ASPOSE_TASKS_SHARED_API NullableBool get_IsScheduled() const;
1823  ASPOSE_TASKS_SHARED_API void set_IsScheduled(NullableBool value);
1824  ASPOSE_TASKS_SHARED_API bool get_IsRoot();
1825  ASPOSE_TASKS_SHARED_API bool get_IsParentTaskUidKnown();
1826  /// <summary>
1827  /// Gets the value of ParentTaskUid when the parent task object is not available.
1828  /// Used at the data loading stage to store the value of ParentTaskUid when the parent task object is not available.
1829  /// </summary>
1830  ASPOSE_TASKS_SHARED_API int32_t get_ParentTaskUid() const;
1831  /// <summary>
1832  /// Sets the value of ParentTaskUid when the parent task object is not available.
1833  /// Used at the data loading stage to store the value of ParentTaskUid when the parent task object is not available.
1834  /// </summary>
1835  ASPOSE_TASKS_SHARED_API void set_ParentTaskUid(int32_t value);
1836  ASPOSE_TASKS_SHARED_API System::Decimal get_BaselineCost();
1837  ASPOSE_TASKS_SHARED_API bool get_HasInflexibleConstraint();
1838  ASPOSE_TASKS_SHARED_API bool get_HasSemiFlexibleConstraint();
1839  ASPOSE_TASKS_SHARED_API bool get_BeyondDeadline();
1840  ASPOSE_TASKS_SHARED_API bool get_IsComplete();
1841  ASPOSE_TASKS_SHARED_API bool get_Started();
1842  ASPOSE_TASKS_SHARED_API bool get_ConstraintNotSet();
1843  ASPOSE_TASKS_SHARED_API bool get_HasNoActivePredecessors();
1844  ASPOSE_TASKS_SHARED_API bool get_HasNoActiveSuccessors();
1845  ASPOSE_TASKS_SHARED_API bool get_NotAssigned();
1846  ASPOSE_TASKS_SHARED_API bool get_AssignedToDefault();
1847  ASPOSE_TASKS_SHARED_API const System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<TaskLink>>>& get_PredRelations() const;
1848  ASPOSE_TASKS_SHARED_API const System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<TaskLink>>>& get_SuccRelations() const;
1849  ASPOSE_TASKS_SHARED_API double get_TempId() const;
1850  ASPOSE_TASKS_SHARED_API void set_TempId(double value);
1851  ASPOSE_TASKS_SHARED_API bool get_IsLinked();
1852  ASPOSE_TASKS_SHARED_API bool get_OnlySFLinked();
1853  ASPOSE_TASKS_SHARED_API const System::SharedPtr<TaskLinkTable>& get_PredecessorsTable() const;
1854  ASPOSE_TASKS_SHARED_API const System::SharedPtr<TaskLinkTable>& get_SuccessorsTable() const;
1855  ASPOSE_TASKS_SHARED_API System::SharedPtr<System::Collections::Generic::IEnumerable<System::SharedPtr<TaskLink>>> get_PredecessorLinks();
1856  ASPOSE_TASKS_SHARED_API bool get_HasPredecessorLinks();
1857  ASPOSE_TASKS_SHARED_API System::SharedPtr<System::Collections::Generic::IEnumerable<System::SharedPtr<TaskLink>>> get_SuccessorLinks();
1858  ASPOSE_TASKS_SHARED_API bool get_HasSuccessorLinks();
1859  ASPOSE_TASKS_SHARED_API TimeUnitType get_BaselineDurationFormat();
1860  ASPOSE_TASKS_SHARED_API void set_BaselineDurationFormat(TimeUnitType value);
1861 
1862  /// <summary>
1863  /// Initializes a new instance of the <see cref="Task"></see> class.
1864  /// <param name="parentProject">the specified parent project.</param>
1865  /// </summary>
1866  ASPOSE_TASKS_SHARED_API Task(const System::SharedPtr<Project>& parentProject);
1867 
1868  ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(Task, CODEPORTING_ARGS(const System::SharedPtr<Project>& parentProject));
1869 
1870  /// <summary>
1871  /// Initializes a new instance of the <see cref="Task"></see> class.
1872  /// <param name="parentProject">the specified parent project.</param>
1873  /// <param name="now">the task created date.</param>
1874  /// </summary>
1875  ASPOSE_TASKS_SHARED_API Task(const System::SharedPtr<Project>& parentProject, System::DateTime now);
1876 
1877  ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(Task, CODEPORTING_ARGS(const System::SharedPtr<Project>& parentProject, System::DateTime now));
1878 
1879  /// <summary>
1880  /// Initializes a new instance of the <see cref="Task"></see> class.
1881  /// </summary>
1882  /// <param name="parentProject">the specified parent project.</param>
1883  /// <param name="parentTask">the specified parent task.</param>
1884  ASPOSE_TASKS_SHARED_API Task(const System::SharedPtr<Project>& parentProject, const System::SharedPtr<Task>& parentTask);
1885 
1886  ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(Task, CODEPORTING_ARGS(const System::SharedPtr<Project>& parentProject, const System::SharedPtr<Task>& parentTask));
1887  /// <summary>
1888  /// Recursively enumerates the task and its descendant tasks.
1889  /// </summary>
1890  /// <returns>IEnumerable which can be used to enumerate all child tasks.</returns>
1891  ASPOSE_TASKS_SHARED_API System::SharedPtr<System::Collections::Generic::IEnumerable<System::SharedPtr<Task>>> EnumerateAllChildTasks();
1892  ASPOSE_TASKS_SHARED_API System::SharedPtr<TaskPlanner> GetTaskPlanner();
1893  /// <summary>
1894  /// Returns actual SplitParts without any side effect.
1895  /// </summary>
1896  /// <remarks>
1897  /// Use this method in case you do not want to save calculated SplitParts (as <see cref="SplitParts"></see> property does), so they can be calculated further.
1898  /// </remarks>
1899  ASPOSE_TASKS_SHARED_API System::SharedPtr<SplitPartCollection> GetCalculatedSplitParts();
1900  /// <summary>
1901  /// Recalculates task start/finish dates according to task duration.
1902  /// If applied to Project.RootTask reschedules all project's tasks start/finish dates, sets early/late dates and calculates slacks.
1903  /// </summary>
1904  ASPOSE_TASKS_SHARED_API void Recalculate();
1905  ASPOSE_TASKS_SHARED_API void Recalculate(bool calcManuals);
1906  /// <summary>
1907  /// Returns all children including subtasks of the specified task (parent task excluded).
1908  /// </summary>
1909  /// <param name="parentTask">Parent task.</param>
1910  /// <returns>List of children tasks.</returns>
1911  static ASPOSE_TASKS_SHARED_API System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Task>>> GetAllSubtasks(const System::SharedPtr<Task>& parentTask);
1912  /// <summary>
1913  /// Returns all active and not null children including subtasks of the specified task (parent task excluded).
1914  /// </summary>
1915  /// <param name="parentTask">Parent task.</param>
1916  /// <returns>List of children tasks.</returns>
1917  static ASPOSE_TASKS_SHARED_API System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Task>>> GetAllActiveSubtasks(const System::SharedPtr<Task>& parentTask);
1918  static ASPOSE_TASKS_SHARED_API System::SharedPtr<System::Collections::Generic::IEnumerable<System::SharedPtr<Task>>> EnumerateSubTasks(const System::SharedPtr<Task>& parentTask);
1919  static ASPOSE_TASKS_SHARED_API System::SharedPtr<System::Collections::Generic::IEnumerable<System::SharedPtr<Task>>> EnumerateAllActiveSubTasks(const System::SharedPtr<Task>& parentTask);
1920  static ASPOSE_TASKS_SHARED_API System::SharedPtr<System::Collections::Generic::IEnumerable<System::SharedPtr<Task>>> EnumerateAssignedSubTasks(const System::SharedPtr<Task>& parentTask);
1921  static ASPOSE_TASKS_SHARED_API void SortChildren(const System::SharedPtr<Task>& root);
1922  ASPOSE_TASKS_SHARED_API System::SharedPtr<System::Collections::Generic::IEnumerable<System::SharedPtr<ResourceAssignment>>> EnumerateValidAssignments();
1923  ASPOSE_TASKS_SHARED_API System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<ResourceAssignment>>> GetValidAssignments();
1924  ASPOSE_TASKS_SHARED_API System::SharedPtr<System::Collections::Generic::IEnumerable<System::SharedPtr<ResourceAssignment>>> EnumerateValidWorkAssignments();
1925  ASPOSE_TASKS_SHARED_API System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<ResourceAssignment>>> GetValidWorkAssignments();
1926  ASPOSE_TASKS_SHARED_API System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<ResourceAssignment>>> GetValidMaterialAssignments();
1927  ASPOSE_TASKS_SHARED_API void SetBaseline(BaselineType baselineType);
1928  ASPOSE_TASKS_SHARED_API void SetDefaultDuration();
1929  ASPOSE_TASKS_SHARED_API System::TimeSpan GetWorkByAssignmentsTD(System::DateTime date, TimephasedDataType assnWorkType);
1930  ASPOSE_TASKS_SHARED_API double GetCostByAssignmentsTD(System::DateTime date);
1931  ASPOSE_TASKS_SHARED_API bool HasOneValidAssignment(const System::SharedPtr<ResourceAssignment>& assn);
1932  ASPOSE_TASKS_SHARED_API System::SharedPtr<Task> CloneWithRelations();
1933  ASPOSE_TASKS_SHARED_API void ClearRelations();
1934  ASPOSE_TASKS_SHARED_API Aspose::Tasks::Duration GetDuration(System::TimeSpan timeSpan);
1935  /// <summary>
1936  /// Calculated field.
1937  /// </summary>
1938  /// <param name="statusDate">Status date to define if task is late.</param>
1939  /// <returns>true if late, false otherwise.</returns>
1940  ASPOSE_TASKS_SHARED_API bool IsLate(System::DateTime statusDate);
1941  ASPOSE_TASKS_SHARED_API void SetFinish();
1942  ASPOSE_TASKS_SHARED_API System::SharedPtr<Aspose::Tasks::Calendar> GetCalendarOrStandard();
1943  ASPOSE_TASKS_SHARED_API void UpdateReferences();
1944  /// <summary>
1945  /// Set start date from finish and work.
1946  /// </summary>
1947  ASPOSE_TASKS_SHARED_API void SetStart();
1948  ASPOSE_TASKS_SHARED_API void RescheduleIncompleteWork(System::DateTime after);
1949  ASPOSE_TASKS_SHARED_API int32_t GetChildTaskIndex(const System::SharedPtr<Task>& child);
1950  ASPOSE_TASKS_SHARED_API void Expand(bool value);
1951  ASPOSE_TASKS_SHARED_API void CleanActuals();
1952  ASPOSE_TASKS_SHARED_API void SetManualStartFinish();
1953  ASPOSE_TASKS_SHARED_API void CalcSummaryWorkByChildren();
1954  ASPOSE_TASKS_SHARED_API void CalcSummaryCostByChildren();
1955  ASPOSE_TASKS_SHARED_API void CalcTaskDatesByAssignments();
1956  ASPOSE_TASKS_SHARED_API void SetDurationByStartFinish();
1957  ASPOSE_TASKS_SHARED_API void CalcFieldsByAssignments();
1958  ASPOSE_TASKS_SHARED_API void UpdateIsMilestone(Aspose::Tasks::Duration prevDuration, Aspose::Tasks::Duration duration);
1959  ASPOSE_TASKS_SHARED_API void RemoveTheDefaultAssignment();
1960  ASPOSE_TASKS_SHARED_API int32_t GetSplitPartsCount();
1961  /// <summary>
1962  /// Returns the value to which the property is mapped in this container.
1963  /// TODO: The method is smell, we have to use the IContainer.Get method and deliver the control on calculation to current ProjectState.
1964  /// </summary>
1965  /// <typeparam name="T">the type of the mapped value.</typeparam>
1966  /// <param name="key">the specified property key. <see cref="Tsk"></see> for getting the property key.</param>
1967  /// <param name="checkCalculated">check against calculated.</param>
1968  /// <returns>the value to which the property is mapped in this container.</returns>
1969  template <typename T>
1970  T Get1(Key<T, TaskKey> key, bool checkCalculated)
1971  {
1972  System::SharedPtr<System::Object> res;
1973  if (checkCalculated && this->GetCalculatedValue(key.get_KeyType(), res))
1974  {
1975  return System::ExplicitCast<T>(res);
1976  }
1977 
1978  return this->container->template CheckPropAndGet<T>(key);
1979  }
1980 
1981  template <typename T>
1982  void SetDirectly(Key<T, TaskKey> key, T val)
1983  {
1984  this->container->template CheckPropAndSet<T>(key, val);
1985  }
1986 
1987  ASPOSE_TASKS_SHARED_API bool IsManualUninitializedTask();
1988  ASPOSE_TASKS_SHARED_API bool IsManualOnNonWorkingTime();
1989  ASPOSE_TASKS_SHARED_API void PropertyValueChanging(uint8_t category);
1990  ASPOSE_TASKS_SHARED_API Util::DateTimeInterval GetRemainingEarlyStartFinish();
1991 
1992  virtual ASPOSE_TASKS_SHARED_API ~Task();
1993 
1994  #ifdef ASPOSE_GET_SHARED_MEMBERS
1995  ASPOSE_TASKS_SHARED_API void GetSharedMembers(System::Object::shared_members_type& result) const override;
1996  #endif
1997 
1998 
1999 private:
2000 
2001  System::SharedPtr<PropertyContainer<TaskKey>> container;
2002  System::SharedPtr<TimephasedDataCollection> timephasedData;
2003  System::SharedPtr<ResourceAssignmentCollection> assignments;
2004  System::WeakPtr<Task> parentTask;
2005  System::SharedPtr<SplitPartCollection> splitParts;
2006  TimeUnitType baselineDurationFormat;
2007  System::SharedPtr<RecurringTaskInfo> recurringInfo;
2008  System::SharedPtr<TaskPlanner> taskPlanner;
2009  System::WeakPtr<Project> pr_ParentProject;
2010  System::SharedPtr<OutlineCodeCollection> pr_OutlineCodes;
2011  System::SharedPtr<TaskCollection> pr_Children;
2012 
2013  ASPOSE_TASKS_SHARED_API bool get_HasChildren() override;
2014  ASPOSE_TASKS_SHARED_API System::SharedPtr<System::Collections::Generic::IEnumerable<System::SharedPtr<IExtendedAttributeParent>>> get_Items() override;
2015 
2016  System::SharedPtr<ExtendedAttributeCollection> pr_ExtendedAttributes;
2017  System::SharedPtr<TaskBaselineCollection> pr_Baselines;
2018  System::SharedPtr<PrimaveraTaskProperties> pr_PrimaveraProperties;
2019  System::DateTime pr_SummaryProgress;
2020  NullableBool pr_IsShowBeforeProjectStartDateWarning;
2021  NullableBool pr_IsTaskAssigned;
2022  NullableBool pr_IsScheduled;
2023  int32_t pr_ParentTaskUid;
2024  System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<TaskLink>>> pr_PredRelations;
2025 
2026  ASPOSE_TASKS_SHARED_API void set_PredRelations(const System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<TaskLink>>>& value);
2027 
2028  System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<TaskLink>>> pr_SuccRelations;
2029 
2030  ASPOSE_TASKS_SHARED_API void set_SuccRelations(const System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<TaskLink>>>& value);
2031 
2032  double pr_TempId;
2033  System::SharedPtr<TaskLinkTable> pr_PredecessorsTable;
2034 
2035  ASPOSE_TASKS_SHARED_API void set_PredecessorsTable(const System::SharedPtr<TaskLinkTable>& value);
2036 
2037  System::SharedPtr<TaskLinkTable> pr_SuccessorsTable;
2038 
2039  ASPOSE_TASKS_SHARED_API void set_SuccessorsTable(const System::SharedPtr<TaskLinkTable>& value);
2040  bool get_AssignedToContoured();
2041 
2042  /// <summary>
2043  /// Prevents a default instance of the <see cref="Task"></see> class from being created.
2044  /// </summary>
2045  Task();
2046 
2047  MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(Task, CODEPORTING_ARGS());
2048 
2049  /// <summary>
2050  /// Initializes a new instance of the <see cref="Task"></see> class.
2051  /// </summary>
2052  Task(System::DateTime created);
2053 
2054  MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(Task, CODEPORTING_ARGS(System::DateTime created));
2055  ASPOSE_TASKS_SHARED_API bool SetCalculatedValue(TaskKey keyType, const System::SharedPtr<System::Object>& v);
2056  ASPOSE_TASKS_SHARED_API bool GetCalculatedValue(TaskKey key, System::SharedPtr<System::Object>& res) const;
2057  System::TimeSpan GetDurationForContoured();
2058  System::TimeSpan GetDurationNoContour(const System::SharedPtr<Aspose::Tasks::Calendar>& cal, System::TimeSpan delay);
2059  void GetTimephasedWorkData(System::DateTime start, System::DateTime end, const System::SharedPtr<TimephasedDataCollection>& timephased, TimephasedDataType timephasedType);
2060  void GetTimephasedCostData(System::DateTime start, System::DateTime end, const System::SharedPtr<TimephasedDataCollection>& timephased, TimephasedDataType timephasedType);
2061  void GetTimephasedBaselineData(System::DateTime start, System::DateTime end, const System::SharedPtr<TimephasedDataCollection>& timephased, TimephasedDataType timephasedType);
2062  static void AddBaselineByDatesAndType(System::DateTime start, System::DateTime end, const System::SharedPtr<TimephasedDataCollection>& timephased, TimephasedDataType timephasedType, const System::SharedPtr<TaskBaseline>& taskBaseline);
2063  void CalcProjectWorkAndCost();
2064  void InitBooleanProperties();
2065  void InitObligatoryDefaultValues();
2066  void InitDefaultValues();
2067  void SetManualFields();
2068  System::SharedPtr<SplitPartCollection> CalculateSplitParts();
2069  void CalcSplitParts(const System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<SplitPart>>>& parts);
2070  void CalcAssnSplits(const System::SharedPtr<System::Collections::Generic::IList<System::SharedPtr<SplitPart>>>& parts, const System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<SplitPart>>>& assnSplits);
2071  void SetStopResume(System::DateTime assnStop, System::DateTime assnResume, bool isTaskStarted);
2072  void SetPercentComplete(System::DateTime actualStartDate, System::DateTime actualFinishDate);
2073  System::SharedPtr<Task> GetParentTaskForIndent(const System::SharedPtr<Task>& task);
2074  void IncreaseOutlineLevel(const System::SharedPtr<Task>& task);
2075  void MoveChildrenAfterOutdent();
2076  void DeleteLinks();
2077  void RemoveAssignments(const System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<ResourceAssignment>>>& list);
2078  void SetBaselineValues(const System::SharedPtr<TaskBaseline>& bl);
2079  void SetBaselineTimephased(const System::SharedPtr<TaskBaseline>& bl);
2080  template <typename T>
2081  System::SharedPtr<TaskPlanner> GetOrInstantiatePlanner()
2082  {
2083  typedef TaskPlanner BaseT_TaskPlanner;
2084  assert_is_base_of(BaseT_TaskPlanner, T);
2085 
2086  if (this->taskPlanner != nullptr && System::ObjectExt::GetType(this->taskPlanner) == System::ObjectExt::GetType<T>())
2087  {
2088  return this->taskPlanner;
2089  }
2090 
2091  this->taskPlanner = TaskPlannerFactory::Create<T>(System::MakeSharedPtr(this));
2092  return this->taskPlanner;
2093  }
2094 
2095  static void CalculateActualStartFinishDates(const System::SharedPtr<ResourceAssignment>& assn, const System::SharedPtr<Calculations::ResourceAssignmentCalculator>& assignmentCalculator, System::DateTime& actualStartDate, System::DateTime& actualFinishDate);
2096  static void CalculateStopResumeDates(const System::SharedPtr<ResourceAssignment>& assn, System::DateTime& stopDate, System::DateTime& resumeDate);
2097  static void CalculateStartFinishDates(const System::SharedPtr<ResourceAssignment>& assn, const System::SharedPtr<Calculations::ResourceAssignmentCalculator>& assignmentCalculator, System::DateTime& startDate, System::DateTime& finishDate);
2098  template <typename T>
2099  static void PrintValue(const System::SharedPtr<Task>& task, Key<T, TaskKey> key, T val)
2100  {
2101  }
2102  template <typename T>
2103  static void PrintValue(Key<T, TaskKey> key)
2104  {
2105  }
2106 
2107 };
2108 
2109 } // namespace Tasks
2110 } // namespace Aspose
2111 
2112 
Represents a collection of Calendar objects.
Definition: CalendarCollection.h:98
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
Contains resource leveling methods.
Definition: ResourceLeveler.h:46
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 the set of parameters are used to create a recurring task in a project.
Definition: RecurringTaskParameters.h:49
Represents a collection of ResourceAssignment objects.
Definition: ResourceAssignmentCollection.h:102
Represents a resource assignment in a project.
Definition: ResourceAssignment.h:219
Represents a resource in a project.
Definition: Resource.h:206
Represents an item which stores statistical data for the task of the analyzed project.
Definition: RiskItemStatistics.h:49
Represents a collection of TaskBaseline objects.
Definition: TaskBaselineCollection.h:100
Represents Baseline of a Task.
Definition: TaskBaseline.h:53
Represents a collection of Task objects.
Definition: TaskCollection.h:103
Represents a task in a project.
Definition: Task.h:383
NullableBool get_IsResumeValid()
Gets a value indicating whether IsResumeValid is set or not.
void set_Resume(System::DateTime value)
Sets a value of Resume.
void set_Stop(System::DateTime value)
Sets a value of Stop.
void set_Duration(Aspose::Tasks::Duration value)
Sets a value of Duration.
System::DateTime get_Resume()
Gets a value of Resume.
void set_ActualStart(System::DateTime value)
Sets a value of ActualStart.
Aspose::Tasks::Duration get_ActualOvertimeWorkProtected()
Gets a value of ActualOvertimeWorkProtected.
void set_PreleveledStart(System::DateTime value)
Sets a value of PreleveledStart.
System::String get_NotesRTF() override
Gets a value of NotesRTF.
System::DateTime get_CommitmentFinish()
Gets a value of CommitmentFinish.
System::String get_FinishText()
Gets a value of FinishText.
System::DateTime get_ActualStart()
Gets a value of ActualStart.
System::String ToString() const override
Returns short string representation of a task. The exact details of the representation are unspecifie...
void set_LevelingCanSplit(NullableBool value)
Sets a value indicating whether LevelingCanSplit is set or not.
void set_IsEffortDriven(NullableBool value)
Sets a value indicating whether IsEffortDriven is set or not.
Aspose::Tasks::Duration get_ActualDuration()
Gets a value of ActualDuration.
void set_RemainingCost(System::Decimal value)
Sets a value of RemainingCost.
void set_FixedCost(double value)
Sets a value of FixedCost.
void set_FreeSlack(System::TimeSpan value)
Sets a value of FreeSlack.
System::Decimal get_OvertimeCost()
Gets a value of OvertimeCost.
System::TimeSpan get_FinishSlack()
Gets a value of FinishSlack.
void set_IsOverallocated(NullableBool value)
Sets a value indicating whether IsOverallocated is set or not.
void set_IsExternalTask(bool value)
Sets a value indicating whether IsExternalTask is set or not.
System::String get_WBSLevel()
Gets a value of WBSLevel.
void set_StartVariance(Aspose::Tasks::Duration value)
Sets a value of StartVariance.
void set_LateStart(System::DateTime value)
Sets a value of LateStart.
Aspose::Tasks::Duration get_ActualOvertimeWork()
Gets a value of ActualOvertimeWork.
void set_IsPublished(NullableBool value)
Sets a value indicating whether IsPublished is set or not.
EarnedValueMethodType get_EarnedValueMethod()
Gets a value of EarnedValueMethod.
Aspose::Tasks::Duration get_OvertimeWork()
Gets a value of OvertimeWork.
System::DateTime get_Created()
Gets a value of Created.
bool get_IgnoreWarnings()
Gets a value indicating whether IgnoreWarnings is set or not.
double get_SV()
The earned value schedule variance, through the project status date. Schedule variance (SV) is the di...
void set_OutlineNumber(const System::String &value)
Sets a value of OutlineNumber.
void Set(const Key< T, TaskKey > &key, const T &val)
Maps the specified property to the specified value in this container.
Definition: Task.h:1725
System::String get_Guid()
Gets a value of Guid.
bool get_IsSubproject()
Gets a value indicating whether IsSubproject is set or not.
System::String get_HyperlinkSubAddress() override
Gets the specific location in a document in a hyperlink associated with a task.
void set_ActualOvertimeWorkProtected(Aspose::Tasks::Duration value)
Sets a value of ActualOvertimeWorkProtected.
System::SharedPtr< Task > get_ParentTask() const
Gets the parent task of a task.
Aspose::Tasks::ConstraintType get_ConstraintType()
Gets a value of ConstraintType.
void set_IsCritical(NullableBool value)
Sets a value indicating whether IsCritical is set or not.
double get_BCWS()
Gets a value of BCWS.
int32_t get_OutlineLevel()
Gets a value of OutlineLevel.
NullableBool get_IsEffortDriven()
Gets a value indicating whether IsEffortDriven is set or not.
void set_Calendar(const System::SharedPtr< Aspose::Tasks::Calendar > &value)
Sets a value of Calendar.
double get_ACWP()
Gets a value of ACWP.
void set_IsEstimated(NullableBool value)
Sets a value indicating whether IsEstimated is set or not.
bool get_IsExternalTask()
Gets a value indicating whether IsExternalTask is set or not.
void set_WBS(const System::String &value)
Sets a value of WBS.
System::Decimal get_ActualCost()
Gets a value of ActualCost.
System::SharedPtr< TimephasedDataCollection > get_TimephasedData()
Gets a TimephasedDataCollection object of this task. The time phased data block associated with a tas...
void set_IsMilestone(NullableBool value)
Sets a value indicating whether IsMilestone is set or not.
System::Decimal get_RemainingCost()
Gets a value of RemainingCost.
void set_OutlineCodes(const System::SharedPtr< OutlineCodeCollection > &value)
Sets OutlineCodeCollection object.
System::SharedPtr< TaskCollection > get_Successors()
Gets a TaskCollection object which contains all successors of this Task object.
Aspose::Tasks::Duration get_RegularWork()
Gets a value of RegularWork.
void set_RegularWork(Aspose::Tasks::Duration value)
Sets a value of RegularWork.
void set_IsActive(NullableBool value)
Sets a value indicating whether IsActive is set or not.
System::Decimal get_RemainingOvertimeCost()
Gets a value of RemainingOvertimeCost.
void set_Finish(System::DateTime value)
Sets a value of Finish.
void set_StatusManager(const System::String &value)
Sets a value of StatusManager.
void set_FinishSlack(System::TimeSpan value)
Sets a value of FinishSlack.
Aspose::Tasks::Duration get_LevelingDelay()
Gets a value of LevelingDelay.
void set_ActualOvertimeWork(Aspose::Tasks::Duration value)
Sets a value of ActualOvertimeWork.
void set_RemainingDuration(Aspose::Tasks::Duration value)
Sets a value of RemainingDuration.
Aspose::Tasks::Duration get_Work()
Gets a value of Work.
void set_WBSLevel(const System::String &value)
Sets a value of WBSLevel.
System::Decimal get_ActualOvertimeCost()
Gets a value of ActualOvertimeCost.
System::String get_SubprojectName()
Gets a value of SubprojectName.
Aspose::Tasks::Duration get_BudgetWork()
Gets a value of BudgetWork.
System::String get_NotesText() override
Gets a value of NotesText.
System::SharedPtr< TimephasedDataCollection > GetTimephasedData(System::DateTime start, System::DateTime end, TimephasedDataType timephasedType)
Returns TimephasedDataCollection object with TimephasedData values within given start and end dates o...
void set_HideBar(NullableBool value)
Sets a value indicating whether HideBar is set or not.
void set_HyperlinkSubAddress(System::String value) override
Sets the specific location in a document in a hyperlink associated with a task.
void OutlineIndent()
Indents a task in the outline.
int32_t get_ExternalUid()
Gets or set the external task's Unique identifier when the task is external.
System::String get_Name()
Gets a value of Name.
int32_t get_PercentComplete()
Gets a value of PercentComplete.
void set_Id(int32_t value)
Sets a value of Id.
void set_FixedCostAccrual(CostAccrualType value)
Sets a value of FixedCostAccrual.
int32_t get_ExternalId()
Gets a value of ExternalId.
void set_BCWS(double value)
Sets a value of BCWS.
System::String get_OutlineNumber()
Gets a value of OutlineNumber.
System::SharedPtr< ResourceAssignmentCollection > get_Assignments()
Gets a collection of resource assignments for this object.
NullableBool get_IsRollup()
Gets a value indicating whether IsRollup is set or not.
Aspose::Tasks::Duration get_ActualWorkProtected()
Gets a value of ActualWorkProtected.
void set_IsSubprojectReadOnly(NullableBool value)
Sets a value indicating whether IsSubprojectReadOnly is set or not.
void set_ActualWorkProtected(Aspose::Tasks::Duration value)
Sets a value of ActualWorkProtected.
void set_IsRecurring(NullableBool value)
Sets a value indicating whether IsRecurring is set or not.
void set_Priority(int32_t value)
Sets a value of Priority.
void set_IsRollup(NullableBool value)
Sets a value indicating whether IsRollup is set or not.
System::DateTime get_Deadline()
Gets a value of Deadline.
NullableBool get_IsCritical()
Gets a value indicating whether IsCritical is set or not.
System::Decimal get_Cost()
Gets a value of Cost.
System::String get_ExternalTaskProject()
Gets a value of ExternalTaskProject.
CostAccrualType get_FixedCostAccrual()
Gets a value of FixedCostAccrual.
NullableBool get_IsSubprojectReadOnly()
Gets a value indicating whether IsSubprojectReadOnly is set or not.
void set_PhysicalPercentComplete(int32_t value)
Sets a value of PhysicalPercentComplete.
void set_CommitmentStart(System::DateTime value)
Sets a value of CommitmentStart.
const System::SharedPtr< Project > & get_ParentProject() const override
Gets the parent project of a task.
System::DateTime get_Stop()
Gets a value of Stop.
System::DateTime get_Start()
Gets a value of Start.
int32_t get_CommitmentType()
Gets a value of CommitmentType.
NullableBool get_IsOverallocated()
Gets a value indicating whether IsOverallocated is set or not.
void set_OvertimeCost(System::Decimal value)
Sets a value of OvertimeCost.
bool get_DisplayOnTimeline()
Gets a value indicating whether DisplayOnTimeline is set or not.
int32_t get_Id()
Gets a value of Id.
System::String get_Hyperlink() override
Gets the title or explanatory text for a hyperlink associated with a task.
const System::SharedPtr< TaskBaselineCollection > & get_Baselines() const
Gets the collection of baseline values of the task.
void set_Hyperlink(System::String value) override
Sets the title or explanatory text for a hyperlink associated with a task.
void set_Contact(const System::String &value)
Sets a value of Contact.
Aspose::Tasks::Duration get_ActualWork()
Gets a value of ActualWork.
void set_Work(Aspose::Tasks::Duration value)
Sets a value of Work.
System::DateTime get_LateStart()
Gets a value of LateStart.
bool get_IsMarked()
Gets a value indicating whether IsMarked is set or not.
void set_ActualOvertimeCost(System::Decimal value)
Sets a value of ActualOvertimeCost.
void set_FinishText(const System::String &value)
Sets a value of FinishText.
NullableBool get_IsEstimated()
Gets a value indicating whether IsEstimated is set or not.
void set_LevelAssignments(NullableBool value)
Sets a value indicating whether LevelAssignments is set or not.
Aspose::Tasks::Duration get_RemainingOvertimeWork()
Gets a value of RemainingOvertimeWork.
double get_FixedCost()
Gets a value of FixedCost.
void set_PreleveledFinish(System::DateTime value)
Sets a value of PreleveledFinish.
NullableBool get_HideBar()
Gets a value indicating whether HideBar is set or not.
void set_PercentWorkComplete(int32_t value)
Sets a value of PercentWorkComplete.
System::String get_StartText()
Gets a value of StartText.
void set_DisplayOnTimeline(bool value)
Sets a value indicating whether DisplayOnTimeline is set or not.
Aspose::Tasks::Duration get_StartVariance()
Gets a value of StartVariance.
void set_ExternalId(int32_t value)
Sets a value of ExternalId.
void set_BCWP(double value)
Sets a value of BCWP.
int32_t get_PhysicalPercentComplete()
Gets a value of PhysicalPercentComplete.
NullableBool get_IsPublished()
Gets a value indicating whether IsPublished is set or not.
bool get_IsSummary()
Gets a value indicating whether IsSummary is set or not.
void set_DurationText(const System::String &value)
Sets a value of DurationText.
void set_ActualWork(Aspose::Tasks::Duration value)
Sets a value of ActualWork.
void set_IsManual(NullableBool value)
Sets a value indicating whether IsManual is set or not.
NullableBool get_IsMilestone()
Gets a value indicating whether IsMilestone is set or not.
void set_LateFinish(System::DateTime value)
Sets a value of LateFinish.
double get_CostVariance()
Gets a value of CostVariance.
System::String get_HyperlinkAddress() override
Gets the address for a hyperlink associated with a task.
void MoveToSibling(int32_t beforeTaskId)
Moves the current task at the same Outline Level before a task with the specified Id....
void set_CV(double value)
Sets a value of CV.
NullableBool get_LevelingCanSplit()
Gets a value indicating whether LevelingCanSplit is set or not.
Aspose::Tasks::Duration get_FinishVariance()
Gets a value of FinishVariance.
void set_SubprojectName(const System::String &value)
Sets a value of SubprojectName.
const System::SharedPtr< TaskCollection > & get_Children() const
Gets a child task collection of this object. TaskCollection object which represents children tasks.
void set_BudgetWork(Aspose::Tasks::Duration value)
Sets a value of BudgetWork.
NullableBool get_DisplayAsSummary()
Gets a value indicating whether DisplayAsSummary is set or not.
System::DateTime get_LateFinish()
Gets a value of LateFinish.
void set_DurationVariance(Aspose::Tasks::Duration value)
Sets a value of DurationVariance.
System::TimeSpan get_StartSlack()
Gets a value of StartSlack.
Aspose::Tasks::Duration get_ManualDuration()
Gets a value of ManualDuration.
System::DateTime get_ManualStart()
Gets a value of ManualStart.
void set_IsExpanded(NullableBool value)
Sets a value indicating whether IsExpanded is set or not.
void set_ManualFinish(System::DateTime value)
Sets a value of ManualFinish.
void set_RemainingWork(Aspose::Tasks::Duration value)
Sets a value of RemainingWork.
void set_ConstraintDate(System::DateTime value)
Sets a value of ConstraintDate.
System::String get_Contact()
Gets a value of Contact.
System::String get_StatusManager()
Gets a value of StatusManager.
NullableBool get_IsManual()
Gets a value indicating whether IsManual is set or not.
System::DateTime get_PreleveledFinish()
Gets a value of PreleveledFinish.
Aspose::Tasks::Duration get_DurationVariance()
Gets a value of DurationVariance.
System::SharedPtr< System::Collections::Generic::IEnumerable< System::SharedPtr< Task > > > SelectAllChildTasks()
Recursively collects all child tasks of this task.
void set_WorkVariance(Aspose::Tasks::Duration value)
Sets a value of WorkVariance.
void set_EarlyFinish(System::DateTime value)
Sets a value of EarlyFinish.
void set_Uid(int32_t value)
Sets a value of Uid.
System::DateTime get_CommitmentStart()
Gets a value of CommitmentStart.
System::TimeSpan get_FreeSlack()
Gets a value of FreeSlack.
void set_Created(System::DateTime value)
Sets a value of Created.
System::String get_DurationText()
Gets a value of DurationText.
int32_t get_Uid()
Gets a value of Uid.
void set_ExternalUid(int32_t value)
Gets or set the external task's Unique identifier when the task is external.
T Get(const Key< T, TaskKey > &key) const
Returns the value to which the property is mapped in this container.
Definition: Task.h:1701
void set_Cost(System::Decimal value)
Sets a value of Cost.
const System::SharedPtr< OutlineCodeCollection > & get_OutlineCodes() const
Gets OutlineCodeCollection object.
System::String get_WBS()
Gets a value of WBS.
System::DateTime get_PreleveledStart()
Gets a value of PreleveledStart.
NullableBool get_IsRecurring()
Gets a value indicating whether IsRecurring is set or not.
System::SharedPtr< System::Object > Clone()
Creates full copy of a task without subtasks.
void set_ActualFinish(System::DateTime value)
Sets a value of ActualFinish.
void set_DisplayAsSummary(NullableBool value)
Sets a value indicating whether DisplayAsSummary is set or not.
void set_ACWP(double value)
Sets a value of ACWP.
void set_IgnoreWarnings(bool value)
Sets a value indicating whether IgnoreWarnings is set or not.
void set_NotesRTF(System::String value) override
Sets a value of NotesRTF.
System::SharedPtr< TaskCollection > get_Predecessors()
Gets a TaskCollection object which contains all predecessors of this Task object.
double get_BCWP()
Gets a value of BCWP.
void set_HyperlinkAddress(System::String value) override
Sets the address for a hyperlink associated with a task.
Aspose::Tasks::Duration get_RemainingDuration()
Gets a value of RemainingDuration.
System::Decimal get_BudgetCost()
Gets a value of BudgetCost.
void set_ManualDuration(Aspose::Tasks::Duration value)
Sets a value of ManualDuration.
TaskStatus get_Status()
Gets task status.
void set_IgnoreResourceCalendar(NullableBool value)
Sets a value indicating whether IgnoreResourceCalendar is set or not.
System::DateTime get_EarlyFinish()
Gets a value of EarlyFinish.
void set_Guid(const System::String &value)
Sets a value of Guid.
int32_t get_Priority()
Gets a value of Priority.
NullableBool get_IsNull()
Gets a value indicating whether IsNull is set or not.
NullableBool get_IsActive()
Gets a value indicating whether IsActive is set or not.
void set_TimephasedData(const System::SharedPtr< TimephasedDataCollection > &value)
Sets a TimephasedDataCollection object of this task. The time phased data block associated with a tas...
TaskType get_Type()
Gets a value of Type.
void set_ManualStart(System::DateTime value)
Sets a value of ManualStart.
System::String get_ActivityId()
Represents activity id field - a task's unique identifier used by Primavera. (only applicable to Prim...
void set_Deadline(System::DateTime value)
Sets a value of Deadline.
void set_RemainingOvertimeCost(System::Decimal value)
Sets a value of RemainingOvertimeCost.
const System::SharedPtr< PrimaveraTaskProperties > & get_PrimaveraProperties() const
Gets an object containing Primavera-specific properties for a task read from Primavera file.
void set_IsMarked(bool value)
Sets a value indicating whether IsMarked is set or not.
NullableBool get_IsExpanded()
Gets a value indicating whether IsExpanded is set or not.
void set_OvertimeWork(Aspose::Tasks::Duration value)
Sets a value of OvertimeWork.
void set_IsSubproject(bool value)
Sets a value indicating whether IsSubproject is set or not.
void set_PercentComplete(int32_t value)
Sets a value of PercentComplete.
void OutlineOutdent()
Promotes a task in the outline.
void set_CommitmentFinish(System::DateTime value)
Sets a value of CommitmentFinish.
void set_StartSlack(System::TimeSpan value)
Sets a value of StartSlack.
void set_ActualCost(System::Decimal value)
Sets a value of ActualCost.
void set_ConstraintType(Aspose::Tasks::ConstraintType value)
Sets a value of ConstraintType.
void set_BudgetCost(System::Decimal value)
Sets a value of BudgetCost.
void set_EarlyStart(System::DateTime value)
Sets a value of EarlyStart.
bool Equals(System::SharedPtr< Task > other) override
Returns a value indicating whether this instance is equal to a specified task.
void set_DurationFormat(TimeUnitType value)
Sets a value of DurationFormat.
void set_TotalSlack(System::TimeSpan value)
Sets a value of TotalSlack.
void set_EarnedValueMethod(EarnedValueMethodType value)
Sets a value of EarnedValueMethod.
void set_CostVariance(double value)
Sets a value of CostVariance.
System::SharedPtr< ExtendedAttributeCollection > get_ExtendedAttributes() override
Gets ExtendedAttributeCollection object containing the values of an extended attribute.
void set_ActivityId(const System::String &value)
Represents activity id field - a task's unique identifier used by Primavera. (only applicable to Prim...
System::DateTime get_ConstraintDate()
Gets a value of ConstraintDate.
void set_SV(double value)
The earned value schedule variance, through the project status date. Schedule variance (SV) is the di...
System::DateTime get_ActualFinish()
Gets a value of ActualFinish.
void Delete()
Deletes a task from parent project tasks collection and all its assignments.
void set_Warning(bool value)
Sets a value indicating whether Warning is set or not.
Aspose::Tasks::Duration get_RemainingWork()
Gets a value of RemainingWork.
void set_CommitmentType(int32_t value)
Sets a value of CommitmentType.
System::DateTime get_Finish()
Gets a value of Finish.
NullableBool get_IgnoreResourceCalendar()
Gets a value indicating whether IgnoreResourceCalendar is set or not.
void set_RemainingOvertimeWork(Aspose::Tasks::Duration value)
Sets a value of RemainingOvertimeWork.
System::SharedPtr< TimephasedDataCollection > GetTimephasedData(System::DateTime start, System::DateTime end)
Returns TimephasedDataCollection object with TimephasedData values within given start and end dates.
void set_FinishVariance(Aspose::Tasks::Duration value)
Sets a value of FinishVariance.
void set_ActualDuration(Aspose::Tasks::Duration value)
Sets a value of ActualDuration.
void set_Baselines(const System::SharedPtr< TaskBaselineCollection > &value)
Sets the collection of baseline values of the task.
void set_NotesText(System::String value) override
Sets a value of NotesText.
TimeUnitType get_DurationFormat()
Gets a value of DurationFormat.
void set_Start(System::DateTime value)
Sets a value of Start.
void set_ExternalTaskProject(const System::String &value)
Sets a value of ExternalTaskProject.
void set_IsResumeValid(NullableBool value)
Sets a value indicating whether IsResumeValid is set or not.
void set_Name(const System::String &value)
Sets a value of Name.
System::DateTime get_EarlyStart()
Gets a value of EarlyStart.
void set_IsSummary(bool value)
Sets a value indicating whether IsSummary is set or not.
void set_LevelingDelay(Aspose::Tasks::Duration value)
Sets a value of LevelingDelay.
bool get_Warning()
Gets a value indicating whether Warning is set or not.
Aspose::Tasks::Duration get_WorkVariance()
Gets a value of WorkVariance.
int32_t get_PercentWorkComplete()
Gets a value of PercentWorkComplete.
void set_Type(TaskType value)
Sets a value of Type.
void set_OutlineLevel(int32_t value)
Sets a value of OutlineLevel.
System::SharedPtr< Aspose::Tasks::Calendar > get_Calendar()
Gets a value of Calendar.
System::SharedPtr< RecurringTaskInfo > get_RecurringInfo()
Gets the instance of RecurringTaskInfo class for the task which is a recurring task; if the task is n...
void MoveToSibling(const System::SharedPtr< Task > &beforeTask)
Moves the current task at the same Outline Level before the specified task. If ParentProject....
int32_t GetHashCode() const override
Returns a hash code value for this Task.
bool Equals(System::SharedPtr< System::Object > obj) override
Returns a value indicating whether this instance is equal to a specified object.
Aspose::Tasks::Duration get_Duration()
Gets a value of Duration.
System::SharedPtr< SplitPartCollection > get_SplitParts()
Gets a SplitPart collection that represents the portions of a task.
void set_StartText(const System::String &value)
Sets a value of StartText.
System::TimeSpan get_TotalSlack()
Gets a value of TotalSlack.
double get_CV()
Gets a value of CV.
System::DateTime get_ManualFinish()
Gets a value of ManualFinish.
void set_IsNull(NullableBool value)
Sets a value indicating whether IsNull is set or not.
NullableBool get_LevelAssignments()
Gets a value indicating whether LevelAssignments is set or not.
Removes the specified task from a tree of tasks.
Definition: RemoveTask.h:31
Helper class which provides useful operations with tasks.
Definition: TaskUtils.h:40
Represents a WBS Code Definition.
Definition: WBSCodeDefinition.h:56
Definition: Asn.h:13