![]() |
CoMMA 1.3.2
A geometric agglomerator for unstructured meshes
|
A template class implementing a custom queue data structure. More...
#include <Queue.h>
Public Member Functions | |
| Queue ()=default | |
| Constructor. More... | |
| ~Queue ()=default | |
| Destructor. More... | |
| void | push (T const &elem) |
| Push an element on the top of the queue. More... | |
| T | pop () |
| pop an element from the bottom of the queue More... | |
| T | top () const |
| Scope to the element on the bottom of the queue. More... | |
| bool | empty () const |
| Whether the queue is empty. More... | |
A template class implementing a custom queue data structure.
| T | Type of the elements |
|
default |
Constructor.
|
default |
Destructor.
|
inline |
Whether the queue is empty.
|
inline |
pop an element from the bottom of the queue
|
inline |
Push an element on the top of the queue.
| elem | The element to add |
|
inline |
Scope to the element on the bottom of the queue.