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"
23 class MPP12OutlineCodeDefinitionReader;
24 class MPP14OutlineCodeDefinitionReader;
25 class MPP9OutlineCodeDefinitionReader;
27 namespace PrimaveraXml
29 class PrimaveraActivityCodeValueNodeReader;
33 class PrimaveraExtendedAttributeLookupBuilder;
37 class OutlineCodeDefinitionReader;
40 class OutlineCodeDefinition;
42 namespace Visualization
44 template <
typename>
class FieldToColumnText;
54 template <
typename>
class IEnumerator;
66 class ASPOSE_TASKS_SHARED_CLASS
OutlineValueCollection :
public System::Collections::Generic::IList<System::SharedPtr<Aspose::Tasks::OutlineValue>>
69 typedef System::Collections::Generic::IList<System::SharedPtr<Aspose::Tasks::OutlineValue>> BaseType;
71 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
72 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
74 friend class Aspose::Tasks::IO::PrimaveraXml::PrimaveraActivityCodeValueNodeReader;
75 friend class Aspose::Tasks::IO::Xer::PrimaveraExtendedAttributeLookupBuilder;
76 friend class Aspose::Tasks::IO::MSProject::MPP12OutlineCodeDefinitionReader;
77 friend class Aspose::Tasks::IO::MSProject::MPP14OutlineCodeDefinitionReader;
78 friend class Aspose::Tasks::IO::MSProject::MPP9OutlineCodeDefinitionReader;
79 friend class Aspose::Tasks::IO::Xml::OutlineCodeDefinitionReader;
81 template<
typename FT0>
friend class Aspose::Tasks::Visualization::FieldToColumnText;
87 using iterator =
typename iterator_holder_type::iterator;
100 ASPOSE_TASKS_SHARED_API int32_t get_Count()
const override;
104 ASPOSE_TASKS_SHARED_API
bool get_IsReadOnly()
const override;
111 ASPOSE_TASKS_SHARED_API System::SharedPtr<OutlineValue> idx_get(int32_t index)
const override;
117 ASPOSE_TASKS_SHARED_API
void idx_set(int32_t index, System::SharedPtr<OutlineValue> value)
override;
123 ASPOSE_TASKS_SHARED_API System::SharedPtr<System::Collections::Generic::IEnumerator<System::SharedPtr<OutlineValue>>> GetEnumerator()
override;
128 ASPOSE_TASKS_SHARED_API
void Add(
const System::SharedPtr<OutlineValue>& item)
override;
132 ASPOSE_TASKS_SHARED_API
void Clear()
override;
138 ASPOSE_TASKS_SHARED_API
bool Contains(
const System::SharedPtr<OutlineValue>& item)
const override;
144 ASPOSE_TASKS_SHARED_API
void CopyTo(System::ArrayPtr<System::SharedPtr<OutlineValue>> array, int32_t arrayIndex)
override;
150 ASPOSE_TASKS_SHARED_API
bool Remove(
const System::SharedPtr<OutlineValue>& item)
override;
156 ASPOSE_TASKS_SHARED_API int32_t IndexOf(
const System::SharedPtr<OutlineValue>& item)
const override;
162 ASPOSE_TASKS_SHARED_API
void Insert(int32_t index,
const System::SharedPtr<OutlineValue>& item)
override;
167 ASPOSE_TASKS_SHARED_API
void RemoveAt(int32_t index)
override;
170 ASPOSE_TASKS_SHARED_API
iterator begin() noexcept;
173 ASPOSE_TASKS_SHARED_API
iterator end() noexcept;
211 ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(OutlineValueCollection, CODEPORTING_ARGS());
213 ASPOSE_TASKS_SHARED_API OutlineValueCollection(const System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<
OutlineValue>>>& values);
215 ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(OutlineValueCollection, CODEPORTING_ARGS(const System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<
OutlineValue>>>& values));
216 ASPOSE_TASKS_SHARED_API System::SharedPtr<
OutlineValue> GetByValueId(int32_t valueId);
217 ASPOSE_TASKS_SHARED_API
void Sort();
219 virtual ASPOSE_TASKS_SHARED_API ~OutlineValueCollection();
221 #ifdef ASPOSE_GET_SHARED_MEMBERS
222 ASPOSE_TASKS_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
228 System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<OutlineValue>>> values;
230 static int32_t CompareValues(
const System::SharedPtr<OutlineValue>& x,
const System::SharedPtr<OutlineValue>& y);
Represents an outline code definition.
Definition: OutlineCodeDefinition.h:83
typename iterator_holder_type::virtualized_iterator_element virtualized_iterator_element
Virtualized element type.
Definition: OutlineValueCollection.h:91
typename iterator_holder_type::virtualized_iterator virtualized_iterator
Virtualized type.
Definition: OutlineValueCollection.h:93
typename iterator_holder_type::iterator iterator
Iterator type.
Definition: OutlineValueCollection.h:87
Represents a collection of OutlineValue objects.
Definition: OutlineValueCollection.h:66
Represents an outline value.
Definition: OutlineValue.h:78
System::Collections::Generic::List< System::SharedPtr< OutlineValue >> iterator_holder_type
A collection type whose iterator types is used as iterator types in the current collection.
Definition: OutlineValueCollection.h:85
typename iterator_holder_type::const_iterator const_iterator
Const iterator type.
Definition: OutlineValueCollection.h:89