#include <file.hh>
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) |
std::FILE * | release () |
Definition at line 44 of file file.hh.
util::scoped_FILE::scoped_FILE | ( | std::FILE * | file = NULL |
) | [inline, explicit] |
std::FILE* util::scoped_FILE::get | ( | ) | [inline] |
Definition at line 50 of file file.hh.
Referenced by lm::ngram::trie::BuildTrie(), lm::ngram::trie::SortedFiles::Context(), and lm::ngram::trie::SortedFiles::Full().
std::FILE* util::scoped_FILE::release | ( | ) | [inline] |
void util::scoped_FILE::reset | ( | std::FILE * | to = NULL |
) | [inline] |
Definition at line 53 of file file.hh.
Referenced by lm::ngram::trie::BuildTrie().