#include <ManagedMap.hpp>
List of all members.
Public Member Functions |
| | TManagedMap () |
| virtual void MQUALIFIER | setItem (const TKeyType &rKey, const TAutoPtr< T > &rData) |
| virtual void | setItem (const TKeyType &rKey, const T *pData, bool bAddReference) |
| virtual void | setItem (const TKeyType &rKey, const T &rData, bool bAddReference) |
Detailed Description
template<class TKeyType, class T>
class zeus::TManagedMap< TKeyType, T >
This map takes objects (interfaces) and manages fully their references
Constructor & Destructor Documentation
template<class TKeyType , class T >
The standard constructor uses an empty smart pointer.
Member Function Documentation
template<class TKeyType , class T >
| virtual void MQUALIFIER zeus::TManagedMap< TKeyType, T >::setItem |
( |
const TKeyType & |
rKey, |
|
|
const TAutoPtr< T > & |
rData |
|
) |
| [inline, virtual] |
template<class TKeyType , class T >
| virtual void zeus::TManagedMap< TKeyType, T >::setItem |
( |
const TKeyType & |
rKey, |
|
|
const T & |
rData, |
|
|
bool |
bAddReference |
|
) |
| [inline, virtual] |
adds a new object to the map
- Parameters:
-
| rKey | : key of the data |
| rData | : data to add |
| bAddReference | : If this flag is true the pointer will be allocated with addRef() |
- See also:
- IMap::setItem
template<class TKeyType , class T >
| virtual void zeus::TManagedMap< TKeyType, T >::setItem |
( |
const TKeyType & |
rKey, |
|
|
const T * |
pData, |
|
|
bool |
bAddReference |
|
) |
| [inline, virtual] |
adds a new object to the map
- Parameters:
-
| rKey | : key of the data |
| pData | : data to add |
| bAddReference | : If this flag is true the pointer will be allocated with addRef() |
- See also:
- IMap::setItem
The documentation for this class was generated from the following file: