Functions

IterativeLookup.cc File Reference

#include <iostream>
#include <assert.h>
#include <UnderlayConfigurator.h>
#include <LookupListener.h>
#include <BaseOverlay.h>
#include <GlobalStatistics.h>
#include "IterativeLookup.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 LookupEntry n 
)

Definition at line 46 of file IterativeLookup.cc.

{
    os << "handle: " << n.handle << " source: " << n.source
       << " alreadyUsed: " << n.alreadyUsed;

    return os;
};

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

Definition at line 54 of file IterativeLookup.cc.

{
    for (LookupVector::const_iterator i=n.begin(); i !=n.end(); i++) {
        os << *i;
        if (i+1 != n.end()) {
            os << endl;
        }
    }

    return os;
};