util::stream::Recycler Class Reference

#include <chain.hh>

List of all members.

Public Member Functions

void Run (const ChainPosition &position)


Detailed Description

This resets blocks to full valid size. Used to close the loop in Chain by recycling blocks.

Definition at line 93 of file chain.hh.


Member Function Documentation

void util::stream::Recycler::Run ( const ChainPosition position  ) 

Resets the blocks in the chain such that the blocks' respective valid sizes match the chain's block size.

See also:
Block::SetValidSize()

Chain::BlockSize()

Definition at line 28 of file chain.cc.

References util::stream::Chain::BlockSize(), and util::stream::ChainPosition::GetChain().

Here is the call graph for this function:


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

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