Joshua
open source statistical hierarchical phrase-based machine translation system
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
util::scoped_fd Class Reference

#include <scoped.hh>

List of all members.

Public Member Functions

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

Private Member Functions

 scoped_fd (const scoped_fd &)
scoped_fdoperator= (const scoped_fd &)

Private Attributes

int fd_

Constructor & Destructor Documentation

util::scoped_fd::scoped_fd ( int  fd) [explicit]
util::scoped_fd::scoped_fd ( const scoped_fd ) [private]

Member Function Documentation

int util::scoped_fd::get ( ) const

Here is the caller graph for this function:

int util::scoped_fd::operator* ( ) const
scoped_fd& util::scoped_fd::operator= ( const scoped_fd ) [private]

Here is the caller graph for this function:

void util::scoped_fd::reset ( int  to)

Here is the caller graph for this function:


Member Data Documentation

int util::scoped_fd::fd_ [private]