23 const IDMap_t::iterator lbID = m_idMap.lower_bound(deviceID);
24 if ((m_idMap.end() != lbID) && (deviceID == lbID->first))
throw Exception();
26 m_idMap.insert(lbID, std::make_pair(deviceID, layout));
33 const IDMap_t::iterator itID = m_idMap.find(deviceID);
34 if (m_idMap.end() == itID)
return false;
49 return m_idMap.size();
56 if (m_idMap.size() <= index)
throw Exception();
58 IDMap_t::iterator it = m_idMap.begin();
59 std::advance(it, index);
67 if (m_idMap.size() <= index)
throw Exception();
69 IDMap_t::const_iterator it = m_idMap.begin();
70 std::advance(it, index);
78 const IDMap_t::iterator it = m_idMap.find(deviceID);
80 if (m_idMap.end() == it)
return 0;
88 const IDMap_t::const_iterator it = m_idMap.find(deviceID);
90 if (m_idMap.end() == it)
return 0;