ScummVM API documentation
Common::Stack< T > Class Template Reference

#include <stack.h>

Public Types

typedef Array< T >::size_type size_type
 

Public Member Functions

 Stack (const Array< T > &stackContent)
 
bool empty () const
 
void clear ()
 
void push (const T &x)
 
T & top ()
 
const T & top () const
 
pop ()
 
size_type size () const
 
T & operator[] (size_type i)
 
const T & operator[] (size_type i) const
 

Detailed Description

template<class T>
class Common::Stack< T >

Variable size stack class, implemented using our Array class.


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