8 #include <system/collections/ilist.h>
9 #include <system/array.h>
12 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
22 class WBSCodeDefinitionNodeReader;
25 class WBSCodeDefinition;
35 template <
typename>
class IEnumerator;
36 template <
typename>
class List;
48 class ASPOSE_TASKS_SHARED_CLASS
WBSCodeMaskCollection :
public System::Collections::Generic::IList<System::SharedPtr<Aspose::Tasks::WBSCodeMask>>
51 typedef System::Collections::Generic::IList<System::SharedPtr<Aspose::Tasks::WBSCodeMask>> BaseType;
53 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
54 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
56 friend class Aspose::Tasks::IO::Xml::WBSCodeDefinitionNodeReader;
64 ASPOSE_TASKS_SHARED_API int32_t
get_Count()
const override;
74 ASPOSE_TASKS_SHARED_API System::SharedPtr<System::Collections::Generic::IEnumerator<System::SharedPtr<WBSCodeMask>>>
GetEnumerator()
override;
79 ASPOSE_TASKS_SHARED_API
void Add(
const System::SharedPtr<WBSCodeMask>& item)
override;
83 ASPOSE_TASKS_SHARED_API
void Clear()
override;
89 ASPOSE_TASKS_SHARED_API
bool Contains(
const System::SharedPtr<WBSCodeMask>& item)
const override;
95 ASPOSE_TASKS_SHARED_API
void CopyTo(System::ArrayPtr<System::SharedPtr<WBSCodeMask>> array, int32_t arrayIndex)
override;
101 ASPOSE_TASKS_SHARED_API
bool Remove(
const System::SharedPtr<WBSCodeMask>& item)
override;
106 ASPOSE_TASKS_SHARED_API System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<WBSCodeMask>>>
ToList();
110 ASPOSE_TASKS_SHARED_API
WBSCodeMaskCollection(
const System::SharedPtr<System::Collections::Generic::IList<System::SharedPtr<WBSCodeMask>>>& codeMasks);
112 ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(
WBSCodeMaskCollection, CODEPORTING_ARGS(
const System::SharedPtr<System::Collections::Generic::IList<System::SharedPtr<WBSCodeMask>>>& codeMasks));
116 ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(
WBSCodeMaskCollection, CODEPORTING_ARGS());
120 #ifdef ASPOSE_GET_SHARED_MEMBERS
121 ASPOSE_TASKS_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
127 System::SharedPtr<System::Collections::Generic::IList<System::SharedPtr<WBSCodeMask>>> codeMasks;
129 System::SharedPtr<WBSCodeMask> idx_get(int32_t index)
const override;
130 void idx_set(int32_t index, System::SharedPtr<WBSCodeMask> value)
override;
132 int32_t IndexOf(
const System::SharedPtr<WBSCodeMask>& item)
const override;
133 void Insert(int32_t index,
const System::SharedPtr<WBSCodeMask>& item)
override;
134 void RemoveAt(int32_t index)
override;
Represents a WBS Code Definition.
Definition: WBSCodeDefinition.h:56
Represents a collection of WBSCodeMask objects.
Definition: WBSCodeMaskCollection.h:49
bool Contains(const System::SharedPtr< WBSCodeMask > &item) const override
Returns true if the specified item is found in this collection; otherwise, false.
bool get_IsReadOnly() const override
Gets a value indicating whether this collection is read-only; otherwise, false.
void Clear() override
Removes all items from this collection.
void CopyTo(System::ArrayPtr< System::SharedPtr< WBSCodeMask >> array, int32_t arrayIndex) override
Copies the elements of this collection to the specified array, starting at the specified array index.
bool Remove(const System::SharedPtr< WBSCodeMask > &item) override
Removes the first occurrence of a specific object from this collection.
int32_t get_Count() const override
Gets the number of elements contained in this collection.
System::SharedPtr< System::Collections::Generic::IEnumerator< System::SharedPtr< WBSCodeMask > > > GetEnumerator() override
Returns an enumerator for this collection.
System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< WBSCodeMask > > > ToList()
Converts a WBSCodeMaskCollection to a list of WBSCodeMask objects.
void Add(const System::SharedPtr< WBSCodeMask > &item) override
Adds the specified item to this collection.