| # Gaudi Framework, version v25r0 |

Home |  | Generated: Mon Feb 17 2014

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

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
KeyedContainer< DATATYPE, MAPPING >::_RemoveRelease Struct Reference

Internal functor for insertion of objects. More...

Collaboration diagram for KeyedContainer< DATATYPE, MAPPING >::_RemoveRelease:
[legend]

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

## Public Attributes
ObjectContainerBase * | m_obj

## 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.

## 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.

: 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.

{
const ObjectContainerBase* par = p->parent();
if ( par == m_obj ) {
p->setParent(0);
}
traits::release(p);
}

## 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:

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