Represents a collection of WorkingTimeCollection objects.
More...
#include <WorkingTimeCollection.h>
Inherits System::Collections::Generic::IList< typename >, and Aspose::Tasks::IReadOnlyWorkingTimeCollection.
|
using | iterator_holder_type = System::Collections::Generic::List< System::SharedPtr< WorkingTime > > |
| 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.
|
|
Represents a collection of WorkingTimeCollection objects.
◆ begin() [1/2]
Gets iterator pointing to the first element (if any) of the const-qualified instance of the collection.
- Returns
- An iterator pointing to the first element (if any) of the const-qualified instance of the collection
◆ begin() [2/2]
iterator Aspose::Tasks::WorkingTimeCollection::begin |
( |
| ) |
|
|
noexcept |
Gets iterator pointing to the first element (if any) of the collection.
- Returns
- An iterator pointing to the first element (if any) of the collection
◆ cbegin()
Gets iterator pointing to the first const-qualified element (if any) of the collection.
- Returns
- An iterator pointing to the first const-qualified element (if any) of the collection
◆ cend()
Gets iterator pointing right after the last const-qualified element (if any) of the collection.
- Returns
- An iterator pointing right after the last const-qualified element (if any) of the collection
◆ Clear()
void Aspose::Tasks::WorkingTimeCollection::Clear |
( |
| ) |
|
|
override |
◆ Contains()
bool Aspose::Tasks::WorkingTimeCollection::Contains |
( |
const System::SharedPtr< WorkingTime > & |
item | ) |
const |
|
override |
Checks if the specified element is in the List. Performs a linear O(n) search.
- Parameters
-
- Returns
- True, if specified element found in the list, false otherwise.
◆ CopyTo()
void Aspose::Tasks::WorkingTimeCollection::CopyTo |
( |
System::ArrayPtr< System::SharedPtr< WorkingTime >> |
array, |
|
|
int32_t |
arrayIndex |
|
) |
| |
|
override |
copies a collection content into an Array, starting at a particular index
- Parameters
-
array | an array to copy to. |
arrayIndex | starting array index |
◆ end() [1/2]
Gets iterator pointing right after the last element (if any) of the const-qualified instance of the collection.
- Returns
- An iterator pointing right after the last element (if any) of the const-qualified instance of the collection
◆ end() [2/2]
iterator Aspose::Tasks::WorkingTimeCollection::end |
( |
| ) |
|
|
noexcept |
Gets iterator pointing right after the last element (if any) of the collection.
- Returns
- An iterator pointing right after the last element (if any) of the collection
◆ get_Count()
int32_t Aspose::Tasks::WorkingTimeCollection::get_Count |
( |
| ) |
const |
|
override |
◆ GetEnumerator()
System::SharedPtr<System::Collections::Generic::IEnumerator<System::SharedPtr<WorkingTime> > > Aspose::Tasks::WorkingTimeCollection::GetEnumerator |
( |
| ) |
|
|
override |
Returns an enumerator for this collection.
- Returns
- an enumerator for this collection.
◆ idx_get()
System::SharedPtr<WorkingTime> Aspose::Tasks::WorkingTimeCollection::idx_get |
( |
int32_t |
index | ) |
const |
|
override |
Returns the element at the specified index.
- Parameters
-
index | The zero-based index of the element to get. |
- Returns
- the element at the specified index.
◆ idx_set()
void Aspose::Tasks::WorkingTimeCollection::idx_set |
( |
int32_t |
index, |
|
|
System::SharedPtr< WorkingTime > |
value |
|
) |
| |
|
override |
Returns the element at the specified index.
- Parameters
-
index | The zero-based index of the element to get. |
value | the element at the specified index. |
◆ Remove()
bool Aspose::Tasks::WorkingTimeCollection::Remove |
( |
const System::SharedPtr< WorkingTime > & |
item | ) |
|
|
override |
Removes WorkingTime instance from this collection.
- Parameters
-
- Returns
- true if WorkingTime instance was successfully removed from this collection; otherwise, false.
◆ ToList()
System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<WorkingTime> > > Aspose::Tasks::WorkingTimeCollection::ToList |
( |
| ) |
|
◆ virtualizeBeginConstIterator()
Gets iterator pointing to the first element (if any)of the const-qualified instance of the collection.
- Returns
- An iterator pointing to the first element (if any)of the const-qualified instance of the collection Provides const iterator implementation to container's first element.
-
Newly-created iterator object.
◆ virtualizeBeginIterator()
Gets iterator pointing to the first element (if any) of the collection.
- Returns
- An iterator pointing to the first element (if any) of the collection Provides iterator implementation to container's first element.
-
Newly-created iterator object.
◆ virtualizeEndConstIterator()
Gets iterator pointing right after the last element (if any)of the const-qualified instance of the collection.
- Returns
- An iterator pointing right after the last element (if any)of the const-qualified instance of the collection Provides const iterator implementation to container's end.
-
Newly-created iterator object.
◆ virtualizeEndIterator()
Gets iterator pointing right after the last element (if any) of the collection.
- Returns
- An iterator pointing right after the last element (if any) of the collection Provides iterator implementation to container's end.
-
Newly-created iterator object.