AQueue#
A std::queue with AUI extensions.
Header: | #include <AUI/Common/AQueue.h> |
CMake: | aui_link(my_target PUBLIC aui::core) |
Public Methods#
contains#
- Returns
- true if container contains an element, false otherwise.
isSubsetOf#
- Returns
- true if
c
container is a subset of this container, false otherwise.
popOrGenerate#
Pops the element and returns it. If queue is empty, the result of factory()
returned.
The result of factory()
is never added to the queue.
- Returns
- result of
front()
if not empty; result offactory()
otherwise
removeAll#
- Arguments
item
element to remove.
Removes all occurrences of item
.
removeFirst#
- Arguments
item
element to remove.
Removes first occurrence of item
.