NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
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
Copyright (c) 2011-2015 Regents of the University of California.
std::ostream & operator<<(std::ostream &os, const ContentStore &cs)
represents a face
Definition: face.hpp:57
Copyright (c) 2011-2015 Regents of the University of California.
Definition: ndn-common.hpp:38
Copyright (c) 2011-2015 Regents of the University of California.
ndn cxx Face
Copyright (c) 2013-2015 Regents of the University of California.
Definition: face.cpp:25
const FaceUri & getLocalUri() const
Definition: face.hpp:287