sdk-remote/src/libuco/utable.cc
void
  UVarTable::clean(const UVar& uvar)
  {
    iterator i = find(uvar.get_name());
    if (i != end())
    {
      for (mapped_type::iterator j = i->second.begin();
           j != i->second.end();)
        if (*j == &uvar)
          j = i->second.erase(j);
        else
          ++j;

      if (i->second.empty())
        erase(i);
    }
  }
//! Clean a callback UTable from all callbacks linked to the
//! object whose name is 'name'
Clean a callback UTable from all callbacks linked to the
object whose name is 'name'
Clean a callback UTable from all callbacks linked to the object whose name is ' name '
void
  UVarTable::clean(const UVar& uvar)
  {
    iterator i = find(uvar.get_name());
    if (i != end())
    {
      for (mapped_type::iterator j = i->second.begin();
           j != i->second.end();)
        if (*j == &uvar)
          j = i->second.erase(j);
        else
          ++j;
      if (i->second.empty())
        erase(i);
    }
  }
void UVarTable :: clean ( const UVar & uvar ) { iterator i = find ( uvar . get_name ( ) ) ; if ( i != end ( ) ) { for ( mapped_type :: iterator j = i -> second . begin ( ) ; j != i -> second . end ( ) ; ) if ( * j == & uvar ) j = i -> second . erase ( j ) ; else ++ j ; if ( i -> second . empty ( ) ) erase ( i ) ; } }
Clean a callback UTable from all callbacks linked to the
object whose name is 'name'
Clean a callback UTable from all callbacks linked to the object whose name is ' name '