8 #include <system/collections/list.h>
9 #include <system/collections/ilist.h>
10 #include <system/array.h>
13 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
19 namespace Connectivity
21 class MpdOutlineCodeDefinitionMapper;
29 class MPP9OutlineCodeDefinitionWriter;
34 class PrimaveraExtendedAttributeLookupBuilder;
41 class OutlineCodeDefinition;
43 namespace Visualization
45 template <
typename>
class FieldToColumnText;
55 template <
typename>
class IComparer;
56 template <
typename>
class IEnumerator;
68 class ASPOSE_TASKS_SHARED_CLASS
OutlineCodeDefinitionCollection :
public System::Collections::Generic::IList<System::SharedPtr<Aspose::Tasks::OutlineCodeDefinition>>
71 typedef System::Collections::Generic::IList<System::SharedPtr<Aspose::Tasks::OutlineCodeDefinition>> BaseType;
73 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
74 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
76 friend class Aspose::Tasks::IO::Xer::PrimaveraExtendedAttributeLookupBuilder;
78 friend class Aspose::Tasks::Connectivity::MpdOutlineCodeDefinitionMapper;
79 friend class Aspose::Tasks::IO::MSProject::MPP12Reader;
80 friend class Aspose::Tasks::IO::MSProject::MPP14Reader;
81 friend class Aspose::Tasks::IO::MSProject::MPP9Reader;
82 friend class Aspose::Tasks::IO::MSProject::MPP9OutlineCodeDefinitionWriter;
83 friend class Aspose::Tasks::IO::Xml::XmlReader;
84 template<
typename FT0>
friend class Aspose::Tasks::Visualization::FieldToColumnText;
90 using iterator =
typename iterator_holder_type::iterator;
103 ASPOSE_TASKS_SHARED_API int32_t
get_Count()
const override;
114 ASPOSE_TASKS_SHARED_API System::SharedPtr<OutlineCodeDefinition>
idx_get(int32_t index)
const override;
120 ASPOSE_TASKS_SHARED_API
void idx_set(int32_t index, System::SharedPtr<OutlineCodeDefinition> value)
override;
126 ASPOSE_TASKS_SHARED_API System::SharedPtr<System::Collections::Generic::IEnumerator<System::SharedPtr<OutlineCodeDefinition>>>
GetEnumerator()
override;
131 ASPOSE_TASKS_SHARED_API
void Add(
const System::SharedPtr<OutlineCodeDefinition>& item)
override;
135 ASPOSE_TASKS_SHARED_API
void Clear()
override;
141 ASPOSE_TASKS_SHARED_API
bool Contains(
const System::SharedPtr<OutlineCodeDefinition>& item)
const override;
147 ASPOSE_TASKS_SHARED_API
void CopyTo(System::ArrayPtr<System::SharedPtr<OutlineCodeDefinition>> array, int32_t arrayIndex)
override;
153 ASPOSE_TASKS_SHARED_API
bool Remove(
const System::SharedPtr<OutlineCodeDefinition>& item)
override;
159 ASPOSE_TASKS_SHARED_API int32_t
IndexOf(
const System::SharedPtr<OutlineCodeDefinition>& item)
const override;
165 ASPOSE_TASKS_SHARED_API
void Insert(int32_t index,
const System::SharedPtr<OutlineCodeDefinition>& item)
override;
170 ASPOSE_TASKS_SHARED_API
void RemoveAt(int32_t index)
override;
175 ASPOSE_TASKS_SHARED_API System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<OutlineCodeDefinition>>>
ToList();
224 ASPOSE_TASKS_SHARED_API
void Sort(const System::SharedPtr<System::Collections::Generic::IComparer<System::SharedPtr<
OutlineCodeDefinition>>>& comparer);
229 #ifdef ASPOSE_GET_SHARED_MEMBERS
230 ASPOSE_TASKS_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
236 System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<OutlineCodeDefinition>>> definitions;
Represents a collection of OutlineCodeDefinition objects.
Definition: OutlineCodeDefinitionCollection.h:69
void idx_set(int32_t index, System::SharedPtr< OutlineCodeDefinition > value) override
Sets the element at the specified index.
void RemoveAt(int32_t index) override
Removes an item at the specified index.
System::SharedPtr< OutlineCodeDefinition > idx_get(int32_t index) const override
Returns the element at the specified index.
typename iterator_holder_type::iterator iterator
Iterator type.
Definition: OutlineCodeDefinitionCollection.h:90
bool Remove(const System::SharedPtr< OutlineCodeDefinition > &item) override
Removes the first occurrence of a specific object from this collection.
void Clear() override
Removes all items from this collection.
void CopyTo(System::ArrayPtr< System::SharedPtr< OutlineCodeDefinition >> array, int32_t arrayIndex) override
Copies the elements of this collection to the specified array, starting at the specified array index.
iterator begin() noexcept
typename iterator_holder_type::virtualized_iterator_element virtualized_iterator_element
Virtualized element type.
Definition: OutlineCodeDefinitionCollection.h:94
bool Contains(const System::SharedPtr< OutlineCodeDefinition > &item) const override
Returns true if the specified item is found in this collection; otherwise, false.
System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< OutlineCodeDefinition > > > ToList()
Converts this OutlineCodeDefinitionCollection object to a list of OutlineCodeDefinition objects.
void Insert(int32_t index, const System::SharedPtr< OutlineCodeDefinition > &item) override
Inserts the specified item at the specified index.
void Add(const System::SharedPtr< OutlineCodeDefinition > &item) override
Adds the specified item to this collection.
int32_t IndexOf(const System::SharedPtr< OutlineCodeDefinition > &item) const override
Determines the index of the specified item in this collection.
System::Collections::Generic::List< System::SharedPtr< OutlineCodeDefinition > > iterator_holder_type
A collection type whose iterator types is used as iterator types in the current collection.
Definition: OutlineCodeDefinitionCollection.h:88
typename iterator_holder_type::virtualized_iterator virtualized_iterator
Virtualized type.
Definition: OutlineCodeDefinitionCollection.h:96
System::SharedPtr< System::Collections::Generic::IEnumerator< System::SharedPtr< OutlineCodeDefinition > > > GetEnumerator() override
Returns an enumerator for this collection.
int32_t get_Count() const override
Gets the number of elements contained in this collection.
typename iterator_holder_type::const_iterator const_iterator
Const iterator type.
Definition: OutlineCodeDefinitionCollection.h:92
bool get_IsReadOnly() const override
Gets a value indicating whether this collection is read-only; otherwise, false.
Represents an outline code definition.
Definition: OutlineCodeDefinition.h:84
Represents a project.
Definition: Project.h:552