24 DeviceRegistry::NameMap_t& nameMap = data.m_nameMap;
28 DeviceRegistry::IDMap_t& idMap = data.m_idMap;
29 DeviceRegistry::IDMap_t::const_iterator it = idMap.begin();
30 DeviceRegistry::IDMap_t::const_iterator itEnd = idMap.end();
31 for (; it != itEnd; ++it)
32 nameMap.insert(std::make_pair(it->second, it->first));