All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 152 of file KeyedContainer.h.

Constructor & Destructor Documentation

template<class DATATYPE, class MAPPING = Containers::HashMap>
KeyedContainer< DATATYPE, MAPPING >::_InsertRelease::_InsertRelease ( KeyedContainer< DATATYPE, MAPPING > *  p)
inline

Definition at line 154 of file KeyedContainer.h.

154 : m_obj(p) {}
KeyedContainer< DATATYPE, MAPPING > * m_obj

Member Function Documentation

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

Definition at line 155 of file KeyedContainer.h.

155  {
156  m_obj->insert(p);
157  traits::release(p);
158  }
KeyedContainer< DATATYPE, MAPPING > * m_obj
static long release(obj_type *v)
Release reference to object.
Definition: KeyedTraits.h:95

Member Data Documentation

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

Definition at line 153 of file KeyedContainer.h.


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