|
| virtual ObjectIterator | begin ()=0 |
| virtual const T * | begin () const =0 |
| virtual ObjectIterator | end ()=0 |
| virtual const T * | end () const =0 |
| virtual T * | begin2 () const =0 |
| virtual T * | end2 () const =0 |
| template<class Function> |
| Function | each (Function f) |
| | Applies the functor f to all elements of the collection.
|
| virtual void | add (ObjectRef value)=0 |
|
virtual bool | remove (ObjectRef value)=0 |
|
virtual void | removeAt (Integer index)=0 |
|
virtual bool | contains (ObjectRef value) const =0 |
|
| 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 | clear ()=0 |
| | Removes all elements from 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 () |
| virtual EnumeratorImplBase * | enumerator () const =0 |
| | Returns a generic enumerator for the collection.
|
| 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::CollectionImplT< T >
Definition at line 424 of file arccore/src/common/arccore/common/Collection.h.