CMS 3D CMS Logo

Public Member Functions | Private Attributes

ExternalLHEProducer::FileCloseSentry Class Reference

List of all members.

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) [inline, explicit]

Definition at line 102 of file ExternalLHEProducer.cc.

: fd_(fd) {};
ExternalLHEProducer::FileCloseSentry::~FileCloseSentry ( ) [inline]

Definition at line 104 of file ExternalLHEProducer.cc.

References fd_.

                       {
      close(fd_);
    }

Member Data Documentation

Definition at line 108 of file ExternalLHEProducer.cc.

Referenced by ~FileCloseSentry().