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;
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;
211 ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(
OutlineValueCollection, CODEPORTING_ARGS());
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();
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:84
Represents a collection of OutlineValue objects.
Definition: OutlineValueCollection.h:67
int32_t get_Count() const override
Gets the number of elements contained in this collection.
System::SharedPtr< OutlineValue > idx_get(int32_t index) const override
Returns the element at the specified index.
bool Remove(const System::SharedPtr< OutlineValue > &item) override
Removes the first occurrence of a specific object from this collection.
bool Contains(const System::SharedPtr< OutlineValue > &item) const override
Returns true if the specified item is found in this collection; otherwise, false.
void idx_set(int32_t index, System::SharedPtr< OutlineValue > value) override
Sets the element at the specified index.
typename iterator_holder_type::const_iterator const_iterator
Const iterator type.
Definition: OutlineValueCollection.h:89
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
void CopyTo(System::ArrayPtr< System::SharedPtr< OutlineValue >> array, int32_t arrayIndex) override
Copies the elements of this collection to the specified array, starting at the specified array index.
typename iterator_holder_type::virtualized_iterator_element virtualized_iterator_element
Virtualized element type.
Definition: OutlineValueCollection.h:91
iterator begin() noexcept
typename iterator_holder_type::virtualized_iterator virtualized_iterator
Virtualized type.
Definition: OutlineValueCollection.h:93
void Insert(int32_t index, const System::SharedPtr< OutlineValue > &item) override
Inserts the specified item at the specified index.
System::SharedPtr< System::Collections::Generic::IEnumerator< System::SharedPtr< OutlineValue > > > GetEnumerator() override
Returns an enumerator for this collection.
typename iterator_holder_type::iterator iterator
Iterator type.
Definition: OutlineValueCollection.h:87
bool get_IsReadOnly() const override
Gets a value indicating whether this collection is read-only.
void RemoveAt(int32_t index) override
Removes an item at the specified index.
void Add(const System::SharedPtr< OutlineValue > &item) override
Adds the specified item to this collection.
void Clear() override
Removes all items from this collection.
int32_t IndexOf(const System::SharedPtr< OutlineValue > &item) const override
Determines the index of the specified item in this collection.
Represents an outline value.
Definition: OutlineValue.h:79