Public Member Functions

zeus::TManagedSet< T > Class Template Reference

#include <ManagedSet.hpp>

Inheritance diagram for zeus::TManagedSet< T >:
zeus::TSet< TAutoPtr< T > > zeus::ISet< TAutoPtr< 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

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

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

adds a new object to the map

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

adds a new object to the map

Parameters:
pData: data to add
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:
 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