NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
network-region-table.hpp
Go to the documentation of this file.
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
26 #ifndef NFD_DAEMON_TABLE_NETWORK_REGION_TABLE_HPP
27 #define NFD_DAEMON_TABLE_NETWORK_REGION_TABLE_HPP
28 
29 #include "common.hpp"
30 
31 namespace nfd {
32 
40 class NetworkRegionTable : public std::set<Name>
41 {
42 public:
52  bool
53  isInProducerRegion(const Link& link) const;
54 };
55 
56 } // namespace nfd
57 
58 #endif // NFD_DAEMON_TABLE_NETWORK_REGION_TABLE_HPP
stores a collection of producer region names
Copyright (c) 2011-2015 Regents of the University of California.
Definition: ndn-common.hpp:40
bool isInProducerRegion(const Link &link) const
determines whether an Interest has reached a producer region