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-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 
53 using ::ndn::Exclude;
54 
55 using std::shared_ptr;
56 using std::make_shared;
57 
58 using ::ndn::Interest;
59 using ::ndn::Data;
60 using ::ndn::KeyLocator;
61 using ::ndn::Signature;
62 using ::ndn::SignatureInfo;
63 using ::ndn::Block;
64 using ::ndn::KeyChain;
65 
66 namespace nfd = ::nfd;
67 
68 } // namespace ndn
69 } // namespace ns3
70 
71 #endif // NDN_COMMON_H