NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
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
44
using ::ndn::Name
;
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
#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
ndn
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-strategy-choice-helper.hpp:34
ndn::tlv::SignatureInfo
Definition:
tlv.hpp:79
ndn::time
Definition:
time-custom-clock.hpp:28
nfd
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-common.hpp:38
ns3::ndn::Name
Name
Definition:
ndn-common.cpp:25
ndn::tlv::Exclude
Definition:
tlv.hpp:73
ns3
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
content-store-impl.cpp:38
ndn::tlv::KeyLocator
Definition:
tlv.hpp:85
ndn::tlv::Data
Definition:
tlv.hpp:62
ndn::tlv::Interest
Definition:
tlv.hpp:61
ndn::name
Definition:
name-component.cpp:37
ndnSIM
model
ndn-common.hpp
Generated on Tue Feb 23 2016 22:18:43 for ndnSIM by
1.8.11