blob: f185e61a5d53ad1f414ba89ab89fc937b294f5bc [file] [log] [blame]
#ifndef NLSR_RTE_HPP
#define NLSR_RTE_HPP
#include <iostream>
#include "nhl.hpp"
namespace nlsr {
class RoutingTableEntry
{
public:
RoutingTableEntry()
: m_destination()
, m_nhl()
{
}
~RoutingTableEntry()
{
}
RoutingTableEntry(std::string dest)
: m_nhl()
{
m_destination = dest;
}
std::string
getDestination()
{
return m_destination;
}
Nhl&
getNhl()
{
return m_nhl;
}
private:
std::string m_destination;
Nhl m_nhl;
};
std::ostream&
operator<<(std::ostream& os, RoutingTableEntry& rte);
} //namespace nlsr
#endif //NLSR_RTE_HPP