Logo Search packages:      
Sourcecode: pan version File versions

DataImpl::XOverEntry & DataImpl::xover_get_workarea ( const Quark group  )  [private]

Finds the XOverEntry workarea for the specified group. This must be called inside an xover_ref() / xover_unref() block, as the workarea is instantiated when the group's xover refcount increases to one and destroyed when it goes down to zero.

Definition at line 153 of file xover.cc.

Referenced by xover_add(), xover_ref(), and xover_unref().

{
   XOverEntry * entry (0);
   if (group == _cached_xover_group)
      entry = _cached_xover_entry;
   else {
      _cached_xover_group = group;
      _cached_xover_entry = entry = &_xovers[group];
   }
   return *entry;
}


Generated by  Doxygen 1.6.0   Back to index