NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
ndn-common.hpp
Go to the documentation of this file.
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
20 #ifndef NDN_COMMON_H
21 #define NDN_COMMON_H
22 
23 #include "ns3/nstime.h"
24 #include "ns3/simulator.h"
25 #include "ns3/attribute.h"
26 #include "ns3/attribute-helper.h"
27 
28 #include <ndn-cxx/interest.hpp>
29 #include <ndn-cxx/encoding/block.hpp>
30 #include <ndn-cxx/signature.hpp>
31 #include <ndn-cxx/signature-info.hpp>
32 #include <ndn-cxx/name.hpp>
33 #include <ndn-cxx/data.hpp>
34 #include <ndn-cxx/security/key-chain.hpp>
35 
36 #include <ndn-cxx/util/time.hpp>
37 
38 namespace nfd {
39 }
40 
41 namespace ns3 {
42 namespace ndn {
43 
45 namespace name = ::ndn::name;
46 
47 ATTRIBUTE_HELPER_HEADER(Name);
48 
49 namespace time {
50 using namespace ::ndn::time;
51 }
52 
54 
55 using std::shared_ptr;
56 using std::make_shared;
57 
61 using ::ndn::Signature;
63 using ::ndn::Block;
64 using ::ndn::KeyChain;
65 
66 #ifndef DOXYGEN
67 // For python bindings
68 namespace nfd = ::nfd;
69 #endif // DOXYGEN
70 
71 } // namespace ndn
72 } // namespace ns3
73 
74 #endif // NDN_COMMON_H
Copyright (c) 2011-2015 Regents of the University of California.
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.