LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
art::detail::CPCSentry Class Reference

#include "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 fhicl::detail::atom::value().

24  : referenced_{&c}
25  {
26  c = value;
27  }
std::string value(boost::any const &)
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: