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 MpdExtendedAttributeDefinitionMapper;
24 enum class ElementType;
25 class ExtendedAttributeDefinition;
30 class MPP14OutlineCodeDefinitionWriter;
38 template <
typename>
class ExtendedAttributeParentEntityToRawValuesMapper;
44 class ExtendedAttributeNodeReader;
49 class TaskFieldsFormulaParser;
58 template <
typename>
class HashSet;
59 template <
typename>
class IComparer;
60 template <
typename,
typename>
class IDictionary;
61 template <
typename>
class IEnumerable;
62 template <
typename>
class IEnumerator;
77 typedef System::Collections::Generic::IList<System::SharedPtr<Aspose::Tasks::ExtendedAttributeDefinition>> BaseType;
79 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
80 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
82 friend class Aspose::Tasks::TaskFieldsFormulaParser;
84 template<
typename FT0>
friend class Aspose::Tasks::IO::Pwa::InternalApi::Mapping::ExtendedAttributeParentEntityToRawValuesMapper;
85 friend class Aspose::Tasks::Connectivity::MpdExtendedAttributeDefinitionMapper;
86 friend class Aspose::Tasks::Connectivity::MspDbReader;
87 friend class Aspose::Tasks::IO::MSProject::MPP14OutlineCodeDefinitionWriter;
88 friend class Aspose::Tasks::IO::Xml::ExtendedAttributeNodeReader;
89 friend class Aspose::Tasks::IO::Xml::XmlReader;
93 using iterator_holder_type = System::Collections::Generic::List<System::SharedPtr<ExtendedAttributeDefinition>>;
95 using iterator =
typename iterator_holder_type::iterator;
113 ASPOSE_TASKS_SHARED_API int32_t
get_Count()
const override;
124 ASPOSE_TASKS_SHARED_API System::SharedPtr<ExtendedAttributeDefinition>
idx_get(int32_t index)
const override;
130 ASPOSE_TASKS_SHARED_API
void idx_set(int32_t index, System::SharedPtr<ExtendedAttributeDefinition> value)
override;
136 ASPOSE_TASKS_SHARED_API System::SharedPtr<System::Collections::Generic::IEnumerator<System::SharedPtr<ExtendedAttributeDefinition>>>
GetEnumerator()
override;
141 ASPOSE_TASKS_SHARED_API
void Add(
const System::SharedPtr<ExtendedAttributeDefinition>& item)
override;
145 ASPOSE_TASKS_SHARED_API
void Clear()
override;
151 ASPOSE_TASKS_SHARED_API
bool Contains(
const System::SharedPtr<ExtendedAttributeDefinition>& item)
const override;
157 ASPOSE_TASKS_SHARED_API
void CopyTo(System::ArrayPtr<System::SharedPtr<ExtendedAttributeDefinition>> array, int32_t arrayIndex)
override;
163 ASPOSE_TASKS_SHARED_API
bool Remove(
const System::SharedPtr<ExtendedAttributeDefinition>& item)
override;
169 ASPOSE_TASKS_SHARED_API int32_t
IndexOf(
const System::SharedPtr<ExtendedAttributeDefinition>& item)
const override;
175 ASPOSE_TASKS_SHARED_API
void Insert(int32_t index,
const System::SharedPtr<ExtendedAttributeDefinition>& item)
override;
180 ASPOSE_TASKS_SHARED_API
void RemoveAt(int32_t index)
override;
185 ASPOSE_TASKS_SHARED_API System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<ExtendedAttributeDefinition>>>
ToList();
191 ASPOSE_TASKS_SHARED_API System::SharedPtr<ExtendedAttributeDefinition>
GetById(int32_t
id);
241 ASPOSE_TASKS_SHARED_API System::SharedPtr<
ExtendedAttributeDefinition> GetByKey(
bool isEnterprise, ElementType elementType, System::String name);
242 ASPOSE_TASKS_SHARED_API
void AddRange(const System::SharedPtr<System::Collections::Generic::IEnumerable<System::SharedPtr<
ExtendedAttributeDefinition>>>& attributes);
243 ASPOSE_TASKS_SHARED_API
void Sort(const System::SharedPtr<System::Collections::Generic::IComparer<System::SharedPtr<
ExtendedAttributeDefinition>>>& comparer);
247 #ifdef ASPOSE_GET_SHARED_MEMBERS
248 ASPOSE_TASKS_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
254 System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<ExtendedAttributeDefinition>>> definitions;
255 System::SharedPtr<System::Collections::Generic::IDictionary<int32_t, System::SharedPtr<ExtendedAttributeDefinition>>> idMap;
256 System::SharedPtr<System::Collections::Generic::HashSet<int32_t>> outlineValueHashSet;
257 System::WeakPtr<Project> pr_ParentProject;
263 ASPOSE_TASKS_SHARED_API
void set_ParentProject(
const System::SharedPtr<Project>& value);
265 void Init(
const System::SharedPtr<Project>& inParentProject,
const System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<ExtendedAttributeDefinition>>>& inDefinitions);
Represents a collection of ExtendedAttributeDefinition objects.
Definition: ExtendedAttributeDefinitionCollection.h:75
System::SharedPtr< ExtendedAttributeDefinition > idx_get(int32_t index) const override
Returns the element at the specified index.
int32_t IndexOf(const System::SharedPtr< ExtendedAttributeDefinition > &item) const override
Determines the index of the specified item in this collection.
typename iterator_holder_type::const_iterator const_iterator
Const iterator type.
Definition: ExtendedAttributeDefinitionCollection.h:97
int32_t get_Count() const override
Gets the number of elements contained in this collection.
System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< ExtendedAttributeDefinition > > > ToList()
Converts this ExtendedAttributeDefinitionCollection object to a list containing instances of the Exte...
bool Remove(const System::SharedPtr< ExtendedAttributeDefinition > &item) override
Removes the first occurrence of a specific object from this collection.
typename iterator_holder_type::iterator iterator
Iterator type.
Definition: ExtendedAttributeDefinitionCollection.h:95
void Add(const System::SharedPtr< ExtendedAttributeDefinition > &item) override
Adds the specified item to this collection.
const System::SharedPtr< Project > & get_ParentProject() const
Gets a parent project for the ExtendedAttributeDefinitionCollection instance. returns a parent projec...
void idx_set(int32_t index, System::SharedPtr< ExtendedAttributeDefinition > value) override
Sets the element at the specified index.
System::Collections::Generic::List< System::SharedPtr< ExtendedAttributeDefinition > > iterator_holder_type
A collection type whose iterator types is used as iterator types in the current collection.
Definition: ExtendedAttributeDefinitionCollection.h:93
iterator begin() noexcept
void RemoveAt(int32_t index) override
Removes an item at the specified index.
bool get_IsReadOnly() const override
Gets a value indicating whether this collection is read-only.
System::SharedPtr< ExtendedAttributeDefinition > GetById(int32_t id)
Returns an extended attribute definition by id
void Clear() override
Removes all items from this collection.
bool Contains(const System::SharedPtr< ExtendedAttributeDefinition > &item) const override
Returns true if the specified item is found in this collection; otherwise, false.
void Insert(int32_t index, const System::SharedPtr< ExtendedAttributeDefinition > &item) override
Inserts the specified item at the specified index.
System::SharedPtr< System::Collections::Generic::IEnumerator< System::SharedPtr< ExtendedAttributeDefinition > > > GetEnumerator() override
Returns an enumerator for this collection.
void CopyTo(System::ArrayPtr< System::SharedPtr< ExtendedAttributeDefinition >> 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 virtualized_iterator
Virtualized type.
Definition: ExtendedAttributeDefinitionCollection.h:101
typename iterator_holder_type::virtualized_iterator_element virtualized_iterator_element
Virtualized element type.
Definition: ExtendedAttributeDefinitionCollection.h:99
Represents an extended attribute definition associated with a project.
Definition: ExtendedAttributeDefinition.h:182
Represents a project.
Definition: Project.h:552