8 #include <system/collections/ilist.h>
9 #include <system/array.h>
12 #include "aspose.tasks.cpp/Enums/DayType.h"
13 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
19 class CalendarException;
24 class HtmlReadingUtils;
28 class Mpp12CalendarWriter;
29 class Mpp12ExceptionReader;
33 class ExceptionNodeReader;
34 class ExceptionNodeWriter;
37 class ResourceAssignment;
46 template <
typename,
typename>
class Dictionary;
47 template <
typename>
class IEnumerator;
59 class ASPOSE_TASKS_SHARED_CLASS
DayTypeCollection :
public System::Collections::Generic::IList<Aspose::Tasks::DayType>
62 typedef System::Collections::Generic::IList<Aspose::Tasks::DayType> BaseType;
64 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
65 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
69 friend class Aspose::Tasks::IO::Html::HtmlReadingUtils;
70 friend class Aspose::Tasks::IO::MSProject::Mpp12ExceptionReader;
71 friend class Aspose::Tasks::IO::MSProject::Mpp12CalendarWriter;
72 friend class Aspose::Tasks::IO::Xml::ExceptionNodeReader;
73 friend class Aspose::Tasks::IO::Xml::ExceptionNodeWriter;
80 ASPOSE_TASKS_SHARED_API int32_t get_Count()
const override;
84 ASPOSE_TASKS_SHARED_API
bool get_IsReadOnly()
const override;
91 ASPOSE_TASKS_SHARED_API DayType idx_get(int32_t index)
const override;
97 ASPOSE_TASKS_SHARED_API
void idx_set(int32_t index, DayType value)
override;
103 ASPOSE_TASKS_SHARED_API System::SharedPtr<System::Collections::Generic::IEnumerator<DayType>> GetEnumerator()
override;
108 ASPOSE_TASKS_SHARED_API
void Add(
const DayType& item)
override;
112 ASPOSE_TASKS_SHARED_API
void Clear()
override;
118 ASPOSE_TASKS_SHARED_API
bool Contains(
const DayType& item)
const override;
124 ASPOSE_TASKS_SHARED_API
void CopyTo(System::ArrayPtr<DayType> array, int32_t arrayIndex)
override;
130 ASPOSE_TASKS_SHARED_API
bool Remove(
const DayType& item)
override;
136 ASPOSE_TASKS_SHARED_API int32_t IndexOf(
const DayType& item)
const override;
142 ASPOSE_TASKS_SHARED_API
void Insert(int32_t index,
const DayType& item)
override;
147 ASPOSE_TASKS_SHARED_API
void RemoveAt(int32_t index)
override;
151 static ASPOSE_TASKS_SHARED_API System::ArrayPtr<DayType>& DaysOfWeek();
155 ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(
DayTypeCollection, CODEPORTING_ARGS());
159 ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(
DayTypeCollection, CODEPORTING_ARGS(int32_t val));
160 ASPOSE_TASKS_SHARED_API int32_t Pack();
164 #ifdef ASPOSE_GET_SHARED_MEMBERS
165 ASPOSE_TASKS_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
171 static System::SharedPtr<System::Collections::Generic::Dictionary<int32_t, DayType>>& DaysOfWeekTypes();
173 System::SharedPtr<System::Collections::Generic::IList<DayType>> days;
175 static System::SharedPtr<System::Collections::Generic::Dictionary<int32_t, DayType>> InitDaysOfWeekTable();
176 System::SharedPtr<System::Collections::Generic::IList<DayType>> ToDays(int32_t val);
Represents a collection of DayType objects.
Definition: DayTypeCollection.h:59
Represent exceptional time periods in a calendar.
Definition: CalendarException.h:72
Represents a resource assignment in a project.
Definition: ResourceAssignment.h:225