#include <NCollection_Queue.hxx>
Inheritance diagram for NCollection_Queue< TheItemType >:
Public Types | |
typedef NCollection_TListNode< TheItemType > | QueueNode |
typedef NCollection_TListIterator< TheItemType > | Iterator |
Public Member Functions | |
NCollection_Queue (const Handle(NCollection_BaseAllocator)&theAllocator=0L) | |
Constructor. | |
NCollection_Queue (const NCollection_Queue &theOther) | |
Copy constructor. | |
virtual Standard_Integer | Size (void) const |
Size - Number of items. | |
Standard_Integer | Length (void) const |
Length - number of items. | |
virtual void | Assign (const NCollection_BaseCollection< TheItemType > &theOther) |
Replace this list by the items of theOther collection. | |
NCollection_Queue & | operator= (const NCollection_Queue &theOther) |
Replace this list by the items of theOther queue. | |
void | Clear (void) |
Clear this queue. | |
const TheItemType & | Front (void) const |
Frontal item - constant. | |
TheItemType & | ChangeFront (void) |
Frontal item - variable. | |
void | Push (const TheItemType &theItem) |
Push one item. | |
void | Pop (void) |
Pop first item. | |
~NCollection_Queue (void) | |
Destructor - clears the List. | |
Private Member Functions | |
virtual TYPENAME NCollection_BaseCollection< TheItemType >::Iterator & | CreateIterator (void) const |
Creates Iterator for use on BaseCollection. |
|
Reimplemented from NCollection_BaseList. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Implements NCollection_BaseCollection< TheItemType >. |
|
|
|
|
|
|
|
|
|
|
|
Implements NCollection_BaseCollection< TheItemType >. |