PriorityList< ObjectType > Class Template Reference
#include <PriorityList.h>
Inheritance diagram for PriorityList< ObjectType >:
Collaboration diagram for PriorityList< ObjectType >:
Public Types | |
| using | List = OwnedLinkedObjectListTemplate< PriorityNode< ObjectType > > |
Public Types inherited from LinkedObjectListTemplate< PriorityNode< ObjectType > > | |
| using | Iterator = typename LinkedObjectTemplate< PriorityNode< ObjectType > >::template IteratorTemplate< PriorityNode< ObjectType >, PriorityNode< ObjectType > *, PriorityNode< ObjectType > & > |
| using | ConstIterator = typename LinkedObjectTemplate< PriorityNode< ObjectType > >::template IteratorTemplate< const PriorityNode< ObjectType >, const PriorityNode< ObjectType > *, const PriorityNode< ObjectType > & > |
Additional Inherited Members | |
Protected Attributes inherited from LinkedObjectList | |
| LinkedObject * | mHead {nullptr} |
Member Typedef Documentation
◆ List
template<typename ObjectType >
| using PriorityList< ObjectType >::List = OwnedLinkedObjectListTemplate<PriorityNode<ObjectType> > |
Member Function Documentation
◆ add()
template<typename ObjectType >
|
inline |
Adds and element and orders it according to its priority. Order is: High to low.
- Parameters
-
object priority
- Return values
-
bool true on success
The documentation for this class was generated from the following file:
Public Types inherited from
1.8.17