Elm
2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
|
#include </home/casse/Dev/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 get | ( | void | ) |
Get and remove the head item of the queue.
const T& head | ( | void | ) | const |
Get the head element of the queue.
Test if the queue is empty.
void put | ( | const T & | item | ) |
Put a new item at the tail of the queue.
item | Item to enqueue. |