Moses::ProcessedRuleStack Class Reference

#include <DotChart.h>

List of all members.

Public Types

typedef std::vector< SavedNode * > SavedNodeColl
typedef CollType::iterator iterator
typedef CollType::const_iterator const_iterator

Public Member Functions

const_iterator begin () const
const_iterator end () const
iterator begin ()
iterator end ()
 ProcessedRuleStack (size_t size)
 ~ProcessedRuleStack ()
const ProcessedRuleCollGet (size_t pos) const
ProcessedRuleCollGet (size_t pos)
const ProcessedRuleCollback () const
void Add (size_t pos, const ProcessedRule *processedRule)
const SavedNodeCollGetSavedNodeColl () const

Protected Types

typedef std::vector
< ProcessedRuleColl * > 
CollType

Protected Attributes

CollType m_coll
SavedNodeColl m_savedNode


Member Typedef Documentation

typedef std::vector<ProcessedRuleColl*> Moses::ProcessedRuleStack::CollType [protected]

typedef CollType::const_iterator Moses::ProcessedRuleStack::const_iterator

typedef CollType::iterator Moses::ProcessedRuleStack::iterator


Constructor & Destructor Documentation

Moses::ProcessedRuleStack::ProcessedRuleStack ( size_t  size  ) 

References m_coll.

Moses::ProcessedRuleStack::~ProcessedRuleStack (  ) 

References m_coll, m_savedNode, and Moses::RemoveAllInColl().

Here is the call graph for this function:


Member Function Documentation

void Moses::ProcessedRuleStack::Add ( size_t  pos,
const ProcessedRule processedRule 
) [inline]

References m_coll, and m_savedNode.

Referenced by Moses::PhraseDictionarySCFG::GetChartRuleCollection(), and Moses::PhraseDictionarySCFG::InitializeForInput().

Here is the caller graph for this function:

const ProcessedRuleColl& Moses::ProcessedRuleStack::back (  )  const [inline]

References m_coll.

iterator Moses::ProcessedRuleStack::begin (  )  [inline]

References m_coll.

const_iterator Moses::ProcessedRuleStack::begin (  )  const [inline]

References m_coll.

iterator Moses::ProcessedRuleStack::end (  )  [inline]

References m_coll.

const_iterator Moses::ProcessedRuleStack::end (  )  const [inline]

References m_coll.

ProcessedRuleColl& Moses::ProcessedRuleStack::Get ( size_t  pos  )  [inline]

References m_coll.

const ProcessedRuleColl& Moses::ProcessedRuleStack::Get ( size_t  pos  )  const [inline]

References m_coll.

Referenced by Moses::PhraseDictionarySCFG::GetChartRuleCollection().

Here is the caller graph for this function:

const SavedNodeColl& Moses::ProcessedRuleStack::GetSavedNodeColl (  )  const [inline]

References m_savedNode.

Referenced by Moses::PhraseDictionarySCFG::GetChartRuleCollection().

Here is the caller graph for this function:


Member Data Documentation


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

Generated on Thu Sep 9 20:05:46 2010 for Moses by  doxygen 1.5.9