ATLAS Offline Software
Loading...
Searching...
No Matches
DataVectorWithAlloc< DV, ALLOC >::HeapDeleter Class Reference

Internal helper to delete vector elements. More...

Inheritance diagram for DataVectorWithAlloc< DV, ALLOC >::HeapDeleter:
Collaboration diagram for DataVectorWithAlloc< DV, ALLOC >::HeapDeleter:

Public Types

using Base = typename DV::Deleter
using value_type = typename Base::value_type
using PtrVector = typename Base::PtrVector

Public Member Functions

 HeapDeleter (elt_allocator_type &&heap)
elt_allocator_typeheap () noexcept
virtual void doDelete (value_type p) override
virtual void doDelete (typename PtrVector::iterator first, typename PtrVector::iterator last) override

Private Attributes

elt_allocator_type m_heap

Detailed Description

template<class DV, class ALLOC>
class DataVectorWithAlloc< DV, ALLOC >::HeapDeleter

Internal helper to delete vector elements.

Definition at line 771 of file DataVectorWithAlloc.h.

Member Typedef Documentation

◆ Base

template<class DV, class ALLOC>
using DataVectorWithAlloc< DV, ALLOC >::HeapDeleter::Base = typename DV::Deleter

Definition at line 775 of file DataVectorWithAlloc.h.

◆ PtrVector

template<class DV, class ALLOC>
using DataVectorWithAlloc< DV, ALLOC >::HeapDeleter::PtrVector = typename Base::PtrVector

Definition at line 777 of file DataVectorWithAlloc.h.

◆ value_type

template<class DV, class ALLOC>
using DataVectorWithAlloc< DV, ALLOC >::HeapDeleter::value_type = typename Base::value_type

Definition at line 776 of file DataVectorWithAlloc.h.

Constructor & Destructor Documentation

◆ HeapDeleter()

template<class DV, class ALLOC>
DataVectorWithAlloc< DV, ALLOC >::HeapDeleter::HeapDeleter ( elt_allocator_type && heap)

Member Function Documentation

◆ doDelete() [1/2]

template<class DV, class ALLOC>
virtual void DataVectorWithAlloc< DV, ALLOC >::HeapDeleter::doDelete ( typename PtrVector::iterator first,
typename PtrVector::iterator last )
overridevirtual

◆ doDelete() [2/2]

template<class DV, class ALLOC>
virtual void DataVectorWithAlloc< DV, ALLOC >::HeapDeleter::doDelete ( value_type p)
overridevirtual

◆ heap()

template<class DV, class ALLOC>
elt_allocator_type & DataVectorWithAlloc< DV, ALLOC >::HeapDeleter::heap ( )
noexcept

Member Data Documentation

◆ m_heap

template<class DV, class ALLOC>
elt_allocator_type DataVectorWithAlloc< DV, ALLOC >::HeapDeleter::m_heap
private

Definition at line 786 of file DataVectorWithAlloc.h.


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