Public Member Functions | Private Attributes | List of all members
art::detail::CPCSentry Class Reference

#include "/cvmfs/nova.opensciencegrid.org/externals/art/v2_13_00/source/art/Framework/Core/CPCSentry.h"

Public Member Functions

 CPCSentry (cet::exempt_ptr< CurrentProcessingContext const > &c, cet::exempt_ptr< CurrentProcessingContext const > value)
 
 ~CPCSentry () noexcept
 

Private Attributes

cet::exempt_ptr< CurrentProcessingContext const > * referenced_
 

Detailed Description

Definition at line 20 of file CPCSentry.h.

Constructor & Destructor Documentation

art::detail::CPCSentry::CPCSentry ( cet::exempt_ptr< CurrentProcessingContext const > &  c,
cet::exempt_ptr< CurrentProcessingContext const >  value 
)
inline

Definition at line 22 of file CPCSentry.h.

References plot_validation_datamc::c.

24  : referenced_{&c}
25  {
26  c = value;
27  }
const XML_Char int const XML_Char * value
Definition: expat.h:331
cet::exempt_ptr< CurrentProcessingContext const > * referenced_
Definition: CPCSentry.h:32
art::detail::CPCSentry::~CPCSentry ( )
inlinenoexcept

Definition at line 29 of file CPCSentry.h.

References referenced_.

29 { *referenced_ = nullptr; }
cet::exempt_ptr< CurrentProcessingContext const > * referenced_
Definition: CPCSentry.h:32

Member Data Documentation

cet::exempt_ptr<CurrentProcessingContext const>* art::detail::CPCSentry::referenced_
private

Definition at line 32 of file CPCSentry.h.

Referenced by ~CPCSentry().


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