Пример #1
0
 void
 Monitor_Point_Registry::cleanup (void)
 {
   for (Map::ITERATOR i = this->map_.begin ();
        i != this->map_.end ();
        i.advance ())
     {
       Map::ENTRY* entry = 0;
       i.next (entry);
       entry->int_id_->remove_ref ();
     }
 }
void
ACE_Capabilities::resetcaps (void)
{
  for (MAP::ITERATOR iter (this->caps_);
       !iter.done ();
       iter.advance ())
    {
      MAP::ENTRY *entry;
      iter.next (entry);
      delete entry->int_id_;
    }

  this->caps_.close ();
  this->caps_.open ();
}