ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
RootUtils::Type::Deleter Class Reference

Deleter object, compatible with std::unique_ptr. More...

#include <Type.h>

Collaboration diagram for RootUtils::Type::Deleter:

Public Member Functions

 Deleter ()
 Default constructor. More...
 
 Deleter (const Type &t)
 Constructor. More...
 
void operator() (void *p)
 Delete an object. More...
 

Private Attributes

const Typem_t
 The type describing this pointer. More...
 

Detailed Description

Deleter object, compatible with std::unique_ptr.

Definition at line 305 of file Type.h.

Constructor & Destructor Documentation

◆ Deleter() [1/2]

RootUtils::Type::Deleter::Deleter ( )

Default constructor.

◆ Deleter() [2/2]

RootUtils::Type::Deleter::Deleter ( const Type t)

Constructor.

Parameters
tThe type describing this generic pointer.

Member Function Documentation

◆ operator()()

void RootUtils::Type::Deleter::operator() ( void *  p)

Delete an object.

Parameters
pPointer to the object to delete.

Member Data Documentation

◆ m_t

const Type* RootUtils::Type::Deleter::m_t
private

The type describing this pointer.

Definition at line 330 of file Type.h.


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