#include <Stack.hpp>

Public Types | |
| typedef Array< T >::size_type | size_type |
| typedef Array< T >::reference | reference |
| typedef Array< T >::const_reference | const_reference |
Public Member Functions | |
| Stack () | |
| bool | empty () const |
| reference | top () |
| const_reference | top () const |
| void | pop () |
| void | push (const T &x) |
| int | search (const T &x) const |
| size_type | size () const |
Definition at line 49 of file Stack.hpp.
| typedef Array<T>::size_type BLOCXX_NAMESPACE::Stack< T >::size_type |
| typedef Array<T>::reference BLOCXX_NAMESPACE::Stack< T >::reference |
| typedef Array<T>::const_reference BLOCXX_NAMESPACE::Stack< T >::const_reference |
| BLOCXX_NAMESPACE::Stack< T >::Stack | ( | ) | [inline] |
| bool BLOCXX_NAMESPACE::Stack< T >::empty | ( | ) | const [inline] |
Reimplemented from BLOCXX_NAMESPACE::Array< T >.
Definition at line 56 of file Stack.hpp.
References BLOCXX_NAMESPACE::Stack< T >::size().
| reference BLOCXX_NAMESPACE::Stack< T >::top | ( | ) | [inline] |
| const_reference BLOCXX_NAMESPACE::Stack< T >::top | ( | ) | const [inline] |
| void BLOCXX_NAMESPACE::Stack< T >::pop | ( | ) | [inline] |
| void BLOCXX_NAMESPACE::Stack< T >::push | ( | const T & | x | ) | [inline] |
| int BLOCXX_NAMESPACE::Stack< T >::search | ( | const T & | x | ) | const [inline] |
Definition at line 61 of file Stack.hpp.
References BLOCXX_NAMESPACE::Array< T >::find(), i, and BLOCXX_NAMESPACE::Stack< T >::size().
| size_type BLOCXX_NAMESPACE::Stack< T >::size | ( | ) | const [inline] |
Reimplemented from BLOCXX_NAMESPACE::Array< T >.
Definition at line 66 of file Stack.hpp.
Referenced by BLOCXX_NAMESPACE::Stack< T >::empty(), and BLOCXX_NAMESPACE::Stack< T >::search().
1.5.6