test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
ExternalLHEProducer::FileCloseSentry Class Reference
Inheritance diagram for ExternalLHEProducer::FileCloseSentry:

Public Member Functions

 FileCloseSentry (int fd)
 
 ~FileCloseSentry ()
 

Private Attributes

int fd_
 

Detailed Description

Definition at line 100 of file ExternalLHEProducer.cc.

Constructor & Destructor Documentation

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

Definition at line 102 of file ExternalLHEProducer.cc.

ExternalLHEProducer::FileCloseSentry::~FileCloseSentry ( )
inline

Definition at line 104 of file ExternalLHEProducer.cc.

References fd_.

104  {
105  close(fd_);
106  }

Member Data Documentation

int ExternalLHEProducer::FileCloseSentry::fd_
private

Definition at line 108 of file ExternalLHEProducer.cc.

Referenced by ~FileCloseSentry().