FACT++  1.0
void FactGui::UnsubscribeService ( const string &  service,
bool  allow_unsubscribed = false 
)
inlineprivate

Definition at line 414 of file FactGui.h.

References i.

415  {
416  const map<string,DimInfo*>::iterator i=fServices.find(service);
417 
418  if (i==fServices.end())
419  {
420  if (!allow_unsubscribed)
421  cerr << "ERROR - We are not subscribed to " << service << endl;
422  return;
423  }
424 
425  delete i->second;
426 
427  fServices.erase(i);
428  }
int i
Definition: db_dim_client.c:21
map< string, DimInfo * > fServices
Definition: FactGui.h:135