PriorityNode< ObjectType > Class Template Reference
#include <PriorityList.h>
Inheritance diagram for PriorityNode< ObjectType >:
Collaboration diagram for PriorityNode< ObjectType >:
Public Member Functions | |
PriorityNode (ObjectType data, int priority) | |
![]() | |
PriorityNode< ObjectType > * | getNext () const |
bool | insertAfter (PriorityNode< ObjectType > *object) |
Iterator | begin () const |
Iterator | end () const |
Iterator | cbegin () const |
Iterator | cend () const |
![]() | |
virtual | ~LinkedObject () |
virtual LinkedObject * | next () const |
bool | insertAfter (LinkedObject *object) |
bool | operator== (const LinkedObject &other) const |
bool | operator!= (const LinkedObject &other) const |
Public Attributes | |
ObjectType | data |
int | priority |
Additional Inherited Members | |
![]() | |
using | Iterator = IteratorTemplate< PriorityNode< ObjectType >, PriorityNode< ObjectType > *, PriorityNode< ObjectType > & > |
using | ConstIterator = IteratorTemplate< const PriorityNode< ObjectType >, const PriorityNode< ObjectType > *, const PriorityNode< ObjectType > & > |
Constructor & Destructor Documentation
◆ PriorityNode()
template<typename ObjectType >
|
inline |
Member Data Documentation
◆ data
template<typename ObjectType >
ObjectType PriorityNode< ObjectType >::data |
◆ priority
template<typename ObjectType >
int PriorityNode< ObjectType >::priority |
The documentation for this class was generated from the following file: