NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
+
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
+
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
+
Enumerations
a
b
c
d
f
i
k
l
n
p
q
r
s
t
u
v
+
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
~
+
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
~
+
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
+
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
+
Enumerations
_
a
c
e
r
s
t
v
+
Enumerator
a
c
d
e
f
h
i
l
m
n
p
r
s
u
v
w
+
Related Functions
a
b
c
d
e
f
g
i
k
l
m
n
o
p
s
v
+
Files
File List
+
File Members
+
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
+
Functions
b
c
d
e
f
g
h
m
o
p
r
s
t
u
v
w
+
Variables
a
b
c
d
e
f
g
i
k
l
m
n
p
r
s
t
+
Typedefs
b
c
d
e
i
m
p
s
u
w
Enumerations
Enumerator
+
Macros
_
a
b
d
e
i
l
m
n
o
p
r
s
t
u
v
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
ndn-block-header.hpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
20
#ifndef NDNSIM_NDN_BLOCK_HEADER_HPP
21
#define NDNSIM_NDN_BLOCK_HEADER_HPP
22
23
#include "ns3/header.h"
24
25
#include "
ndn-common.hpp
"
26
27
namespace
nfdFace
=
nfd::face
;
28
29
namespace
ns3
{
30
namespace
ndn
{
31
32
class
BlockHeader
:
public
Header
{
33
public
:
34
static
ns3::TypeId
35
GetTypeId
();
36
37
virtual
TypeId
38
GetInstanceTypeId
(
void
)
const
;
39
40
BlockHeader
();
41
42
BlockHeader
(
const
Block& packet);
43
44
virtual
uint32_t
45
GetSerializedSize
(
void
)
const
;
46
47
virtual
void
48
Serialize
(ns3::Buffer::Iterator start)
const
;
49
50
virtual
uint32_t
51
Deserialize
(ns3::Buffer::Iterator start);
52
53
virtual
void
54
Print
(std::ostream& os)
const
;
55
56
Block&
57
getBlock
();
58
59
const
Block&
60
getBlock
()
const
;
61
62
private
:
63
Block m_block;
64
};
65
66
}
// namespace ndn
67
}
// namespace ns3
68
69
#endif // NDNSIM_NDN_BLOCK_HEADER_HPP
ns3::ndn::BlockHeader::GetSerializedSize
virtual uint32_t GetSerializedSize(void) const
Definition:
ndn-block-header.cpp:65
ndn
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-strategy-choice-helper.hpp:34
ns3::ndn::BlockHeader::Deserialize
virtual uint32_t Deserialize(ns3::Buffer::Iterator start)
Definition:
ndn-block-header.cpp:103
ns3::ndn::BlockHeader::Serialize
virtual void Serialize(ns3::Buffer::Iterator start) const
Definition:
ndn-block-header.cpp:71
ns3::ndn::BlockHeader::BlockHeader
BlockHeader()
Definition:
ndn-block-header.cpp:55
ns3::ndn::BlockHeader::Print
virtual void Print(std::ostream &os) const
Definition:
ndn-block-header.cpp:111
nfd::face
Definition:
ndn-common.hpp:82
ns3::ndn::BlockHeader::GetInstanceTypeId
virtual TypeId GetInstanceTypeId(void) const
Definition:
ndn-block-header.cpp:50
ns3
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-app-link-service.cpp:32
ns3::ndn::BlockHeader::getBlock
Block & getBlock()
Definition:
ndn-block-header.cpp:164
ns3::ndn::BlockHeader
Definition:
ndn-block-header.hpp:32
ns3::ndn::BlockHeader::GetTypeId
static ns3::TypeId GetTypeId()
Definition:
ndn-block-header.cpp:38
ndn-common.hpp
ns3::Header
ndnSIM
model
ndn-block-header.hpp
Generated on Fri May 6 2022 12:34:10 for ndnSIM by
1.8.13