Logo Search packages:      
Sourcecode: pan version File versions  Download package

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

The last call to xover_unref() for a group can indicate to Data that it's safe to tear down any internal scaffolding set up in xover_ref().

Implements pan::Data.

Definition at line 202 of file xover.cc.

References pan::DataImpl::XOverEntry::refcount, xover_clear_workarea(), xover_flush(), and xover_get_workarea().

{
  XOverEntry& workarea (xover_get_workarea (group));
  if (!--workarea.refcount)
  {
    xover_flush (group);
    xover_clear_workarea (group);
  }

  unref_group (group);
}


Generated by  Doxygen 1.6.0   Back to index