util::scoped_fd Class Reference

#include <file.hh>

List of all members.

Public Member Functions

 scoped_fd ()
 scoped_fd (int fd)
 ~scoped_fd ()
void reset (int to=-1)
int get () const
int operator* () const
int release ()


Detailed Description

Definition at line 14 of file file.hh.


Constructor & Destructor Documentation

util::scoped_fd::scoped_fd (  )  [inline]

Definition at line 16 of file file.hh.

util::scoped_fd::scoped_fd ( int  fd  )  [inline, explicit]

Definition at line 18 of file file.hh.

util::scoped_fd::~scoped_fd (  ) 

Definition at line 32 of file file.cc.


Member Function Documentation

int util::scoped_fd::get (  )  const [inline]

int util::scoped_fd::operator* (  )  const [inline]

Definition at line 29 of file file.hh.

int util::scoped_fd::release (  )  [inline]

void util::scoped_fd::reset ( int  to = -1  )  [inline]


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

Generated on Mon Jul 28 00:31:40 2014 for Moses by  doxygen 1.5.9