lm::ngram::trie::RecordReader Class Reference

#include <trie_sort.hh>

Collaboration diagram for lm::ngram::trie::RecordReader:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 RecordReader ()
void Init (FILE *file, std::size_t entry_size)
void * Data ()
const void * Data () const
RecordReaderoperator++ ()
 operator bool () const
void Rewind ()
std::size_t EntrySize () const
void Overwrite (const void *start, std::size_t amount)


Detailed Description

Definition at line 49 of file trie_sort.hh.


Constructor & Destructor Documentation

lm::ngram::trie::RecordReader::RecordReader (  )  [inline]

Definition at line 51 of file trie_sort.hh.


Member Function Documentation

const void* lm::ngram::trie::RecordReader::Data (  )  const [inline]

Definition at line 56 of file trie_sort.hh.

References util::scoped_base< T, Closer >::get().

Here is the call graph for this function:

void* lm::ngram::trie::RecordReader::Data (  )  [inline]

Definition at line 55 of file trie_sort.hh.

References util::scoped_base< T, Closer >::get().

Referenced by lm::ngram::trie::BuildTrie().

Here is the call graph for this function:

Here is the caller graph for this function:

std::size_t lm::ngram::trie::RecordReader::EntrySize (  )  const [inline]

Definition at line 71 of file trie_sort.hh.

void lm::ngram::trie::RecordReader::Init ( FILE *  file,
std::size_t  entry_size 
)

Definition at line 155 of file trie_sort.cc.

References util::scoped_base< T, Closer >::get(), util::scoped_base< T, Closer >::reset(), and UTIL_THROW_IF.

Referenced by lm::ngram::trie::BuildTrie().

Here is the call graph for this function:

Here is the caller graph for this function:

lm::ngram::trie::RecordReader::operator bool (  )  const [inline]

Definition at line 67 of file trie_sort.hh.

RecordReader& lm::ngram::trie::RecordReader::operator++ (  )  [inline]

Definition at line 58 of file trie_sort.hh.

References util::scoped_base< T, Closer >::get(), and UTIL_THROW_IF.

Here is the call graph for this function:

void lm::ngram::trie::RecordReader::Overwrite ( const void *  start,
std::size_t  amount 
)

Definition at line 169 of file trie_sort.cc.

References fseek(), util::scoped_base< T, Closer >::get(), UTIL_THROW_IF, and util::WriteOrThrow().

Here is the call graph for this function:

void lm::ngram::trie::RecordReader::Rewind (  ) 

Definition at line 180 of file trie_sort.cc.

Referenced by lm::ngram::trie::BuildTrie().

Here is the caller graph for this function:


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

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