PriorityList.h
Go to the documentation of this file.
15 template <typename ObjectType> class PriorityNode : public LinkedObjectTemplate<PriorityNode<ObjectType>>
26 template <typename ObjectType> class PriorityList : public OwnedLinkedObjectListTemplate<PriorityNode<ObjectType>>
Base class template for linked items with type casting.
Definition: LinkedObject.h:62
Class template for singly-linked list of objects.
Definition: LinkedObjectList.h:175
Definition: PriorityList.h:27
bool add(ObjectType object, int priority)
Adds and element and orders it according to its priority. Order is: High to low.
Definition: PriorityList.h:38
Definition: PriorityList.h:16
ObjectType
Definition: Libraries/jerryscript/src/include/Jerryscript/Types.h:34