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 | |
bool | isEmpty (void) const |
const T & | head (void) const |
T | get (void) |
void | put (const T &item) |
void | reset (void) |
Concept representing the work of a queue.
T | Type of item in the queue. |
T elm::concept::Queue< T >::get | ( | void | ) |
Get and remove the head item of the queue.
const T& elm::concept::Queue< T >::head | ( | void | ) | const |
Get the head element of the queue.
bool elm::concept::Queue< T >::isEmpty | ( | void | ) | const |
Test if the queue is empty.
void elm::concept::Queue< T >::put | ( | const T & | item | ) |
Put a new item at the tail of the queue.
item | Item to enqueue. |
void elm::concept::Queue< T >::reset | ( | void | ) |
Make the queue empty.