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

#include <scoped.hh>

List of all members.

Public Member Functions

 scoped_FILE (std::FILE *file=NULL)
 ~scoped_FILE ()
std::FILE * get ()
const std::FILE * get () const
void reset (std::FILE *to=NULL)

Private Attributes

std::FILE * file_

Constructor & Destructor Documentation

util::scoped_FILE::scoped_FILE ( std::FILE *  file = NULL) [explicit]

Member Function Documentation

std::FILE* util::scoped_FILE::get ( )

Here is the caller graph for this function:

const std::FILE* util::scoped_FILE::get ( ) const
void util::scoped_FILE::reset ( std::FILE *  to = NULL)

Member Data Documentation

std::FILE* util::scoped_FILE::file_ [private]