| # Gaudi Framework, version v20r2
Generated: 18 Jul 2008

- Main Page
- Namespaces
- Classes
- Files
- Directories
- Related Pages

- Search for |

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# KeyedContainer< DATATYPE, MAPPING >::_RemoveRelease Struct Reference

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

[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 163 of file KeyedContainer.h.

## Public Member Functions
| _RemoveRelease (ObjectContainerBase *p)
void | operator() (value_type p)
## Public Attributes
ObjectContainerBase * | m_obj

## Constructor & Destructor Documentation

template<class DATATYPE, class MAPPING = Containers::HashMap>

KeyedContainer< DATATYPE, MAPPING >::_RemoveRelease::_RemoveRelease | ( | ObjectContainerBase * | p | ) | `[inline]`

Definition at line 165 of file KeyedContainer.h.

    00165 : 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 166 of file KeyedContainer.h.

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

## Member Data Documentation

template<class DATATYPE, class MAPPING = Containers::HashMap>

ObjectContainerBase* KeyedContainer< DATATYPE, MAPPING >::_RemoveRelease::m_obj

Definition at line 164 of file KeyedContainer.h.

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

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v20r2/GaudiKernel/v25r2/GaudiKernel/KeyedContainer.h