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
+
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
p
q
r
s
t
u
v
w
+
Typedefs
a
b
c
d
e
f
h
i
k
l
n
o
p
q
r
s
t
u
v
+
Enumerations
a
b
c
d
f
i
k
l
n
p
q
r
s
t
u
+
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
~
+
Functions
a
b
c
d
e
f
g
h
i
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
l
m
n
o
p
r
s
t
u
v
w
Enumerations
+
Enumerator
a
c
d
e
i
k
l
m
n
p
r
s
u
w
+
Related Functions
b
c
d
e
f
g
i
k
l
m
n
o
p
s
v
+
Files
File List
+
File Members
+
All
a
c
d
e
f
g
h
i
k
l
m
n
p
r
s
t
u
v
w
+
Functions
c
f
h
m
r
s
u
w
+
Variables
a
c
d
f
g
i
k
l
m
n
p
r
s
t
Typedefs
+
Macros
d
e
f
i
l
m
n
p
r
s
u
v
▼
ndnSIM
ndnSIM documentation
All Attributes
All GlobalValues
All LogComponents
All TraceSources
Todo List
Deprecated List
▶
Modules
▶
Namespaces
▶
Classes
▼
Files
▶
File List
▶
File Members
•
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
nfdFace::Transport::Packet& 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:86
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:
content-store-impl.cpp:38
ns3::ndn::BlockHeader::getBlock
Block & getBlock()
Definition:
ndn-block-header.cpp:159
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
ndnSIM
model
ndn-block-header.hpp
Generated on Tue Aug 7 2018 16:19:16 for ndnSIM by
1.8.14