8 #include <system/collections/ilist.h>
9 #include <system/array.h>
12 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
22 class MPP12OutlineCodeDefinitionReader;
23 class MPP14OutlineCodeDefinitionReader;
24 class MPP9OutlineCodeDefinitionReader;
28 class OutlineCodeDefinitionXml;
31 class OutlineCodeDefinition;
41 template <
typename>
class IEnumerable;
42 template <
typename>
class IEnumerator;
54 class ASPOSE_TASKS_SHARED_CLASS
OutlineMaskCollection :
public System::Collections::Generic::IList<System::SharedPtr<Aspose::Tasks::OutlineMask>>
57 typedef System::Collections::Generic::IList<System::SharedPtr<Aspose::Tasks::OutlineMask>> BaseType;
59 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
60 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
62 friend class Aspose::Tasks::IO::MSProject::MPP12OutlineCodeDefinitionReader;
63 friend class Aspose::Tasks::IO::MSProject::MPP14OutlineCodeDefinitionReader;
64 friend class Aspose::Tasks::IO::MSProject::MPP9OutlineCodeDefinitionReader;
65 friend class Aspose::Tasks::IO::Xml::OutlineCodeDefinitionXml;
73 ASPOSE_TASKS_SHARED_API int32_t
get_Count()
const override;
84 ASPOSE_TASKS_SHARED_API System::SharedPtr<OutlineMask>
idx_get(int32_t index)
const override;
90 ASPOSE_TASKS_SHARED_API
void idx_set(int32_t index, System::SharedPtr<OutlineMask> value)
override;
96 ASPOSE_TASKS_SHARED_API System::SharedPtr<System::Collections::Generic::IEnumerator<System::SharedPtr<OutlineMask>>>
GetEnumerator()
override;
101 ASPOSE_TASKS_SHARED_API
void Add(
const System::SharedPtr<OutlineMask>& item)
override;
105 ASPOSE_TASKS_SHARED_API
void Clear()
override;
111 ASPOSE_TASKS_SHARED_API
bool Contains(
const System::SharedPtr<OutlineMask>& item)
const override;
117 ASPOSE_TASKS_SHARED_API
void CopyTo(System::ArrayPtr<System::SharedPtr<OutlineMask>> array, int32_t arrayIndex)
override;
123 ASPOSE_TASKS_SHARED_API
bool Remove(
const System::SharedPtr<OutlineMask>& item)
override;
129 ASPOSE_TASKS_SHARED_API int32_t
IndexOf(
const System::SharedPtr<OutlineMask>& item)
const override;
135 ASPOSE_TASKS_SHARED_API
void Insert(int32_t index,
const System::SharedPtr<OutlineMask>& item)
override;
140 ASPOSE_TASKS_SHARED_API
void RemoveAt(int32_t index)
override;
146 ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(
OutlineMaskCollection, CODEPORTING_ARGS());
148 ASPOSE_TASKS_SHARED_API
OutlineMaskCollection(
const System::SharedPtr<System::Collections::Generic::IList<System::SharedPtr<OutlineMask>>>& masks);
150 ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(
OutlineMaskCollection, CODEPORTING_ARGS(
const System::SharedPtr<System::Collections::Generic::IList<System::SharedPtr<OutlineMask>>>& masks));
151 ASPOSE_TASKS_SHARED_API
void AddRange(
const System::SharedPtr<System::Collections::Generic::IEnumerable<System::SharedPtr<OutlineMask>>>& maskCollection);
155 #ifdef ASPOSE_GET_SHARED_MEMBERS
156 ASPOSE_TASKS_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
162 System::SharedPtr<System::Collections::Generic::IList<System::SharedPtr<OutlineMask>>> masks;
Represents an outline code definition.
Definition: OutlineCodeDefinition.h:84
Represents a collection of OutlineMask objects.
Definition: OutlineMaskCollection.h:55
int32_t IndexOf(const System::SharedPtr< OutlineMask > &item) const override
Determines the index of the specified item in this collection.
void idx_set(int32_t index, System::SharedPtr< OutlineMask > value) override
Sets the element at the specified index.
int32_t get_Count() const override
Gets the number of elements contained in this collection.
System::SharedPtr< System::Collections::Generic::IEnumerator< System::SharedPtr< OutlineMask > > > GetEnumerator() override
Returns an enumerator for this collection.
void CopyTo(System::ArrayPtr< System::SharedPtr< OutlineMask >> array, int32_t arrayIndex) override
Copies the elements of this collection to the specified array, starting at the specified array index.
System::SharedPtr< OutlineMask > idx_get(int32_t index) const override
Returns the element at the specified index.
void Clear() override
Removes all items from this collection.
bool Remove(const System::SharedPtr< OutlineMask > &item) override
Removes the first occurrence of a specific object from this collection.
void Insert(int32_t index, const System::SharedPtr< OutlineMask > &item) override
Inserts the specified item at the specified index.
bool get_IsReadOnly() const override
Gets a value indicating whether this collection is read-only; otherwise, false.
bool Contains(const System::SharedPtr< OutlineMask > &item) const override
Returns true if the specified item is found in this collection; otherwise, false.
void Add(const System::SharedPtr< OutlineMask > &item) override
Adds the specified item to this collection.
void RemoveAt(int32_t index) override
Removes an item at the specified index.