|
| | ListImplT (const ConstArrayView< T > &array) |
| | ListImplT (const ArrayView< T > &array) |
| | ListImplT (const ListImplT< T > &array) |
| | ListImplT (const Collection< T > &array) |
| | ListImplT (const EnumeratorT< T > &enumerator) |
| void | assign (const Collection< T > &array) |
| void | assign (const EnumeratorT< T > &enumerator) |
|
| ListImplBase ()=default |
| | Constructs an empty array.
|
| void | assign (const ListImplBase< T > &s) |
| | Copies the array from s.
|
| void | assign (const ConstArrayView< T > &s) |
| | Copies the array from s.
|
| void | assign (const ArrayView< T > &s) |
| | Copies the array from s.
|
| T & | operator[] (Integer i) |
| | i-th element of the array.
|
| const T & | operator[] (Integer i) const |
| | i-th element of the array.
|
| iterator | begin () override |
| | Returns an iterator to the first element of the array.
|
| iterator | end () override |
| | Returns an iterator to the first element after the end of the array.
|
| const_iterator | begin () const override |
| | Returns a constant iterator to the first element of the array.
|
| const_iterator | end () const override |
| | Returns a constant iterator to the first element after the end of the array.
|
| T * | begin2 () const override |
| | Returns a pointer to the first element of the array.
|
| T * | end2 () const override |
| | Returns a pointer to the first element after the end of the array.
|
| template<class Function> |
| Function | each (Function f) |
| | Applies the functor f to all elements of the array.
|
| void | reserve (Integer new_capacity) |
| | Signals that memory should be reserved for new_capacity elements This is just an indication. The derived class is free not to take it into account.
|
| Integer | capacity () const |
| | Returns the number of allocated elements in the array.
|
| void | clear () override |
| | Removes all elements from the collection.
|
| void | add (ObjectRef elem) override |
| | Adds element elem to the end of the array.
|
| bool | remove (ObjectRef element) override |
| void | removeAt (Integer index) override |
| const_iterator | find (ObjectRef element) const |
| bool | contains (ObjectRef element) const override |
| EnumeratorImplBase * | enumerator () const override |
| | Returns a generic enumerator for the collection.
|
| void | resize (Integer new_size) |
| | Changes the size of the array. new_size is the new number of elements in the array.
|
| template<class Function> |
| Function | each (Function f) |
| | Applies the functor f to all elements of the collection.
|
|
| CollectionImplBase ()=default |
| | Constructs an empty collection.
|
| | CollectionImplBase (Integer acount) |
| | Constructs a collection with acount elements.
|
|
| CollectionImplBase (const CollectionImplBase &from)=delete |
| | Copy constructor. event handlers are not copied.
|
| Integer | count () const |
| | Returns the number of elements in the collection.
|
| virtual void | onClear () |
| | Event sent before removing all elements.
|
| virtual void | onClearComplete () |
| | Event sent when all elements have been removed.
|
| virtual void | onInsert () |
| | Event sent before inserting an element.
|
| virtual void | onInsertComplete (void *object, Integer position) |
| | Event sent after inserting an element.
|
| virtual void | onRemove () |
| | Event sent before removing an element.
|
| virtual void | onRemoveComplete (void *object, Integer position) |
| | Event sent after removing an element.
|
| virtual void | onSet () |
| virtual void | onSetComplete (void *object, Integer position) |
| virtual void | onValidate () |
| CollectionChangeEventHandler & | change () |
|
| ObjectImpl (const ObjectImpl &rhs)=delete |
|
ObjectImpl & | operator= (const ObjectImpl &rhs)=delete |
| void | addRef () |
| | Increments the reference counter.
|
| void | removeRef () |
| | Decrements the reference counter.
|
| Int32 | refCount () const |
| | Returns the value of the reference counter.
|
| virtual void | deleteMe () |
| | Destroys this object.
|
template<class T>
class Arcane::ListImplT< T >
Definition at line 329 of file arccore/src/common/arccore/common/List.h.