| OpenMS 2.5.0

Public Member Functions | Private Attributes | List of all members
_Alloc_base< _Tp, _Alloc >::NoLeakAlloc Class Reference

`#include <OpenMS/DATASTRUCTURES/KDTree.h>`

## Public Member Functions

| NoLeakAlloc (_Alloc_base *b)
_Node_ * | get ()
void | disconnect ()
| ~NoLeakAlloc ()

## Private Attributes

_Alloc_base * | base
_Node_ * | new_node

## Constructor & Destructor Documentation

## ◆ NoLeakAlloc()

NoLeakAlloc | ( | _Alloc_base * | b | ) |

inline

## ◆ ~NoLeakAlloc()

~NoLeakAlloc | ( |  | ) |

inline

References _Alloc_base< _Tp, _Alloc >::_M_deallocate_node(), _Alloc_base< _Tp, _Alloc >::NoLeakAlloc::base, and _Alloc_base< _Tp, _Alloc >::NoLeakAlloc::new_node.

## Member Function Documentation

## ◆ disconnect()

void disconnect | ( |  | ) |

inline

References _Alloc_base< _Tp, _Alloc >::NoLeakAlloc::new_node.

## ◆ get()

_Node_* get | ( |  | ) |

inline

References _Alloc_base< _Tp, _Alloc >::NoLeakAlloc::new_node.

## Member Data Documentation

## ◆ base

_Alloc_base* base

private

Referenced by _Alloc_base< _Tp, _Alloc >::NoLeakAlloc::~NoLeakAlloc().

## ◆ new_node

_Node_* new_node

private

Referenced by _Alloc_base< _Tp, _Alloc >::NoLeakAlloc::disconnect(), _Alloc_base< _Tp, _Alloc >::NoLeakAlloc::get(), and _Alloc_base< _Tp, _Alloc >::NoLeakAlloc::~NoLeakAlloc().