#include <ManagedStack.hpp>
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
The standard constructor uses an empty smart pointer.
Member Function Documentation
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: