RuleSymbol Class Reference

#include <RuleSymbol.h>

Inheritance diagram for RuleSymbol:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 RuleSymbol ()
virtual ~RuleSymbol ()
virtual bool IsNonTerm () const =0
virtual std::string Debug () const =0
virtual void Output (std::ostream &out) const =0
virtual std::string GetString () const =0
int Compare (const RuleSymbol &other) const


Detailed Description

Definition at line 15 of file RuleSymbol.h.


Constructor & Destructor Documentation

RuleSymbol::RuleSymbol (  ) 

Definition at line 12 of file RuleSymbol.cpp.

RuleSymbol::~RuleSymbol (  )  [virtual]

Definition at line 18 of file RuleSymbol.cpp.


Member Function Documentation

int RuleSymbol::Compare ( const RuleSymbol other  )  const

Definition at line 23 of file RuleSymbol.cpp.

References GetString(), IsNonTerm(), and str.

Referenced by RulePhrase::Compare().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual std::string RuleSymbol::Debug (  )  const [pure virtual]

Implemented in NonTerm, and Word.

Referenced by Rule::Debug().

Here is the caller graph for this function:

virtual std::string RuleSymbol::GetString (  )  const [pure virtual]

Implemented in NonTerm, and Word.

Referenced by Compare().

Here is the caller graph for this function:

virtual bool RuleSymbol::IsNonTerm (  )  const [pure virtual]

Implemented in NonTerm, and Word.

Referenced by Compare(), Rule::CreateAlignments(), Rule::GetScope(), and Rule::Prevalidate().

Here is the caller graph for this function:

virtual void RuleSymbol::Output ( std::ostream &  out  )  const [pure virtual]

Implemented in NonTerm, and Word.

Referenced by RulePhrase::Output().

Here is the caller graph for this function:


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

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