zeus::TManagedStack< T > Class Template Reference

#include <ManagedStack.hpp>

Inheritance diagram for zeus::TManagedStack< T >:

zeus::TStack< T > zeus::IStack< T > zeus::IValueType

List of all members.

Public Member Functions

 TManagedStack ()
virtual void MQUALIFIER push (const TAutoPtr< T > &rData)
virtual void MQUALIFIER push (const T *pData, bool bAddReference)
virtual void MQUALIFIER push (const T &rData, bool bAddReference)


Detailed Description

template<class T>
class zeus::TManagedStack< T >

This stack can take objects (interfaces) using a smart pointer.

Constructor & Destructor Documentation

template<class T>
zeus::TManagedStack< T >::TManagedStack (  )  [inline]

The standard constructor uses an empty smart pointer.


Member Function Documentation

template<class T>
virtual void MQUALIFIER zeus::TManagedStack< T >::push ( const TAutoPtr< T > &  rData  )  [inline, virtual]

See also:
IStack::push

template<class T>
virtual void MQUALIFIER zeus::TManagedStack< T >::push ( const T *  pData,
bool  bAddReference 
) [inline, virtual]

Pushes an object to the stack

Parameters:
bAddReference : If this flag is true the pointer will be allocated with addRef()
See also:
IStack::push

template<class T>
virtual void MQUALIFIER zeus::TManagedStack< T >::push ( const T &  rData,
bool  bAddReference 
) [inline, virtual]

Pushes an object to the stack

Parameters:
bAddReference : If this flag is true the pointer will be allocated with addRef()
See also:
IStack::push


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


Written by Benjamin Hadorn http://www.xatlantis.ch.
Last change made on Wed Oct 28 21:42:35 2009