lm::VocabReconstitute Class Reference

#include <print.hh>

Collaboration diagram for lm::VocabReconstitute:

Collaboration graph

List of all members.

Public Member Functions

 VocabReconstitute (int fd)
const char * Lookup (WordIndex index) const
StringPiece LookupPiece (WordIndex index) const
std::size_t Size () const

Detailed Description

Definition at line 19 of file print.hh.

Constructor & Destructor Documentation

lm::VocabReconstitute::VocabReconstitute ( int  fd  )  [explicit]

Definition at line 14 of file print.cc.

References util::scoped_memory::get(), util::MapRead(), util::POPULATE_OR_READ, and util::SizeOrThrow().

Here is the call graph for this function:

Member Function Documentation

const char* lm::VocabReconstitute::Lookup ( WordIndex  index  )  const [inline]

Definition at line 24 of file print.hh.

StringPiece lm::VocabReconstitute::LookupPiece ( WordIndex  index  )  const [inline]

Definition at line 29 of file print.hh.

std::size_t lm::VocabReconstitute::Size (  )  const [inline]

Definition at line 33 of file print.hh.

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

Generated on Thu Jul 6 00:32:41 2017 for Moses by  doxygen 1.5.9