8 #include <system/date_time.h>
9 #include <system/collections/ilist.h>
10 #include <system/array.h>
13 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
19 class AutoRecalculationState;
20 class DatesCalculator;
21 class ResourceAssignment;
23 class SplitsCalculator;
25 namespace Visualization
27 class GanttPageTaskBarBuilder;
37 template <
typename>
class IEnumerable;
38 template <
typename>
class IEnumerator;
50 class ASPOSE_TASKS_SHARED_CLASS
SplitPartCollection :
public System::Collections::Generic::IList<System::SharedPtr<SplitPart>>
53 typedef System::Collections::Generic::IList<System::SharedPtr<SplitPart>> BaseType;
55 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
56 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
58 friend class DatesCalculator;
60 friend class AutoRecalculationState;
62 friend class Aspose::Tasks::Visualization::GanttPageTaskBarBuilder;
63 friend class SplitsCalculator;
70 ASPOSE_TASKS_SHARED_API int32_t
get_Count()
const override;
78 ASPOSE_TASKS_SHARED_API System::SharedPtr<SplitPart>
idx_get(int32_t index)
const override;
85 ASPOSE_TASKS_SHARED_API
void idx_set(int32_t index, System::SharedPtr<SplitPart> value)
override;
91 ASPOSE_TASKS_SHARED_API System::SharedPtr<System::Collections::Generic::IEnumerator<System::SharedPtr<SplitPart>>>
GetEnumerator()
override;
96 ASPOSE_TASKS_SHARED_API System::ArrayPtr<System::SharedPtr<SplitPart>>
ToArray();
103 ASPOSE_TASKS_SHARED_API System::DateTime get_Start()
const;
107 ASPOSE_TASKS_SHARED_API
void set_Start(System::DateTime value);
108 ASPOSE_TASKS_SHARED_API System::DateTime get_Finish();
109 ASPOSE_TASKS_SHARED_API
void set_Finish(System::DateTime value);
116 ASPOSE_TASKS_SHARED_API
SplitPartCollection(System::DateTime start,
const System::SharedPtr<System::Collections::Generic::IEnumerable<System::SharedPtr<SplitPart>>>& parts);
118 ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(
SplitPartCollection, CODEPORTING_ARGS(System::DateTime start,
const System::SharedPtr<System::Collections::Generic::IEnumerable<System::SharedPtr<SplitPart>>>& parts));
120 ASPOSE_TASKS_SHARED_API
SplitPartCollection(
const System::SharedPtr<System::Collections::Generic::IEnumerable<System::SharedPtr<SplitPart>>>& parts);
122 ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(
SplitPartCollection, CODEPORTING_ARGS(
const System::SharedPtr<System::Collections::Generic::IEnumerable<System::SharedPtr<SplitPart>>>& parts));
124 ASPOSE_TASKS_SHARED_API System::SharedPtr<System::Collections::Generic::IEnumerable<System::SharedPtr<SplitPart>>> GetNonworkingSplits();
128 #ifdef ASPOSE_GET_SHARED_MEMBERS
129 ASPOSE_TASKS_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
135 System::SharedPtr<System::Collections::Generic::IList<System::SharedPtr<SplitPart>>> parts;
137 bool get_IsReadOnly()
const override;
139 System::DateTime pr_Start;
141 ASPOSE_TASKS_SHARED_API
void Add(
const System::SharedPtr<SplitPart>& item)
override;
142 ASPOSE_TASKS_SHARED_API
void Clear()
override;
143 ASPOSE_TASKS_SHARED_API int32_t IndexOf(
const System::SharedPtr<SplitPart>& item)
const override;
144 ASPOSE_TASKS_SHARED_API
void Insert(int32_t index,
const System::SharedPtr<SplitPart>& item)
override;
145 ASPOSE_TASKS_SHARED_API
void RemoveAt(int32_t index)
override;
146 ASPOSE_TASKS_SHARED_API
void CopyTo(System::ArrayPtr<System::SharedPtr<SplitPart>> array, int32_t arrayIndex)
override;
147 ASPOSE_TASKS_SHARED_API
bool Remove(
const System::SharedPtr<SplitPart>& item)
override;
148 ASPOSE_TASKS_SHARED_API
bool Contains(
const System::SharedPtr<SplitPart>& item)
const override;
Represents a resource assignment in a project.
Definition: ResourceAssignment.h:230
Collection that represents the portions of a task.
Definition: SplitPartCollection.h:51
System::SharedPtr< System::Collections::Generic::IEnumerator< System::SharedPtr< SplitPart > > > GetEnumerator() override
Returns an enumerator for this collection.
System::SharedPtr< SplitPart > idx_get(int32_t index) const override
Retrieves a task's split part at the given index.
void idx_set(int32_t index, System::SharedPtr< SplitPart > value) override
Retrieves a task's split part at the given index.
int32_t get_Count() const override
Gets the number of parts in the collection.
System::ArrayPtr< System::SharedPtr< SplitPart > > ToArray()
Copies all parts from the collection to a new array.
Represents a task in a project.
Definition: Task.h:394
Aspose.
Definition: Asn.h:13