Elm
2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
|
#include <elm/dyndata/Collection.h>
Public Member Functions | |
virtual | ~Collection (void) |
virtual int | count (void) |
virtual bool | contains (const T &item) const |
virtual bool | isEmpty (void) const |
virtual Iter< T > | items (void) const |
Public Member Functions inherited from AbstractCollection< T > | |
virtual | ~AbstractCollection (void) |
operator bool (void) const | |
Iter< T > | operator* (void) const |
Protected Attributes | |
C | coll |
AbstractCollection implementation from Data Structures collection.
T | Type of collection values. |
C | Type of generic collection (containing values of type T). |
|
inlinevirtual |
|
inlinevirtual |
Test if a value is in the collection.
val | Looked value. |
Implements AbstractCollection< T >.
References Collection< T, C >::coll.
|
inlinevirtual |
Count the number of values in the collection.
Implements AbstractCollection< T >.
References Collection< T, C >::coll.
Test if the collection is empty.
Implements AbstractCollection< T >.
References Collection< T, C >::coll.
Implements AbstractCollection< T >.
References Collection< T, C >::coll.
|
protected |