CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
ExternalLHEProducer::FileCloseSentry Class Reference

Public Member Functions

 FileCloseSentry (const FileCloseSentry &)=delete
 
 FileCloseSentry (int fd)
 
FileCloseSentryoperator= (const FileCloseSentry &)=delete
 
 ~FileCloseSentry ()
 

Private Attributes

int fd_
 

Detailed Description

Definition at line 109 of file ExternalLHEProducer.cc.

Constructor & Destructor Documentation

◆ FileCloseSentry() [1/2]

ExternalLHEProducer::FileCloseSentry::FileCloseSentry ( int  fd)
inlineexplicit

Definition at line 111 of file ExternalLHEProducer.cc.

111 : fd_(fd){};

◆ ~FileCloseSentry()

ExternalLHEProducer::FileCloseSentry::~FileCloseSentry ( )
inline

Definition at line 113 of file ExternalLHEProducer.cc.

113 { close(fd_); }

References fd_.

◆ FileCloseSentry() [2/2]

ExternalLHEProducer::FileCloseSentry::FileCloseSentry ( const FileCloseSentry )
delete

Member Function Documentation

◆ operator=()

FileCloseSentry& ExternalLHEProducer::FileCloseSentry::operator= ( const FileCloseSentry )
delete

Member Data Documentation

◆ fd_

int ExternalLHEProducer::FileCloseSentry::fd_
private

Definition at line 120 of file ExternalLHEProducer.cc.

Referenced by ~FileCloseSentry().

ExternalLHEProducer::FileCloseSentry::fd_
int fd_
Definition: ExternalLHEProducer.cc:120
ztee.fd
fd
Definition: ztee.py:136