8 #include <system/collections/ilist.h>
9 #include <system/array.h>
12 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
22 class ResourceNodeReader;
29 namespace Visualization
31 template <
typename>
class FieldToColumnText;
41 template <
typename>
class IEnumerator;
53 class ASPOSE_TASKS_SHARED_CLASS
OutlineCodeCollection :
public System::Collections::Generic::IList<System::SharedPtr<Aspose::Tasks::OutlineCode>>
56 typedef System::Collections::Generic::IList<System::SharedPtr<Aspose::Tasks::OutlineCode>> BaseType;
58 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
59 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
63 friend class Aspose::Tasks::IO::Xml::ResourceNodeReader;
64 friend class Aspose::Tasks::IO::Xml::TaskNodeReader;
65 template<
typename FT0>
friend class Aspose::Tasks::Visualization::FieldToColumnText;
72 ASPOSE_TASKS_SHARED_API int32_t
get_Count()
const override;
83 ASPOSE_TASKS_SHARED_API System::SharedPtr<OutlineCode>
idx_get(int32_t index)
const override;
89 ASPOSE_TASKS_SHARED_API
void idx_set(int32_t index, System::SharedPtr<OutlineCode> value)
override;
95 ASPOSE_TASKS_SHARED_API System::SharedPtr<System::Collections::Generic::IEnumerator<System::SharedPtr<OutlineCode>>>
GetEnumerator()
override;
100 ASPOSE_TASKS_SHARED_API
void Add(
const System::SharedPtr<OutlineCode>& item)
override;
104 ASPOSE_TASKS_SHARED_API
void Clear()
override;
110 ASPOSE_TASKS_SHARED_API
bool Contains(
const System::SharedPtr<OutlineCode>& item)
const override;
116 ASPOSE_TASKS_SHARED_API
void CopyTo(System::ArrayPtr<System::SharedPtr<OutlineCode>> array, int32_t arrayIndex)
override;
122 ASPOSE_TASKS_SHARED_API
bool Remove(
const System::SharedPtr<OutlineCode>& item)
override;
128 ASPOSE_TASKS_SHARED_API int32_t
IndexOf(
const System::SharedPtr<OutlineCode>& item)
const override;
134 ASPOSE_TASKS_SHARED_API
void Insert(int32_t index,
const System::SharedPtr<OutlineCode>& item)
override;
139 ASPOSE_TASKS_SHARED_API
void RemoveAt(int32_t index)
override;
145 ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(
OutlineCodeCollection, CODEPORTING_ARGS());
147 ASPOSE_TASKS_SHARED_API
OutlineCodeCollection(
const System::SharedPtr<System::Collections::Generic::IList<System::SharedPtr<OutlineCode>>>& outlineCodes);
149 ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(
OutlineCodeCollection, CODEPORTING_ARGS(
const System::SharedPtr<System::Collections::Generic::IList<System::SharedPtr<OutlineCode>>>& outlineCodes));
150 ASPOSE_TASKS_SHARED_API System::SharedPtr<OutlineCode> GetByFieldId(int32_t fieldId);
154 #ifdef ASPOSE_GET_SHARED_MEMBERS
155 ASPOSE_TASKS_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
161 System::SharedPtr<System::Collections::Generic::IList<System::SharedPtr<OutlineCode>>> outlineCodes;
Represents a collection of OutlineCode objects.
Definition: OutlineCodeCollection.h:54
int32_t get_Count() const override
Gets the number of elements contained in this collection.
void Clear() override
Removes all items from this collection.
int32_t IndexOf(const System::SharedPtr< OutlineCode > &item) const override
Determines the index of the specified item in this collection.
void CopyTo(System::ArrayPtr< System::SharedPtr< OutlineCode >> 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.
bool Remove(const System::SharedPtr< OutlineCode > &item) override
Removes the first occurrence of a specific object from this collection.
System::SharedPtr< System::Collections::Generic::IEnumerator< System::SharedPtr< OutlineCode > > > GetEnumerator() override
Returns an enumerator for this collection.
System::SharedPtr< OutlineCode > idx_get(int32_t index) const override
Returns the element at the specified index.
void Add(const System::SharedPtr< OutlineCode > &item) override
Adds the specified item to this collection.
void RemoveAt(int32_t index) override
Removes an item at the specified index.
void idx_set(int32_t index, System::SharedPtr< OutlineCode > value) override
Sets the element at the specified index.
void Insert(int32_t index, const System::SharedPtr< OutlineCode > &item) override
Inserts the specified item at the specified index.
bool Contains(const System::SharedPtr< OutlineCode > &item) const override
Returns true if the specified item is found in this collection; otherwise, false.
Represents a resource in a project.
Definition: Resource.h:206
Represents a task in a project.
Definition: Task.h:383