IterativeLookup.cc File Reference

#include <iostream>
#include <assert.h>
#include <UnderlayConfigurator.h>
#include <LookupListener.h>
#include <BaseOverlay.h>
#include <GlobalStatistics.h>
#include "IterativeLookup.h"
#include <vector>
#include <oversim_mapset.h>
#include <IterativeLookupConfiguration.h>
#include <AbstractLookup.h>
#include <RpcListener.h>
#include <NodeVector.h>
#include <Comparator.h>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const LookupEntry &n)
std::ostream & operator<< (std::ostream &os, const LookupVector &n)

Detailed Description

Author:
Sebastian Mies, Ingmar Baumgart

Definition in file IterativeLookup.cc.


Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const LookupVector n 
)

Definition at line 54 of file IterativeLookup.cc.

00055 {
00056     for (LookupVector::const_iterator i=n.begin(); i !=n.end(); i++) {
00057         os << *i;
00058         if (i+1 != n.end()) {
00059             os << endl;
00060         }
00061     }
00062 
00063     return os;
00064 };

std::ostream& operator<< ( std::ostream &  os,
const LookupEntry n 
)

Definition at line 46 of file IterativeLookup.cc.

00047 {
00048     os << "handle: " << n.handle << " source: " << n.source
00049        << " alreadyUsed: " << n.alreadyUsed;
00050 
00051     return os;
00052 };

Generated on Wed May 26 16:21:15 2010 for OverSim by  doxygen 1.6.3