Aspose.Tasks for C++
|
Represents a collection of ExtendedAttributeDefinition objects. More...
#include <ExtendedAttributeDefinitionCollection.h>
Inherits System::Collections::Generic::IList< typename >.
Public Types | |
using | iterator_holder_type = System::Collections::Generic::List< System::SharedPtr< ExtendedAttributeDefinition > > |
A collection type whose iterator types is used as iterator types in the current collection. | |
using | iterator = typename iterator_holder_type::iterator |
Iterator type. | |
using | const_iterator = typename iterator_holder_type::const_iterator |
Const iterator type. | |
using | virtualized_iterator_element = typename iterator_holder_type::virtualized_iterator_element |
Virtualized element type. | |
using | virtualized_iterator = typename iterator_holder_type::virtualized_iterator |
Virtualized type. | |
Public Member Functions | |
const System::SharedPtr< Project > & | get_ParentProject () const |
Gets a parent project for the ExtendedAttributeDefinitionCollection instance.
| |
int32_t | get_Count () const override |
Gets the number of elements contained in this collection. More... | |
bool | get_IsReadOnly () const override |
Gets a value indicating whether this collection is read-only. More... | |
System::SharedPtr< ExtendedAttributeDefinition > | idx_get (int32_t index) const override |
Returns the element at the specified index. More... | |
void | idx_set (int32_t index, System::SharedPtr< ExtendedAttributeDefinition > value) override |
Sets the element at the specified index. More... | |
System::SharedPtr< System::Collections::Generic::IEnumerator< System::SharedPtr< ExtendedAttributeDefinition > > > | GetEnumerator () override |
Returns an enumerator for this collection. More... | |
void | Add (const System::SharedPtr< ExtendedAttributeDefinition > &item) override |
Adds the specified item to this collection. More... | |
void | Clear () override |
Removes all items from this collection. More... | |
bool | Contains (const System::SharedPtr< ExtendedAttributeDefinition > &item) const override |
Returns true if the specified item is found in this collection; otherwise, false. More... | |
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. More... | |
bool | Remove (const System::SharedPtr< ExtendedAttributeDefinition > &item) override |
Removes the first occurrence of a specific object from this collection. More... | |
int32_t | IndexOf (const System::SharedPtr< ExtendedAttributeDefinition > &item) const override |
Determines the index of the specified item in this collection. More... | |
void | Insert (int32_t index, const System::SharedPtr< ExtendedAttributeDefinition > &item) override |
Inserts the specified item at the specified index. More... | |
void | RemoveAt (int32_t index) override |
Removes an item at the specified index. More... | |
System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< ExtendedAttributeDefinition > > > | ToList () |
Converts this ExtendedAttributeDefinitionCollection object to a list containing instances of the ExtendedAttributeDefinition class. More... | |
System::SharedPtr< ExtendedAttributeDefinition > | GetById (int32_t id) |
Returns an extended attribute definition by id More... | |
iterator | begin () noexcept |
iterator | end () noexcept |
const_iterator | begin () const noexcept |
const_iterator | end () const noexcept |
const_iterator | cbegin () const noexcept |
const_iterator | cend () const noexcept |
virtualized_iterator * | virtualizeBeginIterator () override |
virtualized_iterator * | virtualizeEndIterator () override |
virtualized_iterator * | virtualizeBeginConstIterator () const override |
virtualized_iterator * | virtualizeEndConstIterator () const override |
Represents a collection of ExtendedAttributeDefinition objects.
|
override |
Adds the specified item to this collection.
item | the specified item to add to this collection. |
|
noexcept |
Gets iterator pointing to the first element (if any) of the const-qualified instance of the collection.
|
noexcept |
Gets iterator pointing to the first element (if any) of the collection.
|
noexcept |
Gets iterator pointing to the first const-qualified element (if any) of the collection.
|
noexcept |
Gets iterator pointing right after the last const-qualified element (if any) of the collection.
|
override |
Removes all items from this collection.
|
override |
Returns true if the specified item is found in this collection; otherwise, false.
item | the specified item to find. |
|
override |
Copies the elements of this collection to the specified array, starting at the specified array index.
array | the specified one-dimensional array to copy elements to |
arrayIndex | the zero-based index of the specified array at which copying begins. |
|
noexcept |
Gets iterator pointing right after the last element (if any) of the const-qualified instance of the collection.
|
noexcept |
Gets iterator pointing right after the last element (if any) of the collection.
|
override |
Gets the number of elements contained in this collection.
|
override |
Gets a value indicating whether this collection is read-only.
const System::SharedPtr<Project>& Aspose::Tasks::ExtendedAttributeDefinitionCollection::get_ParentProject | ( | ) | const |
Gets a parent project for the ExtendedAttributeDefinitionCollection instance.
System::SharedPtr<ExtendedAttributeDefinition> Aspose::Tasks::ExtendedAttributeDefinitionCollection::GetById | ( | int32_t | id | ) |
Returns an extended attribute definition by id
id | specified id |
|
override |
Returns an enumerator for this collection.
|
override |
Returns the element at the specified index.
index | The zero-based index of the element to get or set. |
|
override |
Sets the element at the specified index.
index | The zero-based index of the element to get or set. |
value | the element at the specified index. |
|
override |
Determines the index of the specified item in this collection.
item | the specified item to locate in this collection. |
|
override |
Inserts the specified item at the specified index.
index | the specified zero-based index at which the item should be inserted. |
item | the specified item to insert to this collection. |
|
override |
Removes the first occurrence of a specific object from this collection.
item | the specified object to remove. |
|
override |
Removes an item at the specified index.
index | the specified zero-based index to remove an item at. |
System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<ExtendedAttributeDefinition> > > Aspose::Tasks::ExtendedAttributeDefinitionCollection::ToList | ( | ) |
Converts this ExtendedAttributeDefinitionCollection object to a list containing instances of the ExtendedAttributeDefinition class.
|
override |
Gets iterator pointing to the first element (if any)of the const-qualified instance of the collection.
|
override |
Gets iterator pointing to the first element (if any) of the collection.
|
override |
Gets iterator pointing right after the last element (if any)of the const-qualified instance of the collection.
|
override |
Gets iterator pointing right after the last element (if any) of the collection.