Aspose.Tasks for C++
Aspose::Tasks::VbaModuleCollection Class Reference

Represents a collection of VbaModule objects. More...

#include <VbaModuleCollection.h>

Inherits System::Collections::Generic::ICollection< typename >.

Public Types

using iterator_holder_type = System::Collections::Generic::List< System::SharedPtr< VbaModule > >
 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

int32_t get_Count () const override
 
bool get_IsReadOnly () const override
 
System::SharedPtr< System::Collections::Generic::IEnumerator< System::SharedPtr< VbaModule > > > GetEnumerator () override
 
System::SharedPtr< VbaModuleidx_get (int32_t index)
 Gets the module at the specified index. More...
 
System::SharedPtr< VbaModuleidx_get (const System::String &moduleName)
 Gets the module with the specified name. More...
 
void Add (const System::SharedPtr< VbaModule > &item) override
 
void Clear () override
 
bool Contains (const System::SharedPtr< VbaModule > &item) const override
 
void CopyTo (System::ArrayPtr< System::SharedPtr< VbaModule >> array, int32_t arrayIndex) override
 
bool Remove (const System::SharedPtr< VbaModule > &item) override
 
System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< VbaModule > > > ToList ()
 Converts the collection object to a list of VbaModule objects. 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_iteratorvirtualizeBeginIterator () override
 
virtualized_iteratorvirtualizeEndIterator () override
 
virtualized_iteratorvirtualizeBeginConstIterator () const override
 
virtualized_iteratorvirtualizeEndConstIterator () const override
 

Detailed Description

Represents a collection of VbaModule objects.

Member Function Documentation

◆ begin() [1/2]

const_iterator Aspose::Tasks::VbaModuleCollection::begin ( ) const
noexcept

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::VbaModuleCollection::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()

const_iterator Aspose::Tasks::VbaModuleCollection::cbegin ( ) const
noexcept

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()

const_iterator Aspose::Tasks::VbaModuleCollection::cend ( ) const
noexcept

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

◆ end() [1/2]

const_iterator Aspose::Tasks::VbaModuleCollection::end ( ) const
noexcept

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::VbaModuleCollection::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

◆ idx_get() [1/2]

System::SharedPtr<VbaModule> Aspose::Tasks::VbaModuleCollection::idx_get ( const System::String &  moduleName)

Gets the module with the specified name.

Parameters
moduleNameThe name of the module to get.

◆ idx_get() [2/2]

System::SharedPtr<VbaModule> Aspose::Tasks::VbaModuleCollection::idx_get ( int32_t  index)

Gets the module at the specified index.

Parameters
indexThe zero-based index of the element to get.

◆ ToList()

System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<VbaModule> > > Aspose::Tasks::VbaModuleCollection::ToList ( )

Converts the collection object to a list of VbaModule objects.

Returns
List of objects.

◆ virtualizeBeginConstIterator()

virtualized_iterator* Aspose::Tasks::VbaModuleCollection::virtualizeBeginConstIterator ( ) const
override

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()

virtualized_iterator* Aspose::Tasks::VbaModuleCollection::virtualizeBeginIterator ( )
override

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()

virtualized_iterator* Aspose::Tasks::VbaModuleCollection::virtualizeEndConstIterator ( ) const
override

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()

virtualized_iterator* Aspose::Tasks::VbaModuleCollection::virtualizeEndIterator ( )
override

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.