lm::ngram::ProbingVocabularyEntry Struct Reference

#include <vocab.hh>

List of all members.

Public Types

typedef uint64_t Key

Public Member Functions

uint64_t GetKey () const
void SetKey (uint64_t to)

Static Public Member Functions

static ProbingVocabularyEntry Make (uint64_t key, WordIndex value)

Public Attributes

uint64_t key
WordIndex value

Detailed Description

Definition at line 138 of file vocab.hh.

Member Typedef Documentation

Definition at line 142 of file vocab.hh.

Member Function Documentation

uint64_t lm::ngram::ProbingVocabularyEntry::GetKey (  )  const [inline]

Definition at line 143 of file vocab.hh.

References key.

static ProbingVocabularyEntry lm::ngram::ProbingVocabularyEntry::Make ( uint64_t  key,
WordIndex  value 
) [inline, static]

Definition at line 146 of file vocab.hh.

References key, and value.

Referenced by lm::ngram::GrowableVocab< NewWordAction >::FindOrInsert(), and lm::ngram::ProbingVocabulary::Insert().

Here is the caller graph for this function:

void lm::ngram::ProbingVocabularyEntry::SetKey ( uint64_t  to  )  [inline]

Definition at line 144 of file vocab.hh.

References key.

Member Data Documentation

Definition at line 139 of file vocab.hh.

Referenced by GetKey(), Make(), and SetKey().

Definition at line 140 of file vocab.hh.

Referenced by Make().

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

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