Elm
1.0
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
|
#include </home/casse/otawa/elm/src/concepts.h>
Public Member Functions | |
void | insert (const T &item) |
Public Member Functions inherited from elm::concept::MutableCollection< T > | |
void | clear (void) |
void | add (const T &item) |
void | addAll (const Collection< T > &items) |
void | remove (const T &item) |
void | removeAll (const Collection< T > &items) |
void | remove (const Iterator< T > &iter) |
Public Member Functions inherited from elm::concept::Collection< T > | |
int | count (void) |
bool | contains (const T &item) |
bool | containsAll (const C< T > &collection) |
bool | isEmpty (void) |
operator bool (void) | |
This concept provides methods to handle a set of object. Usually, sets provides efficient way to look for, insert or remove items.
T | Type of stored items. |
void elm::concept::Set< T >::insert | ( | const T & | item | ) |
Insert an item in the set avoiding item duplication.