29 #ifndef INCLUDE_OLA_RDM_UIDSET_H_
30 #define INCLUDE_OLA_RDM_UIDSET_H_
68 m_uids(other.m_uids) {
76 m_uids = other.m_uids;
92 unsigned int Size()
const {
118 return m_uids.find(uid) != m_uids.end();
128 set_union(m_uids.begin(),
132 inserter(result, result.begin()));
140 return m_uids.begin();
157 std::set_difference(m_uids.begin(),
159 other.m_uids.begin(),
161 std::inserter(difference, difference.begin()));
162 return UIDSet(difference);
170 return m_uids == other.m_uids;
178 return !(*
this == other);
186 std::stringstream str;
187 set<UID>::const_iterator iter;
188 for (iter = m_uids.begin(); iter != m_uids.end(); ++iter) {
189 if (iter != m_uids.begin())
208 explicit UIDSet(
const set<UID> uids) {
214 #endif // INCLUDE_OLA_RDM_UIDSET_H_