NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: 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
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
r
s
t
u
v
w
+
Typedefs
a
b
c
d
e
f
h
i
l
m
n
o
p
q
r
s
t
u
v
Enumerations
+
Enumerator
a
b
c
d
e
f
h
i
k
l
m
n
o
p
q
r
s
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
w
+
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
+
Enumerator
a
d
e
f
i
k
l
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
b
c
d
e
f
g
h
i
k
l
m
n
p
r
s
u
v
w
+
Functions
c
f
h
m
r
s
u
w
+
Variables
a
c
d
g
k
l
n
p
r
s
Typedefs
+
Macros
b
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
empty-policy.hpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
20
#ifndef EMPTY_POLICY_H_
21
#define EMPTY_POLICY_H_
22
24
25
namespace
ns3
{
26
namespace
ndn
{
27
namespace
ndnSIM
{
28
32
struct
empty_policy_traits {
34
static
std::string
35
GetName()
36
{
37
return
""
;
38
}
39
40
typedef
void
* policy_hook_type;
41
42
template
<
class
Container>
43
struct
container_hook {
44
typedef
void
* type;
45
};
46
47
template
<
class
Base,
class
Container,
class
Hook>
48
struct
policy {
49
struct
type {
50
inline
type(Base& base)
51
{
52
}
53
54
inline
void
update(
typename
Container::iterator
)
55
{
56
}
57
inline
bool
insert(
typename
Container::iterator
)
58
{
59
return
true
;
60
}
61
inline
void
62
lookup(
typename
Container::iterator
item)
63
{
64
}
65
inline
void
66
erase(
typename
Container::iterator
item)
67
{
68
}
69
inline
void
70
clear()
71
{
72
}
73
};
74
};
75
};
76
77
}
// ndnSIM
78
}
// ndn
79
}
// ns3
80
82
83
#endif // EMPTY_POLICY_H_
ndn
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-strategy-choice-helper.hpp:34
nfd::cs::iterator
Table::const_iterator iterator
Definition:
cs-internal.hpp:41
ns3
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
content-store-impl.cpp:38
ndnSIM
ndnSIM
utils
trie
empty-policy.hpp
Generated on Wed Jan 11 2017 18:17:16 for ndnSIM by
1.8.13