TRUST 1.9.8
HPC thermohydraulic platform
Loading...
Searching...
No Matches
Stack< T > Class Template Reference

#include <TpltStack.h>

Public Member Functions

 Stack (const int t=10)
 ~Stack ()
int push (const T &)
T & pop ()
T & peek ()
int isEmpty () const
T * getBase ()

Detailed Description

template<class T>
class Stack< T >

Definition at line 19 of file TpltStack.h.

Constructor & Destructor Documentation

◆ Stack()

template<class T>
Stack< T >::Stack ( const int t = 10)
inline

Definition at line 19 of file TpltStack.cpp.

◆ ~Stack()

template<class T>
Stack< T >::~Stack ( )
inline

Definition at line 27 of file TpltStack.cpp.

Member Function Documentation

◆ getBase()

template<class T>
T * Stack< T >::getBase ( )
inline

Definition at line 31 of file TpltStack.h.

◆ isEmpty()

template<class T>
int Stack< T >::isEmpty ( ) const

Definition at line 66 of file TpltStack.cpp.

◆ peek()

template<class T>
T & Stack< T >::peek ( )

Definition at line 40 of file TpltStack.cpp.

◆ pop()

template<class T>
T & Stack< T >::pop ( )

Definition at line 33 of file TpltStack.cpp.

◆ push()

template<class T>
int Stack< T >::push ( const T & valeur)

Definition at line 47 of file TpltStack.cpp.


The documentation for this class was generated from the following files:
  • /home/docs/checkouts/readthedocs.org/user_builds/cea-trust-platform/checkouts/v1.9.8/src/Kernel/Math/TpltStack.h
  • /home/docs/checkouts/readthedocs.org/user_builds/cea-trust-platform/checkouts/v1.9.8/src/Kernel/Math/TpltStack.cpp