readvertised-route.cpp
Go to the documentation of this file.
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
26 #include "readvertised-route.hpp"
27 
28 namespace nfd {
29 namespace rib {
30 
31 ReadvertisedRoute::ReadvertisedRoute(const ndn::Name& prefix, const ndn::security::SigningInfo& signer,
32  const std::vector<RibRouteRef>& routes)
33  : m_prefix(prefix)
34  , m_signer(signer)
35  , m_ribRoutes(routes)
36 {
37 }
38 
39 bool
41 {
42  return lhs.getPrefix() < rhs.getPrefix();
43 }
44 
45 } // namespace rib
46 } // namespace nfd
const Name & getPrefix() const
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
bool operator<(const ReadvertisedRoute &lhs, const ReadvertisedRoute &rhs)
ReadvertisedRoute(const ndn::Name &prefix, const ndn::security::SigningInfo &signer, const std::vector< RibRouteRef > &routes)
standard constructor