Moses::PhraseProperty Class Reference

#include <PhraseProperty.h>

Inheritance diagram for Moses::PhraseProperty:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 PhraseProperty ()
virtual ~PhraseProperty ()
virtual void ProcessValue (const std::string &value)
virtual const std::string * GetValueString () const

Protected Member Functions

virtual void Print (std::ostream &out) const

Protected Attributes

std::string * m_value

Friends

std::ostream & operator<< (std::ostream &, const PhraseProperty &)


Detailed Description

base class for all phrase properties.

Definition at line 11 of file PhraseProperty.h.


Constructor & Destructor Documentation

Moses::PhraseProperty::PhraseProperty (  )  [inline]

Definition at line 16 of file PhraseProperty.h.

virtual Moses::PhraseProperty::~PhraseProperty (  )  [inline, virtual]

Definition at line 17 of file PhraseProperty.h.

References m_value, and NULL.


Member Function Documentation

virtual const std::string* Moses::PhraseProperty::GetValueString (  )  const [inline, virtual]

void Moses::PhraseProperty::Print ( std::ostream &  out  )  const [protected, virtual]

Reimplemented in Moses::TargetConstituentBoundariesLeftPhraseProperty, and Moses::TargetConstituentBoundariesRightAdjacentPhraseProperty.

Definition at line 12 of file PhraseProperty.cpp.

Referenced by Moses::operator<<().

Here is the caller graph for this function:

virtual void Moses::PhraseProperty::ProcessValue ( const std::string &  value  )  [inline, virtual]


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const PhraseProperty obj 
) [friend]

Definition at line 6 of file PhraseProperty.cpp.


Member Data Documentation

std::string* Moses::PhraseProperty::m_value [protected]

Definition at line 33 of file PhraseProperty.h.

Referenced by GetValueString(), ProcessValue(), and ~PhraseProperty().


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

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