#include <NCollection_Stack.hxx>
Inheritance diagram for NCollection_Stack< TheItemType >:

Public Types | |
| typedef NCollection_TListNode< TheItemType > | StackNode |
| typedef NCollection_TListIterator< TheItemType > | Iterator |
Public Member Functions | |
| NCollection_Stack (const Handle(NCollection_BaseAllocator)&theAllocator=0L) | |
| Constructor. | |
| NCollection_Stack (const NCollection_Stack &theOther) | |
| Copy constructor. | |
| virtual Standard_Integer | Size (void) const |
| Size - Number of items. | |
| Standard_Integer | Depth (void) const |
| Depth - Number of items. | |
| virtual void | Assign (const NCollection_BaseCollection< TheItemType > &theOther) |
| Replace this list by the items of theOther collection. | |
| NCollection_Stack & | operator= (const NCollection_Stack &theOther) |
| Replace this list by the items of theOther Stack. | |
| void | Clear (void) |
| Clear this stack. | |
| const TheItemType & | Top (void) const |
| Top item - constant. | |
| TheItemType & | ChangeTop (void) |
| Top item - variable. | |
| void | Push (const TheItemType &theItem) |
| Push one item. | |
| void | Pop (void) |
| Pop top item. | |
| ~NCollection_Stack (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 >. |
|
||||||||||
|
|
1.4.1