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
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
route-flags-traits.hpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
22
#ifndef NDN_MGMT_NFD_RIB_FLAGS_HPP
23
#define NDN_MGMT_NFD_RIB_FLAGS_HPP
24
25
#include "../../encoding/nfd-constants.hpp"
26
27
namespace
ndn
{
28
namespace
nfd
{
29
37
template
<
typename
T>
38
class
RouteFlagsTraits
39
{
40
public
:
41
bool
42
isChildInherit
()
const
43
{
44
return
static_cast<
const
T*
>
(
this
)->getFlags() &
ROUTE_FLAG_CHILD_INHERIT
;
45
}
46
47
bool
48
isRibCapture
()
const
49
{
50
return
static_cast<
const
T*
>
(
this
)->getFlags() &
ROUTE_FLAG_CAPTURE
;
51
}
52
53
protected
:
54
RouteFlagsTraits
() =
default
;
55
};
56
57
}
// namespace nfd
58
}
// namespace ndn
59
60
#endif // NDN_MGMT_NFD_RIB_FLAGS_HPP
ndn::nfd::ROUTE_FLAG_CHILD_INHERIT
Definition:
nfd-constants.hpp:125
ndn
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-strategy-choice-helper.hpp:34
ndn::nfd::RouteFlagsTraits::RouteFlagsTraits
RouteFlagsTraits()=default
ndn::nfd::RouteFlagsTraits
defines getters for each route inheritance flag
Definition:
route-flags-traits.hpp:38
ndn::nfd::RouteFlagsTraits::isRibCapture
bool isRibCapture() const
Definition:
route-flags-traits.hpp:48
nfd
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-common.hpp:40
ndn::nfd::ROUTE_FLAG_CAPTURE
Definition:
nfd-constants.hpp:126
ndn::nfd::RouteFlagsTraits::isChildInherit
bool isChildInherit() const
Definition:
route-flags-traits.hpp:42
ndnSIM
ndn-cxx
src
mgmt
nfd
route-flags-traits.hpp
Generated on Tue Aug 7 2018 16:19:16 for ndnSIM by
1.8.14