Moses::TargetPhraseCollectionWithSourcePhrase Class Reference

#include <TargetPhraseCollection.h>

Inheritance diagram for Moses::TargetPhraseCollectionWithSourcePhrase:

Inheritance graph
[legend]
Collaboration diagram for Moses::TargetPhraseCollectionWithSourcePhrase:

Collaboration graph
[legend]

List of all members.

Public Types

typedef boost::shared_ptr
< TargetPhraseCollectionWithSourcePhrase
shared_ptr
typedef boost::shared_ptr
< TargetPhraseCollectionWithSourcePhrase
const > 
shared_const_ptr

Public Member Functions

const std::vector< Phrase > & GetSourcePhrases () const
void Add (TargetPhrase *targetPhrase)
 add a new entry into collection
void Add (TargetPhrase *targetPhrase, const Phrase &sourcePhrase)

Protected Attributes

std::vector< Phrasem_sourcePhrases


Detailed Description

Definition at line 124 of file TargetPhraseCollection.h.


Member Typedef Documentation

Reimplemented from Moses::TargetPhraseCollection.

Definition at line 134 of file TargetPhraseCollection.h.

Reimplemented from Moses::TargetPhraseCollection.

Definition at line 133 of file TargetPhraseCollection.h.


Member Function Documentation

void Moses::TargetPhraseCollectionWithSourcePhrase::Add ( TargetPhrase targetPhrase,
const Phrase sourcePhrase 
)

void Moses::TargetPhraseCollectionWithSourcePhrase::Add ( TargetPhrase targetPhrase  ) 

add a new entry into collection

Reimplemented from Moses::TargetPhraseCollection.

Definition at line 107 of file TargetPhraseCollection.cpp.

References UTIL_THROW.

const std::vector<Phrase>& Moses::TargetPhraseCollectionWithSourcePhrase::GetSourcePhrases (  )  const [inline]

Definition at line 136 of file TargetPhraseCollection.h.

References m_sourcePhrases.


Member Data Documentation

Definition at line 130 of file TargetPhraseCollection.h.

Referenced by Add(), and GetSourcePhrases().


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

Generated on Thu Jul 6 00:33:36 2017 for Moses by  doxygen 1.5.9