void FinishedSearch() { for (ChartCellLabelSet::iterator i(out_.mutable_begin()); i != out_.mutable_end(); ++i) { ChartCellLabel::Stack &stack = i->second.MutableStack(); Gen *gen = static_cast<Gen*>(stack.incr_generator); gen->FinishedSearch(); stack.incr = &gen->Generating(); } }
void FinishedSearch() { for (ChartCellLabelSet::iterator i(out_.mutable_begin()); i != out_.mutable_end(); ++i) { if ((*i) == NULL) { continue; } ChartCellLabel::Stack &stack = (*i)->MutableStack(); Gen *gen = static_cast<Gen*>(stack.incr_generator); gen->FinishedSearch(); stack.incr = &gen->Generating(); } }