route/routing-table-entry.cpp
Go to the documentation of this file.
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
21 #include "routing-table-entry.hpp"
22 #include "nexthop-list.hpp"
23 
24 namespace nlsr {
25 
26 std::ostream&
27 operator<<(std::ostream& os, const RoutingTableEntry& rte)
28 {
29  os << "RoutingTableEntry("
30  << "Destination: " << rte.getDestination()
31  << "Next hop list: " << rte.getNexthopList() << ")";
32 
33  return os;
34 }
35 
36 } // namespace nlsr
std::ostream & operator<<(std::ostream &os, const Adjacent &adjacent)
Definition: adjacent.cpp:99
const ndn::Name & getDestination() const
Copyright (c) 2014-2018, The University of Memphis, Regents of the University of California, Arizona Board of Regents.