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
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
l
m
n
o
p
r
s
t
u
v
w
+
Enumerations
_
a
c
e
i
r
s
t
v
+
Enumerator
a
c
d
e
f
i
k
l
m
n
p
r
s
u
v
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
o
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
a
d
e
f
i
l
m
n
o
p
r
s
u
v
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
rib-update-batch.cpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
26
#include "
rib-update-batch.hpp
"
27
28
namespace
nfd
{
29
namespace
rib {
30
31
RibUpdateBatch::RibUpdateBatch
(uint64_t faceId)
32
: m_faceId(faceId)
33
{
34
}
35
36
void
37
RibUpdateBatch::add
(
const
RibUpdate
& update)
38
{
39
BOOST_ASSERT(m_faceId == update.
getRoute
().
faceId
);
40
41
m_updates.push_back(update);
42
}
43
44
RibUpdateBatch::const_iterator
45
RibUpdateBatch::begin
()
const
46
{
47
return
m_updates.begin();
48
}
49
50
RibUpdateBatch::const_iterator
51
RibUpdateBatch::end
()
const
52
{
53
return
m_updates.end();
54
}
55
56
size_t
57
RibUpdateBatch::size
()
const
58
{
59
return
m_updates.size();
60
}
61
62
}
// namespace rib
63
}
// namespace nfd
rib-update-batch.hpp
nfd::rib::RibUpdate::getRoute
const Route & getRoute() const
Definition:
rib-update.hpp:114
nfd::rib::RibUpdateBatch::add
void add(const RibUpdate &update)
Definition:
rib-update-batch.cpp:37
nfd::rib::Route::faceId
uint64_t faceId
Definition:
route.hpp:81
nfd::rib::RibUpdate
RibUpdate.
Definition:
rib-update.hpp:40
nfd
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-common.hpp:40
nfd::rib::RibUpdateBatch::end
const_iterator end() const
Definition:
rib-update-batch.cpp:51
nfd::rib::RibUpdateBatch::RibUpdateBatch
RibUpdateBatch(uint64_t faceId)
Definition:
rib-update-batch.cpp:31
nfd::rib::RibUpdateBatch::const_iterator
RibUpdateList::const_iterator const_iterator
Definition:
rib-update-batch.hpp:43
nfd::rib::RibUpdateBatch::begin
const_iterator begin() const
Definition:
rib-update-batch.cpp:45
nfd::rib::RibUpdateBatch::size
size_t size() const
Definition:
rib-update-batch.cpp:57
ndnSIM
NFD
rib
rib-update-batch.cpp
Generated on Sun Feb 24 2019 22:16:07 for ndnSIM by
1.8.15