![]() |
Shadowrun: Awakened 29 September 2011 - Build 871
|
A queue implemented using a linked list. Rarely used.
#include <DS_QueueLinkedList.h>
Public Member Functions | |
| void | Clear (void) |
| void | Compress (void) |
| QueueType & | EndPeek (void) |
| bool | operator= (const QueueLinkedList &original_copy) |
| QueueType & | Peek (void) |
| QueueType | Pop (void) |
| void | Push (const QueueType &input) |
| QueueLinkedList (const QueueLinkedList &original_copy) | |
| QueueLinkedList () | |
| unsigned int | Size (void) |
Private Attributes | |
| LinkedList< QueueType > | data |
Definition at line 23 of file DS_QueueLinkedList.h.
| DataStructures::QueueLinkedList< QueueType >::QueueLinkedList | ( | ) |
Definition at line 43 of file DS_QueueLinkedList.h.
{
}
| DataStructures::QueueLinkedList< QueueType >::QueueLinkedList | ( | const QueueLinkedList< QueueType > & | original_copy | ) |
Definition at line 82 of file DS_QueueLinkedList.h.
References DataStructures::QueueLinkedList< QueueType >::data.
{
data = original_copy.data;
}
| void DataStructures::QueueLinkedList< QueueType >::Clear | ( | void | ) |
Definition at line 97 of file DS_QueueLinkedList.h.
References _FILE_AND_LINE_.
{
data.Clear(_FILE_AND_LINE_);
}
| void DataStructures::QueueLinkedList< QueueType >::Compress | ( | void | ) |
| QueueType & DataStructures::QueueLinkedList< QueueType >::EndPeek | ( | void | ) | [inline] |
Definition at line 68 of file DS_QueueLinkedList.h.
| bool DataStructures::QueueLinkedList< QueueType >::operator= | ( | const QueueLinkedList< QueueType > & | original_copy | ) |
Definition at line 88 of file DS_QueueLinkedList.h.
References DataStructures::QueueLinkedList< QueueType >::data.
{
if ( ( &original_copy ) == this )
return false;
data = original_copy.data;
}
| QueueType & DataStructures::QueueLinkedList< QueueType >::Peek | ( | void | ) | [inline] |
Definition at line 61 of file DS_QueueLinkedList.h.
| QueueType DataStructures::QueueLinkedList< QueueType >::Pop | ( | void | ) | [inline] |
Definition at line 54 of file DS_QueueLinkedList.h.
Referenced by DataStructures::BinarySearchTree< BinarySearchTreeType >::BinarySearchTree(), DataStructures::BinarySearchTree< BinarySearchTreeType >::DisplayBreadthFirstSearch(), and DataStructures::BinarySearchTree< BinarySearchTreeType >::operator=().
| void DataStructures::QueueLinkedList< QueueType >::Push | ( | const QueueType & | input | ) |
Definition at line 75 of file DS_QueueLinkedList.h.
Referenced by DataStructures::BinarySearchTree< BinarySearchTreeType >::BinarySearchTree(), DataStructures::BinarySearchTree< BinarySearchTreeType >::DisplayBreadthFirstSearch(), and DataStructures::BinarySearchTree< BinarySearchTreeType >::operator=().
| unsigned int DataStructures::QueueLinkedList< QueueType >::Size | ( | void | ) | [inline] |
Definition at line 48 of file DS_QueueLinkedList.h.
Referenced by DataStructures::BinarySearchTree< BinarySearchTreeType >::BinarySearchTree(), DataStructures::BinarySearchTree< BinarySearchTreeType >::DisplayBreadthFirstSearch(), and DataStructures::BinarySearchTree< BinarySearchTreeType >::operator=().
{
return data.Size();
}
LinkedList<QueueType> DataStructures::QueueLinkedList< QueueType >::data [private] |
Definition at line 39 of file DS_QueueLinkedList.h.
Referenced by DataStructures::QueueLinkedList< QueueType >::operator=(), and DataStructures::QueueLinkedList< QueueType >::QueueLinkedList().
Copyright © 2007-2010 by The Shadowrun: Awakened Team. This work is licensed under the GNU Lesser General Public License 3.