![]() |
User Manual, Developers Guide and API Documentation |
![]() |
#include <container/FastListNode.hpp>


Public Member Functions | |
| void | addToList (FastListNode &begin) |
| Add this FastListNode to a FastList. | |
| FastListNode (const T &x) | |
| Constructor - Takes an object that should be stored in a FastList. | |
| T & | getData () |
| Returns the data that this FastListNode represents in the FastList. | |
| FastListNode * | getNext () const |
| Returns the next node of the list. | |
| FastListNode * | getPrevious () const |
| Returns the previous node of the list. | |
| void | removeFromList () |
| Remove this FastListNode from its FastList. | |
| ~FastListNode () | |
| Destructor. | |
Protected Member Functions | |
| FastListNode () | |
| this constructor will only be called for the list sentinel. | |
Private Attributes | |
| T | data |
| Data that this FastListNode represents in the FastList. | |
| FastListNode * | nextNode |
| The node after this node in the list. | |
| FastListNode * | previousNode |
| The node before this node in the list. | |
Friends | |
| class | FastList< T > |
| FastList needs to modify FastListNode. | |
Definition at line 40 of file FastListNode.hpp.
| wns::container::FastListNode< T >::FastListNode | ( | const T & | x | ) | [inline, explicit] |
Definition at line 51 of file FastListNode.hpp.
| wns::container::FastListNode< T >::~FastListNode | ( | ) | [inline] |
Definition at line 60 of file FastListNode.hpp.
| wns::container::FastListNode< T >::FastListNode | ( | ) | [inline, protected] |
data(T()) will not be initialized, because we don't know, if T has a default constructor and data will never be used anyway.
Definition at line 117 of file FastListNode.hpp.
| void wns::container::FastListNode< T >::addToList | ( | FastListNode< T > & | begin | ) | [inline] |
Definition at line 76 of file FastListNode.hpp.
| T& wns::container::FastListNode< T >::getData | ( | ) | [inline] |
Definition at line 105 of file FastListNode.hpp.
| FastListNode* wns::container::FastListNode< T >::getNext | ( | ) | const [inline] |
Definition at line 88 of file FastListNode.hpp.
| FastListNode* wns::container::FastListNode< T >::getPrevious | ( | ) | const [inline] |
Definition at line 96 of file FastListNode.hpp.
| void wns::container::FastListNode< T >::removeFromList | ( | ) | [inline] |
Definition at line 65 of file FastListNode.hpp.
friend class FastList< T > [friend] |
Definition at line 44 of file FastListNode.hpp.
T wns::container::FastListNode< T >::data [private] |
Definition at line 126 of file FastListNode.hpp.
FastListNode* wns::container::FastListNode< T >::nextNode [private] |
Definition at line 136 of file FastListNode.hpp.
FastListNode* wns::container::FastListNode< T >::previousNode [private] |
Definition at line 131 of file FastListNode.hpp.
1.5.5