|
|
|
LIFOStack Class Template ReferenceInheritance diagram for LIFOStack:![]() ![]() Detailed Descriptiontemplate<class T>
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Public Member Functions | |
| LIFOStack () | |
| Construct null. | |
| LIFOStack (T a) | |
| Construct given initial T. | |
| LIFOStack (Istream &is) | |
| Construct from Istream. | |
| T | top () const |
| Return a copy of the top element. | |
| bool | empty () const |
| Is the stack empty. | |
| void | push (const T &a) |
| Push an element onto the stack. | |
| T | pop () |
| Pop the top element. | |
| LIFOStack | ( | ) | [inline] |
| LIFOStack | ( | T | a | ) | [inline] |
Construct from Istream.
Definition at line 79 of file LIFOStack.H.
References LList::first().
Here is the call graph for this function:

| T top | ( | ) | const [inline] |
Return a copy of the top element.
Definition at line 90 of file LIFOStack.H.
References Foam::size().
Here is the call graph for this function:

| bool empty | ( | ) | const [inline] |
Is the stack empty.
Definition at line 99 of file LIFOStack.H.
References LList::insert().
Here is the call graph for this function:

| void push | ( | const T & | a | ) | [inline] |
Push an element onto the stack.
Definition at line 108 of file LIFOStack.H.
References LList::removeHead().
Here is the call graph for this function:

| T pop | ( | ) | [inline] |