Logo Search packages:      
Sourcecode: pan version File versions

void DataImpl::xover_flush ( const Quark group  )  [virtual]

useful for xover unit testing

Definition at line 190 of file xover.cc.

References pan::DataImpl::XOverEntry::_added_batch, pan::DataImpl::XOverEntry::_batch_parts_size, pan::DataImpl::XOverEntry::_changed_batch, and xover_get_workarea().

Referenced by xover_add(), and xover_unref().

{
  XOverEntry& workarea (xover_get_workarea (group));

  on_articles_added (group, workarea._added_batch);
  workarea._added_batch.clear();
  on_articles_changed (group, workarea._changed_batch, true);
  workarea._changed_batch.clear();
  workarea._batch_parts_size = 0;
}


Generated by  Doxygen 1.6.0   Back to index