|
JX Application Framework
|
#include <JLinkedList.h>
Public Member Functions | |
| JLinkedList () | |
| JLinkedList (const JLinkedList< T > &source) | |
| ~JLinkedList () override | |
| JLinkedList< T > & | operator= (const JLinkedList< T > &source) |
| T | GetFirstItem () const override |
| T | GetLastItem () const override |
| void | PrependItem (const T &data) override |
| void | AppendItem (const T &data) override |
| void | RemoveAll () override |
| JListIterator< T > * | NewIterator (const JListT::Position start=JListT::kStartAtBeginning, const JIndex index=0) override |
| JListIterator< T > * | NewIterator (const JListT::Position start=JListT::kStartAtBeginning, const JIndex index=0) const override |
Public Member Functions inherited from JList< T > | |
| JList () | |
| JList (const JList< T > &source) | |
| ~JList () override | |
| void | SetCompareFunction (const std::function< std::weak_ordering(const T &, const T &)> compareFn) |
| void | CopyCompareFunction (const JList< T > &source) |
| void | ClearCompareFunction () |
| JListT::SortOrder | GetSortOrder () const |
| void | SetSortOrder (const JListT::SortOrder order) |
| bool | IsSorted () const |
Public Member Functions inherited from JCollection | |
| JCollection () | |
| JCollection (const JCollection &source) | |
| ~JCollection () override | |
| JCollection & | operator= (const JCollection &source) |
| JSize | GetItemCount () const |
| bool | IsEmpty () const |
| bool | IndexValid (const JIndex index) const |
| JIndex | GetIndexFromEnd (const JIndex index) const |
| JString | ToString () const override |
Public Member Functions inherited from JBroadcaster | |
| JBroadcaster () | |
| virtual | ~JBroadcaster () |
| JBroadcaster & | operator= (const JBroadcaster &source) |
| bool | HasSenders () const |
| JSize | GetSenderCount () const |
| bool | HasRecipients () const |
| JSize | GetRecipientCount () const |
| template<class T > | |
| void | ListenTo (const JBroadcaster *sender, const std::function< void(const T &)> &f) |
Friends | |
| class | JLinkedListIterator< T > |
Additional Inherited Members | |
Protected Member Functions inherited from JList< T > | |
| std::function< std::weak_ordering(const T &, const T &)> * | GetCompareFunction () const |
| void | ListAssigned (const JList< T > &source) |
| void | NotifyIterators (const JBroadcaster::Message &message) |
Protected Member Functions inherited from JCollection | |
| void | ItemAdded () |
| void | ItemRemoved () |
| void | SetItemCount (const JSize newItemCount) |
Protected Member Functions inherited from JBroadcaster | |
| JBroadcaster (const JBroadcaster &source) | |
| void | ListenTo (const JBroadcaster *sender) |
| void | StopListening (const JBroadcaster *sender) |
| void | ClearWhenGoingAway (const JBroadcaster *sender, void *pointerToMember) |
| void | StopListening (const JBroadcaster *sender, const std::type_info &messageType) |
| template<class T > | |
| void | Send (JBroadcaster *recipient, const T &message) |
| template<class T > | |
| void | Broadcast (const T &message) |
| virtual void | Receive (JBroadcaster *sender, const Message &message) |
| void | SendWithFeedback (JBroadcaster *recipient, Message *message) |
| void | BroadcastWithFeedback (Message *message) |
| virtual void | ReceiveWithFeedback (JBroadcaster *sender, Message *message) |
| virtual void | ReceiveGoingAway (JBroadcaster *sender) |
| JLinkedList< T >::JLinkedList | ( | ) |
The JLinkedList Template Class
Template for a dynamically sized linked list.
Since the actual data is stored, this is only good for structs. To store objects, use the JPtrArray template class.
| JLinkedList< T >::JLinkedList | ( | const JLinkedList< T > & | source | ) |
|
override |
|
overridevirtual |
Implements JList< T >.
|
overridevirtual |
Implements JList< T >.
|
overridevirtual |
Implements JList< T >.
|
overridevirtual |
Implements JList< T >.
|
overridevirtual |
Implements JList< T >.
| JLinkedList< T > & JLinkedList< T >::operator= | ( | const JLinkedList< T > & | source | ) |
|
overridevirtual |
Implements JList< T >.
|
overridevirtual |
Implements JList< T >.
|
friend |