zeus::TManagedSet< T > Class Template Reference

#include <ManagedSet.hpp>

Inheritance diagram for zeus::TManagedSet< T >:

zeus::TSet< T > zeus::ISet< T > zeus::IValueType

List of all members.

Public Member Functions

 TManagedSet ()
virtual bool MQUALIFIER addItem (const TAutoPtr< T > &rItem)
virtual bool addItem (const T *pData, bool bAddReference)
virtual bool addItem (const T &rData, bool bAddReference)


Detailed Description

template<class T>
class zeus::TManagedSet< T >

This set takes objects (interfaces) and manages fully their references

Constructor & Destructor Documentation

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

The standard constructor uses an empty smart pointer.


Member Function Documentation

template<class T>
virtual bool MQUALIFIER zeus::TManagedSet< T >::addItem ( const TAutoPtr< T > &  rItem  )  [inline, virtual]

See also:
ISet::addItem

template<class T>
virtual bool zeus::TManagedSet< T >::addItem ( const T *  pData,
bool  bAddReference 
) [inline, virtual]

adds a new object to the map

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

template<class T>
virtual bool zeus::TManagedSet< T >::addItem ( const T &  rData,
bool  bAddReference 
) [inline, virtual]

adds a new object to the map

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


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