Gaudi Framework, version v21r4

Home   Generated: 7 Sep 2009

KeyedContainer< DATATYPE, MAPPING >::_RemoveRelease Struct Reference

Collaboration diagram for KeyedContainer< DATATYPE, MAPPING >::_RemoveRelease:

Collaboration graph
[legend]

List of all members.


Detailed Description

template<class DATATYPE, class MAPPING = Containers::HashMap>
struct KeyedContainer< DATATYPE, MAPPING >::_RemoveRelease

Internal functor for insertion of objects.

Definition at line 162 of file KeyedContainer.h.


Public Member Functions

 _RemoveRelease (ObjectContainerBase *p)
void operator() (value_type p)

Public Attributes

ObjectContainerBasem_obj

Constructor & Destructor Documentation

template<class DATATYPE, class MAPPING = Containers::HashMap>
KeyedContainer< DATATYPE, MAPPING >::_RemoveRelease::_RemoveRelease ( ObjectContainerBase p  )  [inline]

Definition at line 164 of file KeyedContainer.h.

00164 : m_obj(p) {}


Member Function Documentation

template<class DATATYPE, class MAPPING = Containers::HashMap>
void KeyedContainer< DATATYPE, MAPPING >::_RemoveRelease::operator() ( value_type  p  )  [inline]

Definition at line 165 of file KeyedContainer.h.

00165                                   {
00166       const ObjectContainerBase* par = p->parent();
00167       if ( par == m_obj )  {
00168         p->setParent(0);
00169       }
00170       traits::release(p);
00171     }


Member Data Documentation

template<class DATATYPE, class MAPPING = Containers::HashMap>
ObjectContainerBase* KeyedContainer< DATATYPE, MAPPING >::_RemoveRelease::m_obj

Definition at line 163 of file KeyedContainer.h.


The documentation for this struct was generated from the following file:

Generated at Mon Sep 7 18:20:43 2009 for Gaudi Framework, version v21r4 by Doxygen version 1.5.6 written by Dimitri van Heesch, © 1997-2004