2005/5/9

     
 

class Stack

artefaktur
Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::lisp::Stack< T > Class Template Reference

#include <LispCode.h>

Inheritance diagram for acdk::lisp::Stack< T >:

acdk::lang::Object acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

template<class T>
class acdk::lisp::Stack< T >


Public Member Functions

 Stack ()
void push (IN(T) t)
pop ()
top ()
getFromTop (int idx)
getFromBottom (int idx)
bool empty ()
int size ()
acdk::util::RIterator iterator ()

Private Attributes

RObjectArrayImpl< T > _list
int _top

Constructor & Destructor Documentation

template<class T>
acdk::lisp::Stack< T >::Stack  )  [inline]
 


Member Function Documentation

template<class T>
bool acdk::lisp::Stack< T >::empty  )  [inline]
 

template<class T>
T acdk::lisp::Stack< T >::getFromBottom int  idx  )  [inline]
 

template<class T>
T acdk::lisp::Stack< T >::getFromTop int  idx  )  [inline]
 

template<class T>
acdk::util::RIterator acdk::lisp::Stack< T >::iterator  )  [inline]
 

template<class T>
T acdk::lisp::Stack< T >::pop  )  [inline]
 

template<class T>
void acdk::lisp::Stack< T >::push IN(T)  t  )  [inline]
 

template<class T>
int acdk::lisp::Stack< T >::size  )  [inline]
 

template<class T>
T acdk::lisp::Stack< T >::top  )  [inline]
 


Member Data Documentation

template<class T>
RObjectArrayImpl<T> acdk::lisp::Stack< T >::_list [private]
 

template<class T>
int acdk::lisp::Stack< T >::_top [private]