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