Dillo
Public Member Functions | List of all members
lout::container::typed::Stack< T > Class Template Reference

Typed version of container::untyped::Stack. More...

#include <container.hh>

Public Member Functions

 Stack (bool ownerOfObjects)
 
void push (T *object)
 
void pushUnder (T *object)
 
T * getTop () const
 
void pop ()
 
- Public Member Functions inherited from lout::container::typed::Collection< T >
 Collection ()
 
 ~Collection ()
 
bool equals (Object *other)
 Returns, whether two objects are equal. More...
 
int hashValue ()
 Return a hash value for the object. More...
 
void intoStringBuffer (misc::StringBuffer *sb)
 Store a textual representation of the object in a misc::StringBuffer. More...
 
Iterator< T > iterator ()
 
int size ()
 
- Public Member Functions inherited from lout::object::Object
virtual ~Object ()
 The destructor is defined as virtual (but not abstract), so that destruction of Object's works properly. More...
 
virtual Objectclone ()
 Return an exact copy of the object. More...
 
const char * toString ()
 Use object::Object::intoStringBuffer to return a textual representation of the object. More...
 
virtual size_t sizeOf ()
 Return the number of bytes, this object totally uses. More...
 

Additional Inherited Members

- Protected Attributes inherited from lout::container::typed::Collection< T >
untyped::Collectionbase
 

Detailed Description

template<class T>
class lout::container::typed::Stack< T >

Typed version of container::untyped::Stack.

Constructor & Destructor Documentation

template<class T>
lout::container::typed::Stack< T >::Stack ( bool  ownerOfObjects)
inline

Member Function Documentation

template<class T>
T* lout::container::typed::Stack< T >::getTop ( ) const
inline
template<class T>
void lout::container::typed::Stack< T >::pop ( )
inline
template<class T>
void lout::container::typed::Stack< T >::push ( T *  object)
inline
template<class T>
void lout::container::typed::Stack< T >::pushUnder ( T *  object)
inline

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