lm::NGramHeader Class Reference

#include <ngram.hh>

Inheritance diagram for lm::NGramHeader:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 NGramHeader (void *begin, std::size_t order)
 NGramHeader ()
const uint8_t * Base () const
uint8_t * Base ()
void ReBase (void *to)
const WordIndexbegin () const
WordIndexbegin ()
const WordIndexend () const
WordIndexend ()
std::size_t size () const
std::size_t Order () const


Detailed Description

Definition at line 14 of file ngram.hh.


Constructor & Destructor Documentation

lm::NGramHeader::NGramHeader ( void *  begin,
std::size_t  order 
) [inline]

Definition at line 16 of file ngram.hh.

lm::NGramHeader::NGramHeader (  )  [inline]

Definition at line 19 of file ngram.hh.


Member Function Documentation

uint8_t* lm::NGramHeader::Base (  )  [inline]

Definition at line 22 of file ngram.hh.

const uint8_t* lm::NGramHeader::Base (  )  const [inline]

Definition at line 21 of file ngram.hh.

WordIndex* lm::NGramHeader::begin (  )  [inline]

Definition at line 33 of file ngram.hh.

const WordIndex* lm::NGramHeader::begin (  )  const [inline]

Definition at line 32 of file ngram.hh.

Referenced by lm::builder::AdjustCounts::Run().

Here is the caller graph for this function:

WordIndex* lm::NGramHeader::end (  )  [inline]

Definition at line 35 of file ngram.hh.

const WordIndex* lm::NGramHeader::end (  )  const [inline]

Definition at line 34 of file ngram.hh.

Referenced by lm::builder::AdjustCounts::Run(), and lm::NGram< Payload >::Value().

Here is the caller graph for this function:

std::size_t lm::NGramHeader::Order (  )  const [inline]

Definition at line 38 of file ngram.hh.

Referenced by lm::NGram< Payload >::TotalSize().

Here is the caller graph for this function:

void lm::NGramHeader::ReBase ( void *  to  )  [inline]

Definition at line 24 of file ngram.hh.

Referenced by lm::NGram< Payload >::NextInMemory().

Here is the caller graph for this function:

std::size_t lm::NGramHeader::size (  )  const [inline]

Definition at line 37 of file ngram.hh.


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

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