dsalglib  1.0.0
dsalglib is a ready to use data structures and algorithms library written in C++ . Object Oriented Template implementations are written.
Classes | Public Member Functions | List of all members
dsa::stack< type > Class Template Reference

#include <stack.h>

Public Member Functions

 stack ()
 
type push (type param)
 
type pop ()
 
type top_element ()
 
long long int size ()
 
bool isempty ()
 
void clear ()
 

Detailed Description

template<class type>
class dsa::stack< type >

Definition at line 10 of file stack.h.

Constructor & Destructor Documentation

template<class type>
dsa::stack< type >::stack ( )
inline

Definition at line 44 of file stack.h.

Member Function Documentation

template<class type>
void dsa::stack< type >::clear ( )
inline

Definition at line 131 of file stack.h.

template<class type>
bool dsa::stack< type >::isempty ( )
inline

Definition at line 119 of file stack.h.

template<class type>
type dsa::stack< type >::pop ( )
inline

Definition at line 73 of file stack.h.

template<class type>
type dsa::stack< type >::push ( type  param)
inline

Definition at line 54 of file stack.h.

template<class type>
long long int dsa::stack< type >::size ( )
inline

Definition at line 110 of file stack.h.

template<class type>
type dsa::stack< type >::top_element ( )
inline

Definition at line 97 of file stack.h.


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