#include </home/casse/Dev/elm/src/concepts.h>
template<class T>
class elm::concept::MutableCollection< T >
This concept provides way to have collections whose content may be modified.
- Parameters
-
T | Type of items in the collection. |
- Implemented by:
-
◆ add()
void add |
( |
const T & |
item | ) |
|
Add an item to the collection.
- Parameters
-
◆ addAll()
Add a collection to the current one.
- Parameters
-
◆ begin()
Get a mutable iterator on the first element of the collection.
- Returns
- First element mutable iterator.
◆ clear()
Remove all items from the collection.
◆ copy()
Reset the current collection and copy the given one.
- Parameters
-
◆ end()
Get a mutable iterator at the end of the collection.
- Returns
- Mutable iterator at the end of the collection.
◆ operator+=()
◆ operator-=()
◆ operator=()
Copy in the current collection the given collection.
- Parameters
-
- Returns
- This collection.
◆ remove() [1/2]
Remove a value using an iterator.
- Parameters
-
iter | Iter giving the item to remove. |
◆ remove() [2/2]
void remove |
( |
const T & |
item | ) |
|
Remove the given item from the collection.
- Parameters
-
item | Item to remove from the collection. |
◆ removeAll()
Remove a collection from the current one.
- Parameters
-
The documentation for this class was generated from the following file: