ATLAS Offline Software
Public Types | Public Member Functions | Public Attributes | List of all members
DataVectorWithAlloc< DV, ALLOC >::ContainerUniquePtr Class Reference

Helper for unique_ptr conversions. More...

#include <DataVectorWithAlloc.h>

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

Public Types

using Base = std::unique_ptr< DataVectorWithAlloc >
 

Public Member Functions

 operator std::unique_ptr< const DV > () &&noexcept
 
T * operator-> ()
 STL member. More...
 

Public Attributes

ptr
 STL member. More...
 

Detailed Description

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

Helper for unique_ptr conversions.

See make_unique below.

Definition at line 221 of file DataVectorWithAlloc.h.

Member Typedef Documentation

◆ Base

template<class DV , class ALLOC >
using DataVectorWithAlloc< DV, ALLOC >::ContainerUniquePtr::Base = std::unique_ptr<DataVectorWithAlloc>

Definition at line 225 of file DataVectorWithAlloc.h.

Member Function Documentation

◆ operator std::unique_ptr< const DV >()

template<class DV , class ALLOC >
DataVectorWithAlloc< DV, ALLOC >::ContainerUniquePtr::operator std::unique_ptr< const DV > ( ) &&
inlinenoexcept

Definition at line 227 of file DataVectorWithAlloc.h.

228  {
229  return std::unique_ptr<const DV>(this->release()->asDataVector());
230  }

◆ operator->()

T* std::unique_ptr< T >::operator->
inherited

STL member.

Member Data Documentation

◆ ptr

T std::unique_ptr< T >::ptr
inherited

STL member.


The documentation for this class was generated from the following file:
DataVectorWithAlloc::asDataVector
const DV * asDataVector() const
Return a pointer to this object, as a const DataVector.
python.EventInfoMgtInit.release
release
Definition: EventInfoMgtInit.py:24