lm::ngram::WriteWordsWrapper Class Reference

#include <vocab.hh>

Inheritance diagram for lm::ngram::WriteWordsWrapper:

Inheritance graph
Collaboration diagram for lm::ngram::WriteWordsWrapper:

Collaboration graph

List of all members.

Public Member Functions

 WriteWordsWrapper (EnumerateVocab *inner)
 ~WriteWordsWrapper ()
void Add (WordIndex index, const StringPiece &str)
void Write (int fd, uint64_t start)

Detailed Description

Definition at line 31 of file vocab.hh.

Constructor & Destructor Documentation

lm::ngram::WriteWordsWrapper::WriteWordsWrapper ( EnumerateVocab inner  ) 

Definition at line 74 of file vocab.cc.

lm::ngram::WriteWordsWrapper::~WriteWordsWrapper (  ) 

Definition at line 75 of file vocab.cc.

Member Function Documentation

void lm::ngram::WriteWordsWrapper::Add ( WordIndex  index,
const StringPiece str 
) [virtual]

Implements lm::EnumerateVocab.

Definition at line 77 of file vocab.cc.

References lm::EnumerateVocab::Add(), StringPiece::data(), and StringPiece::size().

Here is the call graph for this function:

void lm::ngram::WriteWordsWrapper::Write ( int  fd,
uint64_t  start 

Definition at line 83 of file vocab.cc.

References util::SeekOrThrow(), and util::WriteOrThrow().

Here is the call graph for this function:

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

Generated on Sat May 30 00:32:07 2015 for Moses by  doxygen 1.5.9