#include <TargetPreferencesPhraseProperty.h>


Public Member Functions | |
| TargetPreferencesPhraseProperty () | |
| virtual void | ProcessValue (const std::string &value) |
| size_t | GetNumberOfNonTerminals () const |
| float | GetTotalCount () const |
| const std::list < TargetPreferencesPhrasePropertyItem > & | GetTargetPreferencesItems () const |
| virtual const std::string * | GetValueString () const |
Protected Attributes | |
| size_t | m_nNTs |
| float | m_totalCount |
| std::list < TargetPreferencesPhrasePropertyItem > | m_labelItems |
Definition at line 38 of file TargetPreferencesPhraseProperty.h.
| Moses::TargetPreferencesPhraseProperty::TargetPreferencesPhraseProperty | ( | ) | [inline] |
Definition at line 41 of file TargetPreferencesPhraseProperty.h.
| size_t Moses::TargetPreferencesPhraseProperty::GetNumberOfNonTerminals | ( | ) | const [inline] |
Definition at line 45 of file TargetPreferencesPhraseProperty.h.
References m_nNTs.
Referenced by Moses::TargetPreferencesFeature::EvaluateWhenApplied().

| const std::list<TargetPreferencesPhrasePropertyItem>& Moses::TargetPreferencesPhraseProperty::GetTargetPreferencesItems | ( | ) | const [inline] |
Definition at line 53 of file TargetPreferencesPhraseProperty.h.
References m_labelItems.
Referenced by Moses::TargetPreferencesFeature::EvaluateWhenApplied().

| float Moses::TargetPreferencesPhraseProperty::GetTotalCount | ( | ) | const [inline] |
Definition at line 49 of file TargetPreferencesPhraseProperty.h.
References m_totalCount.
Referenced by Moses::TargetPreferencesFeature::EvaluateWhenApplied().

| virtual const std::string* Moses::TargetPreferencesPhraseProperty::GetValueString | ( | ) | const [inline, virtual] |
Reimplemented from Moses::PhraseProperty.
Definition at line 57 of file TargetPreferencesPhraseProperty.h.
References NULL, and UTIL_THROW2.
| void Moses::TargetPreferencesPhraseProperty::ProcessValue | ( | const std::string & | value | ) | [virtual] |
Reimplemented from Moses::PhraseProperty.
Definition at line 14 of file TargetPreferencesPhraseProperty.cpp.
References begin, EOF, m_labelItems, m_nNTs, m_totalCount, and UTIL_THROW2.
std::list<TargetPreferencesPhrasePropertyItem> Moses::TargetPreferencesPhraseProperty::m_labelItems [protected] |
Definition at line 67 of file TargetPreferencesPhraseProperty.h.
Referenced by GetTargetPreferencesItems(), and ProcessValue().
size_t Moses::TargetPreferencesPhraseProperty::m_nNTs [protected] |
Definition at line 60 of file TargetPreferencesPhraseProperty.h.
Referenced by GetNumberOfNonTerminals(), and ProcessValue().
float Moses::TargetPreferencesPhraseProperty::m_totalCount [protected] |
Definition at line 65 of file TargetPreferencesPhraseProperty.h.
Referenced by GetTotalCount(), and ProcessValue().
1.5.9