Public Member Functions

zeus::TManagedStack< T > Class Template Reference

#include <ManagedStack.hpp>

Inheritance diagram for zeus::TManagedStack< T >:
zeus::TStack< TAutoPtr< T > > zeus::IStack< TAutoPtr< 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

Reimplemented from zeus::TStack< TAutoPtr< T > >.

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

Pushes an object to the stack

Parameters:
rData: data to push
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 *  pData,
bool  bAddReference 
) [inline, virtual]

Pushes an object to the stack

Parameters:
pData: data to push
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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


Written by Benjamin Hadorn http://www.xatlantis.ch.
Last change made on Sun Jan 22 2012 15:28:39