AUI Framework  develop
Cross-platform base for C++ UI apps
Loading...
Searching...
No Matches
AQueue< StoredType > Class Template Reference

A std::queue with AUI extensions.

#include <AUI/Common/AQueue.h>

Member Function Documentation

> All members, including inherited

◆ contains()

template<class StoredType>
bool AQueue< StoredType >::contains ( const StoredType & value) const
inlinenoexcept
Returns
true if container contains an element, false otherwise.

◆ isSubsetOf()

template<class StoredType>
template<typename OtherContainer>
bool AQueue< StoredType >::isSubsetOf ( const OtherContainer & c) const
inlinenoexcept
Returns
true if c container is a subset of this container, false otherwise.

◆ popOrGenerate()

template<class StoredType>
template<typename Factory>
StoredType AQueue< StoredType >::popOrGenerate ( Factory factory)
inlinenodiscardnoexcept
Returns
result of front() if not empty; result of factory() otherwise

◆ removeAll()

template<class StoredType>
void AQueue< StoredType >::removeAll ( const StoredType & item)
inlinenoexcept

Removes all occurrences of item.

Parameters
itemelement to remove.

◆ removeFirst()

template<class StoredType>
void AQueue< StoredType >::removeFirst ( const StoredType & item)
inlinenoexcept

Removes first occurrence of item.

Parameters
itemelement to remove.