Implementation of a collection of elements in vector form. More...
Public Types | |
| typedef Collection< T > | BaseClass |
| typedef Impl | Vec |
| typedef Vec::value_type | value_type |
| typedef Vec::iterator | iterator |
| typedef Vec::const_iterator | const_iterator |
| typedef Vec::pointer | pointer |
| typedef Vec::const_pointer | const_pointer |
| typedef Vec::reference | reference |
| typedef Vec::const_reference | const_reference |
| typedef ListEnumeratorT< T > | Enumerator |
| Type of a constant iterator over the entire array. | |
| typedef ConstIterT< List< T > > | const_iter |
| Public Types inherited from Arcane::Collection< T > | |
| typedef const T & | ObjectRef |
| typedef T & | Ref |
| typedef T * | Iterator |
| typedef EnumeratorT< T > | Enumerator |
| Type of an iterator over the entire collection. | |
Public Member Functions | |
| List (const ConstArrayView< T > &from) | |
| List (const ArrayView< T > &from) | |
| List (const EnumeratorT< T > &from) | |
| void | resize (Integer new_size) |
| T & | operator[] (Integer i) |
| const T & | operator[] (Integer i) const |
| void | clone (const Collection< T > &base) |
| Clone the collection base. | |
| List< T > | clone () const |
| Clone the collection. | |
| const_iterator | begin () const |
| const_iterator | end () const |
| iterator | begin () |
| iterator | end () |
| T * | begin2 () const |
| T * | end2 () const |
| template<typename Function> | |
| Function | each (Function f) |
| Apply the functor f to all elements of the array. | |
| template<typename Function> | |
| iterator | find_if (Function f) |
| template<typename Function> | |
| const_iterator | find_if (Function f) const |
| Public Member Functions inherited from Arcane::Collection< T > | |
| Collection ()=default | |
| Creates a null collection. | |
| Enumerator | enumerator () const |
| Iterator | begin () |
| Iterator | end () |
| Ref | front () |
| bool | remove (ObjectRef value) |
| void | removeAt (Integer index) |
| void | add (ObjectRef value) |
| bool | contains (ObjectRef value) const |
| template<class Function> | |
| Function | each (Function f) |
| Applies the functor f to all elements of the collection. | |
| Public Member Functions inherited from Arcane::CollectionBase | |
| CollectionBase (const CollectionBase &rhs) | |
| CollectionBase ()=default | |
| Creates a null collection. | |
| CollectionBase & | operator= (const CollectionBase &rhs) |
| void | clear () |
| Removes all elements from the collection. | |
| Integer | count () const |
| Number of elements in the collection. | |
| bool | empty () const |
| True if the collection is empty. | |
| CollectionChangeEventHandler & | change () |
| Event invoked when the collection changes. | |
Protected Member Functions | |
| List (Impl *from) | |
| Protected Member Functions inherited from Arcane::Collection< T > | |
| Collection (Impl *vb) | |
| Protected Member Functions inherited from Arcane::CollectionBase | |
| CollectionBase (Impl *vb) | |
| Impl * | _ref () |
| const Impl * | _ref () const |
| Impl * | _noNullRef () |
| const Impl * | _noNullRef () const |
| void | _setRef (Impl *new_impl) |
Private Types | |
| typedef ListImplT< T > | Impl |
Private Member Functions | |
| Impl & | _cast () |
| const Impl & | _cast () const |
Additional Inherited Members | |
| Related Symbols inherited from Arcane::Collection< T > | |
| typedef EventObservable< const CollectionEventArgs & > | CollectionChangeEventHandler |
| Events sent by a Collection. | |
Implementation of a collection of elements in vector form.
Definition at line 629 of file arccore/src/common/arccore/common/List.h.
| typedef Collection<T> Arcane::List< T >::BaseClass |
Definition at line 634 of file arccore/src/common/arccore/common/List.h.
| typedef ConstIterT<List<T> > Arcane::List< T >::const_iter |
Definition at line 654 of file arccore/src/common/arccore/common/List.h.
| typedef Vec::const_iterator Arcane::List< T >::const_iterator |
Definition at line 645 of file arccore/src/common/arccore/common/List.h.
| typedef Vec::const_pointer Arcane::List< T >::const_pointer |
Definition at line 647 of file arccore/src/common/arccore/common/List.h.
| typedef Vec::const_reference Arcane::List< T >::const_reference |
Definition at line 649 of file arccore/src/common/arccore/common/List.h.
| typedef ListEnumeratorT<T> Arcane::List< T >::Enumerator |
Type of a constant iterator over the entire array.
Definition at line 652 of file arccore/src/common/arccore/common/List.h.
|
private |
Definition at line 638 of file arccore/src/common/arccore/common/List.h.
| typedef Vec::iterator Arcane::List< T >::iterator |
Definition at line 644 of file arccore/src/common/arccore/common/List.h.
| typedef Vec::pointer Arcane::List< T >::pointer |
Definition at line 646 of file arccore/src/common/arccore/common/List.h.
| typedef Vec::reference Arcane::List< T >::reference |
Definition at line 648 of file arccore/src/common/arccore/common/List.h.
| typedef Vec::value_type Arcane::List< T >::value_type |
Definition at line 643 of file arccore/src/common/arccore/common/List.h.
| typedef Impl Arcane::List< T >::Vec |
Definition at line 642 of file arccore/src/common/arccore/common/List.h.
|
inline |
Definition at line 658 of file arccore/src/common/arccore/common/List.h.
|
inline |
Definition at line 661 of file arccore/src/common/arccore/common/List.h.
|
inline |
Definition at line 664 of file arccore/src/common/arccore/common/List.h.
|
inlineexplicit |
Definition at line 667 of file arccore/src/common/arccore/common/List.h.
|
inlineprotected |
Definition at line 741 of file arccore/src/common/arccore/common/List.h.
|
inlineprivate |
Definition at line 747 of file arccore/src/common/arccore/common/List.h.
|
inlineprivate |
Definition at line 748 of file arccore/src/common/arccore/common/List.h.
|
inline |
Definition at line 706 of file arccore/src/common/arccore/common/List.h.
|
inline |
Definition at line 704 of file arccore/src/common/arccore/common/List.h.
|
inline |
Definition at line 709 of file arccore/src/common/arccore/common/List.h.
|
inline |
Clone the collection.
Definition at line 697 of file arccore/src/common/arccore/common/List.h.
|
inline |
Clone the collection base.
Definition at line 689 of file arccore/src/common/arccore/common/List.h.
Referenced by Arcane::DumpWEnsight7::beginWrite(), Arcane::TimeLoopReader::readTimeLoops(), and Arcane::TimeLoop::setEntryPoints().
|
inline |
Apply the functor f to all elements of the array.
Definition at line 714 of file arccore/src/common/arccore/common/List.h.
|
inline |
Definition at line 707 of file arccore/src/common/arccore/common/List.h.
|
inline |
Definition at line 705 of file arccore/src/common/arccore/common/List.h.
|
inline |
Definition at line 710 of file arccore/src/common/arccore/common/List.h.
|
inline |
Definition at line 720 of file arccore/src/common/arccore/common/List.h.
|
inline |
Definition at line 730 of file arccore/src/common/arccore/common/List.h.
|
inline |
Definition at line 678 of file arccore/src/common/arccore/common/List.h.
|
inline |
Definition at line 683 of file arccore/src/common/arccore/common/List.h.
|
inline |
Definition at line 673 of file arccore/src/common/arccore/common/List.h.