8 #include <system/collections/list.h>
9 #include <system/collections/ilist.h>
10 #include <system/array.h>
13 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
19 class AssignmentBaseline;
20 enum class BaselineType;
21 namespace Calculations
23 class ResourceAssignmentCalculator;
24 class ResourceAssignmentCostCalculator;
25 class ResourceAssignmentVarianceCalculator;
27 namespace Connectivity
29 class MpdAssignmentBaselineMapper;
30 class MpdAssignmentMapper;
31 class MspAssignmentBaseLineMapper;
38 class HtmlResourceAssignmentBaseLineTableReader;
42 class MPP12ResourceAssignmentWriter;
43 class MPP14As9AssnWriter;
44 template <
typename>
class MPP14AsXResourceAssignmentReader;
45 class MPP14ResourceAssignmentWriter;
46 class MPP9ResourceAssignmentReader;
47 class MPP9ResourceAssignmentWriter;
55 class ProjectAssignmentsMapper;
61 class ResourceAssignmentNodeReader;
65 class ResourceAssignment;
66 class TaskBaselineCollection;
67 namespace Visualization
69 class AssignmentToColumnText;
79 template <
typename>
class IEnumerable;
80 template <
typename>
class IEnumerator;
92 class ASPOSE_TASKS_SHARED_CLASS
AssignmentBaselineCollection :
public System::Collections::Generic::IList<System::SharedPtr<Aspose::Tasks::AssignmentBaseline>>
95 typedef System::Collections::Generic::IList<System::SharedPtr<Aspose::Tasks::AssignmentBaseline>> BaseType;
97 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
98 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
100 friend class Aspose::Tasks::Calculations::ResourceAssignmentCalculator;
101 friend class Aspose::Tasks::Calculations::ResourceAssignmentCostCalculator;
102 friend class Aspose::Tasks::Calculations::ResourceAssignmentVarianceCalculator;
104 friend class Aspose::Tasks::EVCalculator;
105 friend class Aspose::Tasks::Connectivity::MpdAssignmentBaselineMapper;
106 friend class Aspose::Tasks::Connectivity::MpdAssignmentMapper;
107 friend class Aspose::Tasks::Connectivity::MspAssignmentBaseLineMapper;
108 friend class Aspose::Tasks::IO::Html::HtmlResourceAssignmentBaseLineTableReader;
109 friend class Aspose::Tasks::IO::MSProject::MPP9ResourceAssignmentReader;
110 template<
typename FT0>
friend class Aspose::Tasks::IO::MSProject::MPP14AsXResourceAssignmentReader;
111 friend class Aspose::Tasks::IO::MSProject::MPP14ResourceAssignmentWriter;
112 friend class Aspose::Tasks::IO::MSProject::MPP12ResourceAssignmentWriter;
113 friend class Aspose::Tasks::IO::MSProject::MPP14As9AssnWriter;
114 friend class Aspose::Tasks::IO::MSProject::MPP9ResourceAssignmentWriter;
115 friend class Aspose::Tasks::IO::Pwa::InternalApi::Mapping::ProjectAssignmentsMapper;
116 friend class Aspose::Tasks::IO::Xml::ResourceAssignmentNodeReader;
117 friend class Aspose::Tasks::ProjectState;
119 friend class Aspose::Tasks::Visualization::AssignmentToColumnText;
125 using iterator =
typename iterator_holder_type::iterator;
138 ASPOSE_TASKS_SHARED_API int32_t get_Count()
const override;
142 ASPOSE_TASKS_SHARED_API
const System::SharedPtr<ResourceAssignment>& get_ParentAssignment()
const;
149 ASPOSE_TASKS_SHARED_API System::SharedPtr<AssignmentBaseline> idx_get(int32_t index)
const override;
155 ASPOSE_TASKS_SHARED_API
void idx_set(int32_t index, System::SharedPtr<AssignmentBaseline> value)
override;
161 ASPOSE_TASKS_SHARED_API System::SharedPtr<System::Collections::Generic::IEnumerator<System::SharedPtr<AssignmentBaseline>>> GetEnumerator()
override;
166 ASPOSE_TASKS_SHARED_API
void Add(
const System::SharedPtr<AssignmentBaseline>& item)
override;
172 ASPOSE_TASKS_SHARED_API
bool Remove(
const System::SharedPtr<AssignmentBaseline>& item)
override;
177 ASPOSE_TASKS_SHARED_API System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<AssignmentBaseline>>> ToList();
180 ASPOSE_TASKS_SHARED_API
iterator begin() noexcept;
183 ASPOSE_TASKS_SHARED_API
iterator end() noexcept;
223 ASPOSE_TASKS_SHARED_API AssignmentBaselineCollection(const System::SharedPtr<
ResourceAssignment>& assn, const System::SharedPtr<System::Collections::Generic::IEnumerable<System::SharedPtr<
AssignmentBaseline>>>& baselines);
225 ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(AssignmentBaselineCollection, CODEPORTING_ARGS(const System::SharedPtr<
ResourceAssignment>& assn, const System::SharedPtr<System::Collections::Generic::IEnumerable<System::SharedPtr<
AssignmentBaseline>>>& baselines));
226 ASPOSE_TASKS_SHARED_API
void Sort();
227 ASPOSE_TASKS_SHARED_API
void RemoveByType(BaselineType baselineType);
228 ASPOSE_TASKS_SHARED_API System::SharedPtr<
AssignmentBaseline> GetByType(BaselineType baselineType);
229 ASPOSE_TASKS_SHARED_API
void AddInternal(const System::SharedPtr<
AssignmentBaseline>& baseline);
231 virtual ASPOSE_TASKS_SHARED_API ~AssignmentBaselineCollection();
233 #ifdef ASPOSE_GET_SHARED_MEMBERS
234 ASPOSE_TASKS_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
240 System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<AssignmentBaseline>>> baselines;
242 bool get_IsReadOnly()
const override;
244 System::WeakPtr<ResourceAssignment> pr_ParentAssignment;
249 ASPOSE_TASKS_SHARED_API
void set_ParentAssignment(
const System::SharedPtr<ResourceAssignment>& value);
251 int32_t IndexOf(
const System::SharedPtr<AssignmentBaseline>& item)
const override;
252 void RemoveAt(int32_t index)
override;
253 void Insert(int32_t index,
const System::SharedPtr<AssignmentBaseline>& item)
override;
254 void Clear()
override;
255 bool Contains(
const System::SharedPtr<AssignmentBaseline>& item)
const override;
256 void CopyTo(System::ArrayPtr<System::SharedPtr<AssignmentBaseline>> array, int32_t arrayIndex)
override;
Represents Baseline of a resource assignment.
Definition: AssignmentBaseline.h:83
typename iterator_holder_type::virtualized_iterator_element virtualized_iterator_element
Virtualized element type.
Definition: AssignmentBaselineCollection.h:129
System::Collections::Generic::List< System::SharedPtr< AssignmentBaseline >> iterator_holder_type
A collection type whose iterator types is used as iterator types in the current collection.
Definition: AssignmentBaselineCollection.h:123
Represents a collection of TaskBaseline objects.
Definition: TaskBaselineCollection.h:99
typename iterator_holder_type::const_iterator const_iterator
Const iterator type.
Definition: AssignmentBaselineCollection.h:127
typename iterator_holder_type::iterator iterator
Iterator type.
Definition: AssignmentBaselineCollection.h:125
Represents a collection of AssignmentBaseline objects.
Definition: AssignmentBaselineCollection.h:92
typename iterator_holder_type::virtualized_iterator virtualized_iterator
Virtualized type.
Definition: AssignmentBaselineCollection.h:131
Represents a resource assignment in a project.
Definition: ResourceAssignment.h:221