Stack#
#include <TpltStack.h>
How to cite this class in this doc#
:ref:`Stack <class-template-stack>`
[Stack](#class-template-stack)
Detailed description#
List of Public Methods#
Complete Member Function Documentation#
getBase
T * Stack<T>::getBase()
How to cite in this doc:
:ref:`T * Stack<T>::getBase() <public-t-ptr-stack-t-getbase>`
[T * Stack<T>::getBase()](#public-t-ptr-stack-t-getbase)
isEmpty
int Stack<T>::isEmpty() const
How to cite in this doc:
:ref:`int Stack<T>::isEmpty() const <public-int-stack-t-isempty-const>`
[int Stack<T>::isEmpty() const](#public-int-stack-t-isempty-const)
peek
T & Stack<T>::peek()
How to cite in this doc:
:ref:`T & Stack<T>::peek() <public-t-ref-stack-t-peek>`
[T & Stack<T>::peek()](#public-t-ref-stack-t-peek)
pop
T & Stack<T>::pop()
How to cite in this doc:
:ref:`T & Stack<T>::pop() <public-t-ref-stack-t-pop>`
[T & Stack<T>::pop()](#public-t-ref-stack-t-pop)
push
int Stack<T>::push(const T &)
How to cite in this doc:
:ref:`int Stack<T>::push(const T &) <public-int-stack-t-push-const-t-ref>`
[int Stack<T>::push(const T &)](#public-int-stack-t-push-const-t-ref)
Stack
Stack<T>::Stack(const int t=10)
How to cite in this doc:
:ref:`Stack<T>::Stack(const int t=10) <public-stack-t-stack-const-int-t-equal-10>`
[Stack<T>::Stack(const int t=10)](#public-stack-t-stack-const-int-t-equal-10)
~Stack
Stack<T>::~Stack()
How to cite in this doc:
:ref:`Stack<T>::~Stack() <public-stack-t-dtor-stack>`
[Stack<T>::~Stack()](#public-stack-t-dtor-stack)
Attributes Documentation#
base (private)
T* Stack<T>::base
taille (private)
int Stack<T>::taille
top (private)
T* Stack<T>::top