MFEM  v4.1.0
Finite element discretization library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | List of all members
mfem::Stack< Elem, Num > Class Template Reference

#include <mem_alloc.hpp>

Public Member Functions

 Stack ()
 
int Size () const
 
void Push (Elem E)
 
Elem Pop ()
 
void Clear ()
 
void Swap (Stack< Elem, Num > &other)
 
size_t MemoryUsage () const
 
 ~Stack ()
 

Detailed Description

template<class Elem, int Num>
class mfem::Stack< Elem, Num >

Definition at line 30 of file mem_alloc.hpp.

Constructor & Destructor Documentation

template<class Elem, int Num>
mfem::Stack< Elem, Num >::Stack ( )
inline

Definition at line 36 of file mem_alloc.hpp.

template<class Elem, int Num>
mfem::Stack< Elem, Num >::~Stack ( )
inline

Definition at line 43 of file mem_alloc.hpp.

Member Function Documentation

template<class Elem , int Num>
void mfem::Stack< Elem, Num >::Clear ( )

Definition at line 84 of file mem_alloc.hpp.

template<class Elem , int Num>
size_t mfem::Stack< Elem, Num >::MemoryUsage ( ) const

Definition at line 111 of file mem_alloc.hpp.

template<class Elem , int Num>
Elem mfem::Stack< Elem, Num >::Pop ( )

Definition at line 69 of file mem_alloc.hpp.

template<class Elem, int Num>
void mfem::Stack< Elem, Num >::Push ( Elem  E)

Definition at line 47 of file mem_alloc.hpp.

template<class Elem, int Num>
int mfem::Stack< Elem, Num >::Size ( ) const
inline

Definition at line 37 of file mem_alloc.hpp.

template<class Elem, int Num>
void mfem::Stack< Elem, Num >::Swap ( Stack< Elem, Num > &  other)

Definition at line 102 of file mem_alloc.hpp.


The documentation for this class was generated from the following file: