RulePhrase Class Reference

#include <RulePhrase.h>

List of all members.

Public Types

typedef std::vector< const
RuleSymbol * > 
Coll

Public Member Functions

size_t GetSize () const
void Add (const RuleSymbol *symbol)
const RuleSymboloperator[] (size_t index) const
const RuleSymbolFront () const
const RuleSymbolBack () const
int Compare (const RulePhrase &other) const
void Output (std::ostream &out) const
std::string Debug () const

Public Attributes

Coll m_coll


Detailed Description

Definition at line 18 of file RulePhrase.h.


Member Typedef Documentation

typedef std::vector<const RuleSymbol*> RulePhrase::Coll

Definition at line 21 of file RulePhrase.h.


Member Function Documentation

void RulePhrase::Add ( const RuleSymbol symbol  )  [inline]

Definition at line 28 of file RulePhrase.h.

References m_coll.

Referenced by Rule::CreateSource(), and Rule::CreateTarget().

Here is the caller graph for this function:

const RuleSymbol* RulePhrase::Back (  )  const [inline]

Definition at line 39 of file RulePhrase.h.

References m_coll.

Referenced by Rule::Prevalidate().

Here is the caller graph for this function:

int RulePhrase::Compare ( const RulePhrase other  )  const

Definition at line 16 of file RulePhrase.cpp.

References RuleSymbol::Compare(), GetSize(), and m_coll.

Referenced by CompareRules::operator()().

Here is the call graph for this function:

Here is the caller graph for this function:

std::string RulePhrase::Debug (  )  const

Definition at line 44 of file RulePhrase.cpp.

References Output().

Here is the call graph for this function:

const RuleSymbol* RulePhrase::Front (  )  const [inline]

Definition at line 36 of file RulePhrase.h.

References m_coll.

size_t RulePhrase::GetSize (  )  const [inline]

Definition at line 24 of file RulePhrase.h.

References m_coll.

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

Here is the caller graph for this function:

const RuleSymbol* RulePhrase::operator[] ( size_t  index  )  const [inline]

Definition at line 32 of file RulePhrase.h.

References m_coll.

void RulePhrase::Output ( std::ostream &  out  )  const

Definition at line 35 of file RulePhrase.cpp.

References m_coll, and RuleSymbol::Output().

Referenced by Debug(), and Rule::Output().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 22 of file RulePhrase.h.

Referenced by Add(), Back(), Compare(), Front(), GetSize(), operator[](), and Output().


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

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