OutputCollector Class Reference

List of all members.

Public Member Functions

 OutputCollector (std::ostream *outStream=&cout, std::ostream *debugStream=&cerr)
void Write (int sourceId, const string &output, const string &debug="")


Detailed Description

Makes sure output goes in the correct order.

Constructor & Destructor Documentation

OutputCollector::OutputCollector ( std::ostream *  outStream = &cout,
std::ostream *  debugStream = &cerr 
) [inline]


Member Function Documentation

void OutputCollector::Write ( int  sourceId,
const string &  output,
const string &  debug = "" 
) [inline]

Write or cache the output, as appropriate.

Referenced by TranslationTask::Run().

Here is the caller graph for this function:


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

Generated on Sun Nov 14 20:05:06 2010 for Moses by  doxygen 1.5.9