lm::InputBuffer Class Reference

#include <format.hh>

List of all members.

Classes

struct  Line

Public Member Functions

 InputBuffer ()
void Reserve (size_t size)
template<class Output >
void AddNGram (const StringPiece &ngram, const StringPiece &line, Output &output)
template<class Filter , class Output >
void CallFilter (Filter &filter, Output &output) const
void Clear ()
bool Empty ()
size_t Size ()


Detailed Description

Definition at line 139 of file format.hh.


Constructor & Destructor Documentation

lm::InputBuffer::InputBuffer (  )  [inline]

Definition at line 141 of file format.hh.


Member Function Documentation

template<class Output >
void lm::InputBuffer::AddNGram ( const StringPiece ngram,
const StringPiece line,
Output &  output 
) [inline]

Definition at line 145 of file format.hh.

References StringPiece::data(), and StringPiece::size().

Referenced by lm::Controller< Filter, OutputBuffer, RealOutput >::AddNGram().

Here is the call graph for this function:

Here is the caller graph for this function:

template<class Filter , class Output >
void lm::InputBuffer::CallFilter ( Filter &  filter,
Output &  output 
) const [inline]

Definition at line 154 of file format.hh.

Referenced by lm::ThreadBatch< OutputBuffer >::CallFilter().

Here is the caller graph for this function:

void lm::InputBuffer::Clear (  )  [inline]

Definition at line 160 of file format.hh.

Referenced by lm::ThreadBatch< OutputBuffer >::Fill().

Here is the caller graph for this function:

bool lm::InputBuffer::Empty (  )  [inline]

Definition at line 161 of file format.hh.

void lm::InputBuffer::Reserve ( size_t  size  )  [inline]

Definition at line 143 of file format.hh.

Referenced by lm::ThreadBatch< OutputBuffer >::Reserve().

Here is the caller graph for this function:

size_t lm::InputBuffer::Size (  )  [inline]

Definition at line 162 of file format.hh.

Referenced by lm::Controller< Filter, OutputBuffer, RealOutput >::AddNGram().

Here is the caller graph for this function:


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

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