8 #include <system/collections/ilist.h>
9 #include <system/array.h>
12 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
28 template <
typename>
class IEnumerator;
29 template <
typename>
class List;
42 class ASPOSE_TASKS_SHARED_CLASS
GroupCriterionCollection :
public System::Collections::Generic::IList<System::SharedPtr<Aspose::Tasks::GroupCriterion>>
45 typedef System::Collections::Generic::IList<System::SharedPtr<Aspose::Tasks::GroupCriterion>> BaseType;
47 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
48 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
57 ASPOSE_TASKS_SHARED_API int32_t
get_Count()
const override;
71 ASPOSE_TASKS_SHARED_API System::SharedPtr<System::Collections::Generic::IEnumerator<System::SharedPtr<GroupCriterion>>>
GetEnumerator()
override;
76 ASPOSE_TASKS_SHARED_API
void Add(
const System::SharedPtr<GroupCriterion>& item)
override;
80 ASPOSE_TASKS_SHARED_API
void Clear()
override;
86 ASPOSE_TASKS_SHARED_API
bool Contains(
const System::SharedPtr<GroupCriterion>& item)
const override;
92 ASPOSE_TASKS_SHARED_API
void CopyTo(System::ArrayPtr<System::SharedPtr<GroupCriterion>> array, int32_t arrayIndex)
override;
98 ASPOSE_TASKS_SHARED_API
bool Remove(
const System::SharedPtr<GroupCriterion>& item)
override;
103 ASPOSE_TASKS_SHARED_API System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<GroupCriterion>>>
ToList();
112 ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(
GroupCriterionCollection, CODEPORTING_ARGS(
const System::SharedPtr<Group>& parentGroup));
117 ASPOSE_TASKS_SHARED_API
GroupCriterionCollection(
const System::SharedPtr<Group>& parentGroup,
const System::SharedPtr<System::Collections::Generic::IList<System::SharedPtr<GroupCriterion>>>& items);
119 ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(
GroupCriterionCollection, CODEPORTING_ARGS(
const System::SharedPtr<Group>& parentGroup,
const System::SharedPtr<System::Collections::Generic::IList<System::SharedPtr<GroupCriterion>>>& items));
123 #ifdef ASPOSE_GET_SHARED_MEMBERS
124 ASPOSE_TASKS_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
130 System::SharedPtr<System::Collections::Generic::IList<System::SharedPtr<GroupCriterion>>> items;
131 System::WeakPtr<Group> pr_ParentGroup;
136 ASPOSE_TASKS_SHARED_API
void set_ParentGroup(
const System::SharedPtr<Group>& value);
138 System::SharedPtr<GroupCriterion> idx_get(int32_t index)
const override;
139 void idx_set(int32_t index, System::SharedPtr<GroupCriterion> value)
override;
141 int32_t IndexOf(
const System::SharedPtr<GroupCriterion>& item)
const override;
142 void Insert(int32_t index,
const System::SharedPtr<GroupCriterion>& item)
override;
143 void RemoveAt(int32_t index)
override;
Contains a collection of GroupCriterion objects. Implements ICollection<GroupCriterion> interface.
Definition: GroupCriterionCollection.h:43
void Clear() override
Removes all items from this collection.
const System::SharedPtr< Group > & get_ParentGroup() const
Gets the parent of the GroupCriterion object.
void CopyTo(System::ArrayPtr< System::SharedPtr< GroupCriterion >> array, int32_t arrayIndex) override
Copies the elements of this collection to the specified array, starting at the specified array index.
bool get_IsReadOnly() const override
Gets a value indicating whether this collection is read-only; otherwise, false.
System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< GroupCriterion > > > ToList()
Converts a GroupCriterion collection to a list of GroupCriterion objects.
int32_t get_Count() const override
Gets the number of elements contained in this collection.
void Add(const System::SharedPtr< GroupCriterion > &item) override
Adds the specified item to this collection.
System::SharedPtr< System::Collections::Generic::IEnumerator< System::SharedPtr< GroupCriterion > > > GetEnumerator() override
Returns an enumerator for this collection.
bool Contains(const System::SharedPtr< GroupCriterion > &item) const override
Returns true if the specified item is found in this collection; otherwise, false.
bool Remove(const System::SharedPtr< GroupCriterion > &item) override
Removes the first occurrence of a specific object from this collection.
Represents a group definition. A Group object is a member of the ResourceGroups collection or the Tas...
Definition: Group.h:42