Elm
2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
|
#include <elm/dyndata/AbstractCollection.h>
Public Member Functions | |
virtual | ~AbstractCollection (void) |
virtual int | count (void)=0 |
virtual bool | contains (const T &item) const =0 |
virtual bool | isEmpty (void) const =0 |
operator bool (void) const | |
virtual Iter< T > | items (void) const =0 |
Iter< T > | operator* (void) const |
Abstract interface implement the concept::Collection concept to use as dynamic data.
T | Type of values in the collection. |
|
inlinevirtual |
|
pure virtual |
Test if a value is in the collection.
val | Looked value. |
Implemented in Collection< T, C >.
|
pure virtual |
Count the number of values in the collection.
Implemented in Collection< T, C >.
Test if the collection is empty.
Implemented in Collection< T, C >.
Referenced by AbstractCollection< T >::operator bool().
Implemented in Collection< T, C >.
Referenced by AbstractCollection< T >::operator*().
References AbstractCollection< T >::isEmpty().
References AbstractCollection< T >::items().