Moses::NGramCollection Class Reference

#include <NGramCollection.h>

List of all members.

Public Member Functions

 NGramCollection ()
 ~NGramCollection ()
NGramNodeGetOrCreateNGram (const Factor *factor)
NGramNodeGetNGram (const Factor *factor)
const NGramNodeGetNGram (const Factor *factor) const

Protected Types

typedef std::map< const Factor
*, NGramNode * > 
Collection

Protected Member Functions

void Add (const Factor *factor, const NGramNode &ngramNode)

Protected Attributes

Collection m_collection


Detailed Description

Definition at line 36 of file NGramCollection.h.


Member Typedef Documentation

typedef std::map<const Factor*, NGramNode*> Moses::NGramCollection::Collection [protected]

Definition at line 39 of file NGramCollection.h.


Constructor & Destructor Documentation

Moses::NGramCollection::NGramCollection (  )  [inline]

Definition at line 44 of file NGramCollection.h.

Moses::NGramCollection::~NGramCollection (  ) 

Definition at line 27 of file NGramCollection.cpp.

References m_collection.


Member Function Documentation

void Moses::NGramCollection::Add ( const Factor factor,
const NGramNode ngramNode 
) [protected]

Definition at line 35 of file NGramCollection.cpp.

const NGramNode * Moses::NGramCollection::GetNGram ( const Factor factor  )  const

Definition at line 55 of file NGramCollection.cpp.

References m_collection.

NGramNode * Moses::NGramCollection::GetNGram ( const Factor factor  ) 

Definition at line 49 of file NGramCollection.cpp.

References m_collection.

Referenced by Moses::NGramNode::GetNGram().

Here is the caller graph for this function:

NGramNode * Moses::NGramCollection::GetOrCreateNGram ( const Factor factor  ) 

Definition at line 39 of file NGramCollection.cpp.

References m_collection.


Member Data Documentation

Definition at line 40 of file NGramCollection.h.

Referenced by GetNGram(), GetOrCreateNGram(), and ~NGramCollection().


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

Generated on Thu Oct 13 16:05:33 2011 for Moses by  doxygen 1.5.9