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 15 of file file.hh.


Constructor & Destructor Documentation

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

Definition at line 17 of file file.hh.

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

Definition at line 19 of file file.hh.

util::scoped_fd::~scoped_fd (  ) 

Definition at line 37 of file file.cc.


Member Function Documentation

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

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

Definition at line 30 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 Thu Jul 6 00:34:49 2017 for Moses by  doxygen 1.5.9