| The Gaudi Framework v32r1 (f65d50dc)

Public Member Functions | Public Attributes | List of all members
KeyedContainer< DATATYPE, MAPPING >::_InsertRelease Struct Reference

Internal functor for insertion of objects. More...

## Public Member Functions
| _InsertRelease (KeyedContainer< DATATYPE, MAPPING > *p)
void | operator() (value_type p)

## Public Attributes
KeyedContainer< DATATYPE, MAPPING > * | m_obj

## Detailed Description

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

Internal functor for insertion of objects.

Definition at line 145 of file KeyedContainer.h.

## Constructor & Destructor Documentation

## ◆ _InsertRelease()

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

KeyedContainer< DATATYPE, MAPPING >::_InsertRelease::_InsertRelease | ( | KeyedContainer< DATATYPE, MAPPING > * | p | ) |
| inline

Definition at line 147 of file KeyedContainer.h.

147 : m_obj( p ) {}
KeyedContainer::_InsertRelease::m_obj
KeyedContainer< DATATYPE, MAPPING > * m_obj
Definition: KeyedContainer.h:146

## Member Function Documentation

## ◆ operator()()

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

void KeyedContainer< DATATYPE, MAPPING >::_InsertRelease::operator() | ( | value_type | p | ) |
| inline

Definition at line 148 of file KeyedContainer.h.

148 {
149 m_obj->insert( p );
150 traits::release( p );
151 }
KeyedContainer::_InsertRelease::m_obj
KeyedContainer< DATATYPE, MAPPING > * m_obj
Definition: KeyedContainer.h:146
Containers::key_traits< DATATYPE::key_type >::release
static long release(obj_type *v)
Release reference to object.
Definition: KeyedTraits.h:103

## Member Data Documentation

## ◆ m_obj

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

KeyedContainer<DATATYPE, MAPPING>* KeyedContainer< DATATYPE, MAPPING >::_InsertRelease::m_obj

Definition at line 146 of file KeyedContainer.h.

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

- GaudiKernel/GaudiKernel/KeyedContainer.h