NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ndn-face.hpp
Go to the documentation of this file.
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
20 #ifndef NDNSIM_NDN_FACE_HPP
21 #define NDNSIM_NDN_FACE_HPP
22 
23 #include "ns3/ndnSIM/NFD/daemon/face/face.hpp"
24 #include <ndn-cxx/util/face-uri.hpp>
25 
26 namespace ns3 {
27 namespace ndn {
28 
29 using nfd::Face;
30 using ::ndn::util::FaceUri;
31 
32 } // namespace ndn
33 } // namespace ns3
34 
35 namespace nfd {
36 
37 inline std::ostream&
38 operator<<(std::ostream& os, const Face& face)
39 {
40  os << face.getLocalUri();
41  return os;
42 }
43 
44 } // namespace nfd
45 
46 #endif // NDNSIM_NDN_FACE_HPP
represents a face
Definition: face.hpp:59
std::ostream & operator<<(std::ostream &os, const Face &face)
Definition: ndn-face.hpp:38
const FaceUri & getLocalUri() const
Definition: face.hpp:240