23 m_addressLayout(layout),
31 m_addressLayout(src.m_addressLayout),
35 container_t::iterator itDst = m_configuration.begin();
36 container_t::const_iterator itSrc = src.m_configuration.begin();
37 const container_t::const_iterator itSrcEnd = src.m_configuration.end();
38 for (; itSrc != itSrcEnd; ++itSrc)
44 itDst = m_configuration.insert(itDst, std::make_pair(address, itSrc->second));
52 m_addressLayout = src.m_addressLayout;
55 m_configuration.clear();
56 container_t::iterator itDst = m_configuration.begin();
57 container_t::const_iterator itSrc = src.m_configuration.begin();
58 const container_t::const_iterator itSrcEnd = src.m_configuration.end();
59 for (; itSrc != itSrcEnd; ++itSrc)
65 itDst = m_configuration.insert(itDst, std::make_pair(address, itSrc->second));
76 if (layout == m_addressLayout)
return;
79 m_addressLayout = layout;
85 return m_addressLayout;
101 const container_t::iterator lb = m_configuration.lower_bound(tempAddr);
102 if ((m_configuration.end() != lb) && (tempAddr == lb->
first))
109 m_configuration.insert(lb, std::make_pair(tempAddr, frame));
117 return (0 != m_configuration.erase(address));
123 m_configuration.clear();
129 return m_configuration.size();
137 ret.reserve(m_configuration.size());
140 container_t::iterator it = m_configuration.begin();
141 const container_t::iterator itEnd = m_configuration.end();
142 for (; it != itEnd; ++it) ret.push_back(&(*it));
153 ret.reserve(m_configuration.size());
156 container_t::const_iterator it = m_configuration.begin();
157 const container_t::const_iterator itEnd = m_configuration.end();
158 for (; it != itEnd; ++it) ret.push_back(&(*it));
168 const container_t::iterator it = m_configuration.find(address);
170 if (m_configuration.end() == it)
return 0;
171 return &(it->second);
178 const container_t::const_iterator it = m_configuration.find(address);
180 if (m_configuration.end() == it)
return 0;
181 return &(it->second);