void OpenDDS::DCPS::RepoIdSetMap::dump() { DBG_ENTRY_LVL("RepoIdSetMap","dump",6); for (MapType::iterator itr = map_.begin(); itr != map_.end(); ++itr) { RepoIdSet_rch set = itr->second; for (RepoIdSet::MapType::iterator it = set->map().begin(); it != set->map().end(); ++it) { std::stringstream buffer; buffer << "key " << itr->first << " - value " << it->first; ACE_DEBUG((LM_DEBUG, ACE_TEXT("(%P|%t) %C \n"), buffer.str().c_str())); } } }
void OpenDDS::DCPS::RepoIdSetMap::dump() { DBG_ENTRY_LVL("RepoIdSetMap","dump",6); for (MapType::iterator itr = map_.begin(); itr != map_.end(); ++itr) { RepoIdSet_rch set = itr->second; for (RepoIdSet::MapType::iterator it = set->map().begin(); it != set->map().end(); ++it) { OPENDDS_STRING buffer; buffer + "key "; buffer += to_string(itr->first); buffer + " - value "; buffer += to_string(it->first); ACE_DEBUG((LM_DEBUG, ACE_TEXT("(%P|%t) %C \n"), buffer.c_str())); } } }
void OpenDDS::DCPS::RepoIdSetMap::operator= (const RepoIdSetMap & rh) { DBG_ENTRY_LVL("RepoIdSetMap","operator=",6); const MapType& map = rh.map(); for (MapType::const_iterator itr = map.begin(); itr != map.end(); ++itr) { RepoIdSet_rch set = itr->second; RepoIdSet::MapType& smap = set->map(); for (RepoIdSet::MapType::iterator sitr = smap.begin(); sitr != smap.end(); ++sitr) { this->insert(itr->first, sitr->first); } } }